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: translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 105.4 kB / 16.4 MB, free: 6.461 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.001217/0.001217, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7117/0.7117, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 73.62 kB / 0.5577 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1668, allocations: 76.17 MB / 0.6321 GB, free: 4.496 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.00257/0.1694, allocations: 1.427 MB / 0.6335 GB, free: 3.059 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007943/0.1703, allocations: 475.8 kB / 0.6339 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-05/0.1703, allocations: 4 kB / 0.6339 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.1704, allocations: 0 / 0.6339 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.048e-05/0.1704, allocations: 11.88 kB / 0.6339 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.1707, allocations: 15.92 kB / 0.634 GB, free: 2.555 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.052e-05/0.1707, allocations: 31.91 kB / 0.634 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1709, allocations: 7.984 kB / 0.634 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.339e-05/0.1709, allocations: 8 kB / 0.634 GB, free: 2.508 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.177e-05/0.171, allocations: 11.92 kB / 0.634 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.171, allocations: 4 kB / 0.634 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.457e-05/0.1711, allocations: 23.92 kB / 0.634 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.1711, allocations: 8 kB / 0.634 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.1711, allocations: 7.922 kB / 0.634 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.1712, allocations: 39.89 kB / 0.6341 GB, free: 2.414 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1712, allocations: 0 / 0.6341 GB, free: 2.414 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1712, allocations: 0 / 0.6341 GB, free: 2.414 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1713, allocations: 0 / 0.6341 GB, free: 2.414 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.0004564/0.1717, allocations: 339.4 kB / 0.6344 GB, free: 2.035 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1718, allocations: 12.03 kB / 0.6344 GB, free: 2.023 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.1718, allocations: 4.938 kB / 0.6344 GB, free: 2.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1719, allocations: 172.3 kB / 0.6346 GB, free: 1.812 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.172, allocations: 384 / 0.6346 GB, free: 1.812 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.172, allocations: 4.375 kB / 0.6346 GB, free: 1.809 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1721, allocations: 53.92 kB / 0.6346 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1722, allocations: 3.984 kB / 0.6347 GB, free: 1.746 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1722, allocations: 4 kB / 0.6347 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1722, allocations: 0 / 0.6347 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.1724, allocations: 35.97 kB / 0.6347 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.1727, allocations: 248.9 kB / 0.6349 GB, free: 1.414 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.1729, allocations: 34.56 kB / 0.635 GB, free: 1.371 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.563e-05/0.173, allocations: 28.84 kB / 0.635 GB, free: 1.34 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.1731, allocations: 93.03 kB / 0.6351 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1731, allocations: 30.56 kB / 0.6351 GB, free: 1.191 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1731, allocations: 0 / 0.6351 GB, free: 1.191 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003587/0.1735, allocations: 81.64 kB / 0.6352 GB, free: 1.105 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.1735, allocations: 55.34 kB / 0.6352 GB, free: 1.039 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.039e-05/0.1736, allocations: 110 kB / 0.6353 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.1737, allocations: 25.7 kB / 0.6354 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.1737, allocations: 80.14 kB / 0.6354 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.1737, allocations: 7.844 kB / 0.6354 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.1738, allocations: 17.72 kB / 0.6355 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1739, allocations: 310.8 kB / 0.6358 GB, free: 476 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.418e-05/0.174, allocations: 19.97 kB / 0.6358 GB, free: 456 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.888e-05/0.1741, allocations: 23.92 kB / 0.6358 GB, free: 432 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.1742, allocations: 40.77 kB / 0.6358 GB, free: 388 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1742, allocations: 0 / 0.6358 GB, free: 388 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001822/0.1744, allocations: 65.91 kB / 0.6359 GB, free: 316 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1744, allocations: 9.406 kB / 0.6359 GB, free: 308 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.1745, allocations: 96 / 0.6359 GB, free: 308 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.1745, allocations: 8 kB / 0.6359 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1746, allocations: 7.984 kB / 0.6359 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1746, allocations: 4 kB / 0.6359 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.1747, allocations: 0 / 0.6359 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1747, allocations: 7.984 kB / 0.6359 GB, free: 280 kB / 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 8.354e-05/0.1748, allocations: 113.7 kB / 0.6361 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.1748, allocations: 7.906 kB / 0.6361 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.175, allocations: 72.78 kB / 0.6361 GB, free: 68 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.175, allocations: 0 / 0.6361 GB, free: 68 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.175, allocations: 0 / 0.6361 GB, free: 68 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.175, allocations: 0 / 0.6361 GB, free: 68 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.1752, allocations: 169.6 kB / 0.6363 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1752, allocations: 0 / 0.6363 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.1753, allocations: 4 kB / 0.6363 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1753, allocations: 0 / 0.6363 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1753, allocations: 7.984 kB / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1753, allocations: 7.969 kB / 0.6363 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1753, allocations: 0 / 0.6363 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.1756, allocations: 167.4 kB / 0.6365 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/0.1756, allocations: 77.11 kB / 0.6365 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.1756, allocations: 0 / 0.6365 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.668e-05/0.1757, allocations: 8.031 kB / 0.6365 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.1758, allocations: 3.984 kB / 0.6366 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.1758, allocations: 4 kB / 0.6366 GB, free: 15.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.384e-05/0.1758, allocations: 83.28 kB / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1758, allocations: 0 / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.1761, allocations: 4 kB / 0.6366 GB, free: 15.46 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.0001551/0.1762, allocations: 103.2 kB / 0.6367 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.1764, allocations: 43.84 kB / 0.6368 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1764, allocations: 0 / 0.6368 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.026e-05/0.1765, allocations: 19.98 kB / 0.6368 GB, free: 15.28 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.1768, allocations: 12.11 kB / 0.6368 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.1771, allocations: 109.5 kB / 0.6369 GB, free: 15.13 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.1774, allocations: 0.673 MB / 0.6376 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.569e-05/0.1774, allocations: 11.98 kB / 0.6376 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.1774, allocations: 11.44 kB / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1774, allocations: 0 / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of Templates: time 0.002846/0.1803, allocations: 0.5539 MB / 0.6381 GB, free: 13.86 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)