Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential",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.001862/0.001862, allocations: 110.2 kB / 16.41 MB, free: 6.492 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.002127/0.002127, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9585/0.9585, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.61 kB / 0.5735 GB, free: 27.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1783, allocations: 78.86 MB / 0.6506 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.002748/0.1811, allocations: 1.438 MB / 0.652 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000528/0.1817, allocations: 194.1 kB / 0.6521 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.1817, allocations: 4 kB / 0.6521 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.1818, allocations: 3.938 kB / 0.6521 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.171e-05/0.1818, allocations: 3.938 kB / 0.6522 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.1821, allocations: 35.89 kB / 0.6522 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.1822, allocations: 19.92 kB / 0.6522 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.904e-05/0.1822, allocations: 8 kB / 0.6522 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.175e-05/0.1823, allocations: 15.92 kB / 0.6522 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.889e-05/0.1823, allocations: 11.98 kB / 0.6522 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1824, allocations: 0 / 0.6522 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.476e-05/0.1825, allocations: 35.97 kB / 0.6523 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.1825, allocations: 11.92 kB / 0.6523 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.1825, allocations: 7.938 kB / 0.6523 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.1826, allocations: 40.16 kB / 0.6523 GB, free: 1.746 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.1826, allocations: 0 / 0.6523 GB, free: 1.746 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1827, allocations: 3.938 kB / 0.6523 GB, free: 1.742 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1827, allocations: 0 / 0.6523 GB, free: 1.742 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005082/0.1832, allocations: 347.4 kB / 0.6527 GB, free: 1.352 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.1832, allocations: 12.03 kB / 0.6527 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.381e-05/0.1833, allocations: 30.75 kB / 0.6527 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.155e-05/0.1833, allocations: 0.9375 kB / 0.6527 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.1834, allocations: 172.3 kB / 0.6529 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1835, allocations: 384 / 0.6529 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.1835, allocations: 4.359 kB / 0.6529 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.1837, allocations: 50.19 kB / 0.6529 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1837, allocations: 7.938 kB / 0.6529 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.1837, allocations: 0 / 0.6529 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1837, allocations: 3.938 kB / 0.6529 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.1839, allocations: 35.95 kB / 0.653 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.1843, allocations: 252.9 kB / 0.6532 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.1845, allocations: 46.44 kB / 0.6533 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.086e-05/0.1846, allocations: 20.91 kB / 0.6533 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-05/0.1847, allocations: 81.09 kB / 0.6534 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1847, allocations: 38.56 kB / 0.6534 GB, free: 480 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1847, allocations: 0 / 0.6534 GB, free: 480 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003794/0.1851, allocations: 85.72 kB / 0.6535 GB, free: 388 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.1852, allocations: 51.41 kB / 0.6535 GB, free: 324 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.1853, allocations: 98.05 kB / 0.6536 GB, free: 216 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1853, allocations: 25.7 kB / 0.6536 GB, free: 184 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.482e-05/0.1854, allocations: 88.14 kB / 0.6537 GB, free: 92 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.1854, allocations: 7.938 kB / 0.6537 GB, free: 84 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.1854, allocations: 13.72 kB / 0.6537 GB, free: 64 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.1856, allocations: 318.8 kB / 0.654 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.635e-05/0.1857, allocations: 15.98 kB / 0.6541 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.956e-05/0.1858, allocations: 28.03 kB / 0.6541 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.186, allocations: 32.83 kB / 0.6541 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.186, allocations: 3.938 kB / 0.6541 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002088/0.1862, allocations: 73.67 kB / 0.6542 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1862, allocations: 8 kB / 0.6542 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1862, allocations: 3.938 kB / 0.6542 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1863, allocations: 0 / 0.6542 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.716e-05/0.1864, allocations: 7.984 kB / 0.6542 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1864, allocations: 3.938 kB / 0.6542 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.1864, allocations: 4 kB / 0.6542 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1864, allocations: 4 kB / 0.6542 GB, free: 15.55 MB / 0.4981 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 (2): * Single equations (assignments): 2 * 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 7.958e-05/0.1865, allocations: 117.8 kB / 0.6543 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.1865, allocations: 3.984 kB / 0.6543 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.1868, allocations: 72.78 kB / 0.6544 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1868, allocations: 0 / 0.6544 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1868, allocations: 0 / 0.6544 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1868, allocations: 0 / 0.6544 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.187, allocations: 157.6 kB / 0.6546 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.187, allocations: 8.031 kB / 0.6546 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.852e-05/0.1871, allocations: 7.984 kB / 0.6546 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1871, allocations: 0 / 0.6546 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.1871, allocations: 0 / 0.6546 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1871, allocations: 0 / 0.6546 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1871, allocations: 7.938 kB / 0.6546 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.1874, allocations: 171.4 kB / 0.6547 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.1874, allocations: 81.05 kB / 0.6548 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.1874, allocations: 3.984 kB / 0.6548 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.36e-05/0.1875, allocations: 4 kB / 0.6548 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.1876, allocations: 0 / 0.6548 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1876, allocations: 7.984 kB / 0.6548 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.886e-05/0.1876, allocations: 87.28 kB / 0.6549 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1876, allocations: 0 / 0.6549 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002285/0.1879, allocations: 11.94 kB / 0.6549 GB, free: 14.73 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0006964/0.1886, allocations: 0.7046 MB / 0.6556 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.1888, allocations: 39.98 kB / 0.6557 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1888, allocations: 0 / 0.6557 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.847e-05/0.1889, allocations: 19.98 kB / 0.6557 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.1892, allocations: 1.875 kB / 0.6557 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.1896, allocations: 143.2 kB / 0.6558 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.1901, allocations: 0.6806 MB / 0.6565 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.41e-05/0.1901, allocations: 8.125 kB / 0.6565 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.1902, allocations: 11.44 kB / 0.6565 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1902, allocations: 0 / 0.6565 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.2143, allocations: 1.44 MB / 0.6579 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/8.356, allocations: 4.594 kB / 0.6579 GB, free: 11.66 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)