Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00896/0.00896, allocations: 99.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 192.5 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8736/0.8736, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.25 kB / 0.5951 GB, free: 12.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.163, allocations: 82.02 MB / 0.6752 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00242/0.1655, allocations: 0.6062 MB / 0.6758 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004734/0.166, allocations: 159.8 kB / 0.676 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.1661, allocations: 0 / 0.676 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.1661, allocations: 0 / 0.676 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.283e-05/0.1661, allocations: 0 / 0.676 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.1665, allocations: 47.83 kB / 0.676 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.339e-05/0.1666, allocations: 15.92 kB / 0.676 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.1666, allocations: 4 kB / 0.676 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.354e-05/0.1667, allocations: 11.94 kB / 0.676 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.457e-05/0.1668, allocations: 11.97 kB / 0.676 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1668, allocations: 0 / 0.676 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.1669, allocations: 31.97 kB / 0.6761 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.1669, allocations: 7.938 kB / 0.6761 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.167, allocations: 7.984 kB / 0.6761 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.1671, allocations: 32.11 kB / 0.6761 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1671, allocations: 0 / 0.6761 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.384e-06/0.1671, allocations: 0 / 0.6761 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.1671, allocations: 4 kB / 0.6761 GB, free: 9.871 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005347/0.1677, allocations: 331.5 kB / 0.6764 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/0.1677, allocations: 12.03 kB / 0.6764 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.741e-05/0.1678, allocations: 38.73 kB / 0.6765 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.1679, allocations: 0.9375 kB / 0.6765 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.168, allocations: 164.3 kB / 0.6766 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.168, allocations: 4.375 kB / 0.6766 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.1681, allocations: 384 / 0.6766 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1682, allocations: 46.19 kB / 0.6767 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1682, allocations: 7.938 kB / 0.6767 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1682, allocations: 4 kB / 0.6767 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1683, allocations: 4 kB / 0.6767 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.294e-05/0.1683, allocations: 15.97 kB / 0.6767 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002199/0.1685, allocations: 161.7 kB / 0.6769 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.1687, allocations: 42.56 kB / 0.6769 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.1687, allocations: 20.92 kB / 0.6769 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.1688, allocations: 89.09 kB / 0.677 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.1689, allocations: 34.5 kB / 0.6771 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1689, allocations: 0 / 0.6771 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.001369/0.1703, allocations: 492 kB / 0.6775 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.1703, allocations: 51.41 kB / 0.6776 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.37e-05/0.1704, allocations: 93.84 kB / 0.6777 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1704, allocations: 29.83 kB / 0.6777 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.1704, allocations: 84.14 kB / 0.6778 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.1705, allocations: 23.75 kB / 0.6778 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.1705, allocations: 25.7 kB / 0.6778 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1707, allocations: 318.8 kB / 0.6781 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.324e-05/0.1707, allocations: 15.98 kB / 0.6781 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.296e-05/0.1707, allocations: 11.94 kB / 0.6781 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.429e-05/0.1708, allocations: 36.84 kB / 0.6782 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1708, allocations: 0 / 0.6782 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001093/0.1709, allocations: 73.62 kB / 0.6783 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1709, allocations: 11.98 kB / 0.6783 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.171, allocations: 0 / 0.6783 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.171, allocations: 448 / 0.6783 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.1711, allocations: 15.94 kB / 0.6783 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1711, allocations: 0 / 0.6783 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/0.1711, allocations: 4 kB / 0.6783 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.1711, allocations: 4 kB / 0.6783 GB, free: 7.328 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.625e-05/0.1712, allocations: 113.8 kB / 0.6784 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.1712, allocations: 15.89 kB / 0.6784 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.1714, allocations: 81.94 kB / 0.6785 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1714, allocations: 4 kB / 0.6785 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1714, allocations: 0 / 0.6785 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1714, allocations: 0 / 0.6785 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.1716, allocations: 161.7 kB / 0.6786 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1716, allocations: 0 / 0.6786 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.357e-05/0.1717, allocations: 23.86 kB / 0.6787 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1717, allocations: 0 / 0.6787 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1717, allocations: 8 kB / 0.6787 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.1717, allocations: 0 / 0.6787 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1717, allocations: 3.938 kB / 0.6787 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.1719, allocations: 109.1 kB / 0.6788 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.172, allocations: 85 kB / 0.6789 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.172, allocations: 4 kB / 0.6789 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.686e-05/0.172, allocations: 4.031 kB / 0.6789 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.1721, allocations: 7.922 kB / 0.6789 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.1721, allocations: 8.062 kB / 0.6789 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.851e-05/0.1721, allocations: 75.28 kB / 0.679 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1721, allocations: 0 / 0.679 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002253/0.1724, allocations: 35.92 kB / 0.679 GB, free: 6.5 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005647/0.1729, allocations: 0.6789 MB / 0.6797 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.1731, allocations: 47.84 kB / 0.6797 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1731, allocations: 0 / 0.6797 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.139e-05/0.1731, allocations: 20 kB / 0.6797 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.1733, allocations: 8 kB / 0.6797 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.1745, allocations: 1.192 MB / 0.6809 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1748, allocations: 0.6807 MB / 0.6816 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.1748, allocations: 8.625 kB / 0.6816 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.1749, allocations: 15.44 kB / 0.6816 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of SimCode: time 7.31e-07/0.1749, allocations: 0 / 0.6816 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.1949, allocations: 1.833 MB / 0.6834 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.476/7.671, allocations: 9.688 kB / 0.6834 GB, free: 2.055 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)