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.001107/0.001107, allocations: 100.6 kB / 16.4 MB, free: 6.457 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.001182/0.001182, allocations: 196 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.365/1.365, 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.8383/0.8383, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.12 kB / 0.5577 GB, free: 32.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1559, allocations: 76.17 MB / 0.6321 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002783/0.1587, allocations: 1.444 MB / 0.6335 GB, free: 2.922 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007693/0.1595, allocations: 467.8 kB / 0.6339 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.1595, allocations: 4 kB / 0.6339 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.1596, allocations: 0 / 0.6339 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.56e-05/0.1597, allocations: 7.938 kB / 0.6339 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.1599, allocations: 31.84 kB / 0.634 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.699e-05/0.16, allocations: 19.92 kB / 0.634 GB, free: 2.395 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.857e-05/0.1601, allocations: 8 kB / 0.634 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.252e-05/0.1601, allocations: 11.98 kB / 0.634 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.909e-05/0.1602, allocations: 7.938 kB / 0.634 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.1602, allocations: 0 / 0.634 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.423e-05/0.1603, allocations: 27.92 kB / 0.634 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.239e-05/0.1603, allocations: 7.969 kB / 0.634 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.1604, allocations: 15.94 kB / 0.6341 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.1605, allocations: 31.91 kB / 0.6341 GB, free: 2.285 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1605, allocations: 0 / 0.6341 GB, free: 2.285 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1605, allocations: 0 / 0.6341 GB, free: 2.285 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1605, allocations: 0 / 0.6341 GB, free: 2.285 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.0004474/0.161, allocations: 347.4 kB / 0.6344 GB, free: 1.898 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.161, allocations: 8.031 kB / 0.6344 GB, free: 1.891 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.161, allocations: 0.9375 kB / 0.6344 GB, free: 1.891 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.1612, allocations: 168.3 kB / 0.6346 GB, free: 1.688 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1612, allocations: 4.375 kB / 0.6346 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.1612, allocations: 384 / 0.6346 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.1614, allocations: 53.98 kB / 0.6347 GB, free: 1.625 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1614, allocations: 3.938 kB / 0.6347 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1614, allocations: 0 / 0.6347 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.1614, allocations: 4 kB / 0.6347 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.1616, allocations: 31.95 kB / 0.6347 GB, free: 1.586 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.1619, allocations: 256.9 kB / 0.6349 GB, free: 1.285 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.1621, allocations: 42.55 kB / 0.635 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.692e-05/0.1622, allocations: 16.91 kB / 0.635 GB, free: 1.215 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.1623, allocations: 85.05 kB / 0.6351 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1624, allocations: 38.5 kB / 0.6351 GB, free: 1.066 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1624, allocations: 0 / 0.6351 GB, free: 1.066 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003512/0.1627, allocations: 81.64 kB / 0.6352 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.1628, allocations: 55.34 kB / 0.6352 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.145e-05/0.1628, allocations: 105.8 kB / 0.6353 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1629, allocations: 25.7 kB / 0.6354 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.1629, allocations: 88.27 kB / 0.6354 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.163, allocations: 11.84 kB / 0.6355 GB, free: 0.668 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.163, allocations: 13.7 kB / 0.6355 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1631, allocations: 314.8 kB / 0.6358 GB, free: 340 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/0.1632, allocations: 15.98 kB / 0.6358 GB, free: 324 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.341e-05/0.1633, allocations: 19.92 kB / 0.6358 GB, free: 304 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.1634, allocations: 48.81 kB / 0.6359 GB, free: 252 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1634, allocations: 0 / 0.6359 GB, free: 252 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001826/0.1636, allocations: 61.67 kB / 0.6359 GB, free: 184 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1637, allocations: 4 kB / 0.6359 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1637, allocations: 3.984 kB / 0.6359 GB, free: 176 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1637, allocations: 0 / 0.6359 GB, free: 176 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.836e-05/0.1638, allocations: 8.031 kB / 0.6359 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1638, allocations: 4 kB / 0.6359 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.1638, allocations: 7.984 kB / 0.6359 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.1639, allocations: 0 / 0.6359 GB, free: 156 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.072e-05/0.1639, allocations: 117.7 kB / 0.6361 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.164, allocations: 7.906 kB / 0.6361 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.1642, allocations: 68.86 kB / 0.6361 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1642, allocations: 16.25 kB / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1642, allocations: 0 / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1643, allocations: 4 kB / 0.6361 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.1645, allocations: 157.6 kB / 0.6363 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1645, allocations: 0 / 0.6363 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.787e-05/0.1645, allocations: 11.98 kB / 0.6363 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1645, allocations: 0 / 0.6363 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1646, allocations: 0 / 0.6363 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1646, allocations: 0 / 0.6363 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1646, allocations: 3.938 kB / 0.6363 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.1648, allocations: 171.4 kB / 0.6365 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.1648, allocations: 77.11 kB / 0.6365 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.1649, allocations: 4 kB / 0.6365 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.1649, allocations: 3.984 kB / 0.6366 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.165, allocations: 4 kB / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.165, allocations: 4.031 kB / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.338e-05/0.165, allocations: 87.27 kB / 0.6366 GB, free: 15.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1651, allocations: 0 / 0.6366 GB, free: 15.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.1653, allocations: 8 kB / 0.6367 GB, free: 15.32 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.0001334/0.1654, allocations: 95.25 kB / 0.6367 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.1656, allocations: 39.89 kB / 0.6368 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1656, allocations: 8 kB / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.112e-05/0.1657, allocations: 19.98 kB / 0.6368 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.166, allocations: 7.938 kB / 0.6368 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.1663, allocations: 105.5 kB / 0.6369 GB, free: 15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.1665, allocations: 0.6768 MB / 0.6376 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.318e-05/0.1665, allocations: 0 / 0.6376 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.1666, allocations: 15.5 kB / 0.6376 GB, free: 14.29 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1666, allocations: 0 / 0.6376 GB, free: 14.29 MB / 494.1 MB Notification: Performance of Templates: time 0.002703/0.1693, allocations: 0.5625 MB / 0.6381 GB, free: 13.74 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)