Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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: translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 109 kB / 16.4 MB, free: 6.336 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.001171/0.001171, allocations: 189 kB / 17.33 MB, free: 5.816 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7951/0.7951, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 65.31 kB / 0.5685 GB, free: 28.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1638, allocations: 77.94 MB / 0.6446 GB, free: 8.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001492/0.1654, allocations: 0.5713 MB / 0.6452 GB, free: 8.426 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1666, allocations: 1.104 MB / 0.6462 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.402e-05/0.1666, allocations: 0 / 0.6462 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.15e-05/0.1666, allocations: 3.938 kB / 0.6462 GB, free: 7.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.1668, allocations: 19.92 kB / 0.6463 GB, free: 7.281 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.216e-06/0.1669, allocations: 0 / 0.6463 GB, free: 7.281 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.863e-05/0.1669, allocations: 11.92 kB / 0.6463 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.1669, allocations: 4 kB / 0.6463 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.114e-05/0.167, allocations: 0 / 0.6463 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.13e-05/0.167, allocations: 3.984 kB / 0.6463 GB, free: 7.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.003e-06/0.167, allocations: 4 kB / 0.6463 GB, free: 7.258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.973e-05/0.1671, allocations: 23.92 kB / 0.6463 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.351e-06/0.1671, allocations: 0 / 0.6463 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.762e-05/0.1671, allocations: 7.922 kB / 0.6463 GB, free: 7.227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.208e-05/0.1672, allocations: 11.92 kB / 0.6463 GB, free: 7.215 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1672, allocations: 0 / 0.6463 GB, free: 7.215 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1672, allocations: 0 / 0.6463 GB, free: 7.215 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.1672, allocations: 4 kB / 0.6463 GB, free: 7.211 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.0002442/0.1675, allocations: 325.4 kB / 0.6466 GB, free: 6.848 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.1675, allocations: 8.625 kB / 0.6466 GB, free: 6.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.1676, allocations: 0.9375 kB / 0.6466 GB, free: 6.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.916e-05/0.1676, allocations: 164.3 kB / 0.6468 GB, free: 6.641 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1677, allocations: 4.375 kB / 0.6468 GB, free: 6.637 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.1677, allocations: 4.328 kB / 0.6468 GB, free: 6.633 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.434e-05/0.1678, allocations: 42 kB / 0.6469 GB, free: 6.586 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1678, allocations: 0 / 0.6469 GB, free: 6.586 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.1678, allocations: 0 / 0.6469 GB, free: 6.586 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1678, allocations: 4 kB / 0.6469 GB, free: 6.582 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.622e-05/0.1679, allocations: 11.98 kB / 0.6469 GB, free: 6.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.168, allocations: 157.6 kB / 0.647 GB, free: 6.367 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.1681, allocations: 38.55 kB / 0.6471 GB, free: 6.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.1682, allocations: 8.859 kB / 0.6471 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.1683, allocations: 81.11 kB / 0.6471 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1683, allocations: 38.59 kB / 0.6472 GB, free: 6.164 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1683, allocations: 3.938 kB / 0.6472 GB, free: 6.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.004005/0.1723, allocations: 0.5638 MB / 0.6477 GB, free: 5.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.1724, allocations: 55.39 kB / 0.6478 GB, free: 5.523 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.832e-05/0.1724, allocations: 89.86 kB / 0.6479 GB, free: 5.426 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.1724, allocations: 33.7 kB / 0.6479 GB, free: 5.387 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.146e-05/0.1725, allocations: 80.14 kB / 0.648 GB, free: 5.305 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.1725, allocations: 15.86 kB / 0.648 GB, free: 5.289 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.1726, allocations: 21.7 kB / 0.648 GB, free: 5.262 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1727, allocations: 314.8 kB / 0.6483 GB, free: 4.945 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005762/0.1733, allocations: 83.95 kB / 0.6484 GB, free: 4.863 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/0.1739, allocations: 102.5 kB / 0.6485 GB, free: 4.754 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.175, allocations: 194.5 kB / 0.6487 GB, free: 4.555 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.175, allocations: 0 / 0.6487 GB, free: 4.555 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001223/0.1762, allocations: 217.5 kB / 0.6489 GB, free: 4.336 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1763, allocations: 4 kB / 0.6489 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1763, allocations: 4 kB / 0.6489 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1763, allocations: 0 / 0.6489 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.1767, allocations: 55.94 kB / 0.6489 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1767, allocations: 4 kB / 0.649 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.177, allocations: 35.98 kB / 0.649 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.1771, allocations: 7.984 kB / 0.649 GB, free: 4.227 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.663e-05/0.1771, allocations: 114.7 kB / 0.6491 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.1772, allocations: 7.875 kB / 0.6491 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.1785, allocations: 237.1 kB / 0.6493 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1785, allocations: 0 / 0.6493 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.1785, allocations: 4 kB / 0.6493 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1785, allocations: 0 / 0.6493 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.1799, allocations: 458.6 kB / 0.6498 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.18, allocations: 4.062 kB / 0.6498 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003697/0.1803, allocations: 47.97 kB / 0.6498 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1803, allocations: 0 / 0.6498 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1804, allocations: 4 kB / 0.6498 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1804, allocations: 7.984 kB / 0.6498 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1804, allocations: 0 / 0.6498 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.1816, allocations: 303.3 kB / 0.6501 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.1817, allocations: 85.09 kB / 0.6502 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.1817, allocations: 7.938 kB / 0.6502 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.1821, allocations: 35.98 kB / 0.6503 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.1821, allocations: 4 kB / 0.6503 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.1821, allocations: 3.984 kB / 0.6503 GB, free: 2.824 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.763e-05/0.1821, allocations: 79.28 kB / 0.6503 GB, free: 2.746 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1821, allocations: 0 / 0.6503 GB, free: 2.746 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.1824, allocations: 12 kB / 0.6503 GB, free: 2.734 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 (5): * Single equations (assignments): 5 * 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.0001602/0.1826, allocations: 103.2 kB / 0.6504 GB, free: 2.621 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.1838, allocations: 183.8 kB / 0.6506 GB, free: 2.441 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1838, allocations: 8.188 kB / 0.6506 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005663/0.1844, allocations: 83.95 kB / 0.6507 GB, free: 2.352 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.1846, allocations: 4 kB / 0.6507 GB, free: 2.348 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.1858, allocations: 221.9 kB / 0.6509 GB, free: 2.105 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.186, allocations: 0.6768 MB / 0.6516 GB, free: 1.402 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001824/0.1862, allocations: 28 kB / 0.6516 GB, free: 1.375 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/0.1863, allocations: 11.44 kB / 0.6516 GB, free: 1.363 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1863, allocations: 0 / 0.6516 GB, free: 1.363 MB / 494.1 MB Notification: Performance of Templates: time 0.003058/0.1894, allocations: 0.8121 MB / 0.6524 GB, free: 0.5547 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)