Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",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.001048/0.001049, allocations: 104.8 kB / 16.4 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.001018/0.001018, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7577/0.7577, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 66 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1647, allocations: 76.18 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002414/0.1672, allocations: 1.428 MB / 0.633 GB, free: 3.461 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007345/0.168, allocations: 475.7 kB / 0.6334 GB, free: 2.988 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.168, allocations: 0 / 0.6334 GB, free: 2.988 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.1681, allocations: 3.938 kB / 0.6334 GB, free: 2.984 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.315e-05/0.1681, allocations: 7.938 kB / 0.6334 GB, free: 2.977 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.1684, allocations: 23.89 kB / 0.6335 GB, free: 2.953 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.492e-05/0.1684, allocations: 27.94 kB / 0.6335 GB, free: 2.926 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.667e-05/0.1685, allocations: 11.98 kB / 0.6335 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.889e-05/0.1686, allocations: 4 kB / 0.6335 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.802e-05/0.1686, allocations: 11.92 kB / 0.6335 GB, free: 2.898 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.1687, allocations: 4 kB / 0.6335 GB, free: 2.895 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.096e-05/0.1687, allocations: 23.91 kB / 0.6336 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.1688, allocations: 8 kB / 0.6336 GB, free: 2.863 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.1688, allocations: 11.92 kB / 0.6336 GB, free: 2.852 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.1689, allocations: 27.91 kB / 0.6336 GB, free: 2.824 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1689, allocations: 4 kB / 0.6336 GB, free: 2.82 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1689, allocations: 4 kB / 0.6336 GB, free: 2.816 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1689, allocations: 0 / 0.6336 GB, free: 2.816 MB / 478.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.0004477/0.1694, allocations: 338.3 kB / 0.6339 GB, free: 2.441 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1694, allocations: 12.03 kB / 0.6339 GB, free: 2.43 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.634e-05/0.1694, allocations: 34.75 kB / 0.634 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.04e-05/0.1695, allocations: 0.9375 kB / 0.634 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1696, allocations: 172.8 kB / 0.6341 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1696, allocations: 384 / 0.6341 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.1696, allocations: 384 / 0.6341 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1698, allocations: 61.73 kB / 0.6342 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1698, allocations: 0 / 0.6342 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1698, allocations: 0 / 0.6342 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1698, allocations: 0 / 0.6342 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.17, allocations: 31.97 kB / 0.6342 GB, free: 2.082 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.1703, allocations: 256.8 kB / 0.6345 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.1704, allocations: 38.56 kB / 0.6345 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.549e-05/0.1705, allocations: 36.81 kB / 0.6345 GB, free: 1.695 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.1707, allocations: 81.11 kB / 0.6346 GB, free: 1.598 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.1707, allocations: 30.56 kB / 0.6347 GB, free: 1.559 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1707, allocations: 0 / 0.6347 GB, free: 1.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003083/0.171, allocations: 85.64 kB / 0.6347 GB, free: 1.469 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.171, allocations: 51.41 kB / 0.6348 GB, free: 1.406 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.1711, allocations: 106 kB / 0.6349 GB, free: 1.293 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.1711, allocations: 25.7 kB / 0.6349 GB, free: 1.262 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.1712, allocations: 80.42 kB / 0.635 GB, free: 1.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.1712, allocations: 15.78 kB / 0.635 GB, free: 1.164 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.1712, allocations: 17.84 kB / 0.635 GB, free: 1.141 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1714, allocations: 318.8 kB / 0.6353 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-05/0.1715, allocations: 23.92 kB / 0.6353 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.234e-05/0.1715, allocations: 16.05 kB / 0.6354 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1717, allocations: 40.89 kB / 0.6354 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1717, allocations: 4 kB / 0.6354 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001695/0.1719, allocations: 65.66 kB / 0.6355 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1719, allocations: 4 kB / 0.6355 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.1719, allocations: 0 / 0.6355 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1719, allocations: 0 / 0.6355 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.063e-05/0.172, allocations: 11.98 kB / 0.6355 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.172, allocations: 0 / 0.6355 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.941e-05/0.1721, allocations: 15.92 kB / 0.6355 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.1721, allocations: 3.938 kB / 0.6355 GB, free: 0.6289 MB / 478.1 MB 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 6.868e-05/0.1722, allocations: 114.4 kB / 0.6356 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.1722, allocations: 4 kB / 0.6356 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.1724, allocations: 64.78 kB / 0.6357 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1724, allocations: 0 / 0.6357 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1724, allocations: 4 kB / 0.6357 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1724, allocations: 4.031 kB / 0.6357 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.1726, allocations: 161.6 kB / 0.6358 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1726, allocations: 0 / 0.6358 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.1726, allocations: 7.984 kB / 0.6358 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1726, allocations: 7.938 kB / 0.6358 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.1727, allocations: 4 kB / 0.6359 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1727, allocations: 0 / 0.6359 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1727, allocations: 0 / 0.6359 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.1729, allocations: 167.4 kB / 0.636 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.1729, allocations: 77.11 kB / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.1729, allocations: 0 / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.24e-05/0.173, allocations: 11.98 kB / 0.6361 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.1731, allocations: 4 kB / 0.6361 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.1731, allocations: 0 / 0.6361 GB, free: 15.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.702e-05/0.1731, allocations: 83.28 kB / 0.6362 GB, free: 15.83 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1731, allocations: 4.031 kB / 0.6362 GB, free: 15.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.1733, allocations: 7.906 kB / 0.6362 GB, free: 15.82 MB / 494.1 MB 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.0004988/0.1738, allocations: 0.7045 MB / 0.6369 GB, free: 15.08 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.174, allocations: 36 kB / 0.6369 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1741, allocations: 4 kB / 0.6369 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.408e-05/0.1741, allocations: 19.91 kB / 0.6369 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.1744, allocations: 13.5 kB / 0.637 GB, free: 15.01 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.1749, allocations: 131.2 kB / 0.6371 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.1751, allocations: 0.6847 MB / 0.6377 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.222e-05/0.1751, allocations: 0 / 0.6377 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.1752, allocations: 7.438 kB / 0.6378 GB, free: 14.12 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1752, allocations: 0 / 0.6378 GB, free: 14.12 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.1928, allocations: 1.43 MB / 0.6391 GB, free: 12.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.519/7.712, allocations: 21.44 kB / 0.6392 GB, free: 12.75 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)