Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 220.1 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002475/0.002475, allocations: 284.6 kB / 313.5 MB, free: 2.797 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.22/1.22, allocations: 180.6 MB / 0.5377 GB, free: 13 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 108.5 kB / 0.7408 GB, free: 27.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1622, allocations: 95.38 MB / 0.834 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.002626/0.1648, allocations: 1.475 MB / 0.8354 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000855/0.1656, allocations: 0.5051 MB / 0.8359 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.147e-05/0.1657, allocations: 4 kB / 0.8359 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.1657, allocations: 3.984 kB / 0.8359 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.791e-05/0.1658, allocations: 7.938 kB / 0.8359 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.1659, allocations: 19.92 kB / 0.8359 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.664e-05/0.166, allocations: 27.91 kB / 0.836 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.788e-05/0.1661, allocations: 4 kB / 0.836 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.259e-05/0.1661, allocations: 12 kB / 0.836 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.428e-05/0.1662, allocations: 11.92 kB / 0.836 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.1662, allocations: 4 kB / 0.836 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.708e-05/0.1663, allocations: 19.92 kB / 0.836 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.1663, allocations: 11.98 kB / 0.836 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.1663, allocations: 15.86 kB / 0.836 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.1664, allocations: 31.84 kB / 0.8361 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1664, allocations: 4 kB / 0.8361 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1664, allocations: 0 / 0.8361 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.1664, allocations: 0 / 0.8361 GB, free: 5.922 MB / 0.5762 GB 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.0004056/0.1668, allocations: 262.3 kB / 0.8363 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1669, allocations: 13.34 kB / 0.8363 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.1669, allocations: 0.9375 kB / 0.8363 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.167, allocations: 114.5 kB / 0.8364 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.167, allocations: 384 / 0.8364 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.167, allocations: 384 / 0.8364 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1672, allocations: 61.86 kB / 0.8365 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1672, allocations: 0 / 0.8365 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1672, allocations: 3.984 kB / 0.8365 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1672, allocations: 0 / 0.8365 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.1674, allocations: 35.97 kB / 0.8365 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.1677, allocations: 227.9 kB / 0.8368 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.1678, allocations: 38.62 kB / 0.8368 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.787e-05/0.1679, allocations: 16.84 kB / 0.8368 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.673e-05/0.168, allocations: 15.92 kB / 0.8368 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.168, allocations: 34.56 kB / 0.8369 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.168, allocations: 0 / 0.8369 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003393/0.1683, allocations: 81.64 kB / 0.8369 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.1684, allocations: 51.41 kB / 0.837 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.037e-05/0.1685, allocations: 101.9 kB / 0.8371 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1685, allocations: 25.83 kB / 0.8371 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.1685, allocations: 88.12 kB / 0.8372 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.1686, allocations: 11.88 kB / 0.8372 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.1686, allocations: 17.72 kB / 0.8372 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1687, allocations: 310.8 kB / 0.8375 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.024e-05/0.1688, allocations: 23.97 kB / 0.8375 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.1689, allocations: 15.92 kB / 0.8375 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.169, allocations: 45.08 kB / 0.8376 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.169, allocations: 0 / 0.8376 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001824/0.1692, allocations: 69.66 kB / 0.8377 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1692, allocations: 4 kB / 0.8377 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1692, allocations: 0 / 0.8377 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1692, allocations: 0 / 0.8377 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.006e-05/0.1693, allocations: 20.02 kB / 0.8377 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1693, allocations: 0 / 0.8377 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.169e-05/0.1693, allocations: 4 kB / 0.8377 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.1693, allocations: 0 / 0.8377 GB, free: 4.078 MB / 0.5762 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 8.573e-05/0.1694, allocations: 122.3 kB / 0.8378 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.1695, allocations: 7.953 kB / 0.8378 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.1697, allocations: 72.97 kB / 0.8379 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1697, allocations: 0 / 0.8379 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1697, allocations: 7.938 kB / 0.8379 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.1697, allocations: 0 / 0.8379 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.1698, allocations: 132.7 kB / 0.838 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1698, allocations: 0 / 0.838 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.413e-05/0.1699, allocations: 8 kB / 0.838 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.1699, allocations: 0 / 0.838 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-06/0.1699, allocations: 0 / 0.838 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1699, allocations: 0 / 0.838 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1699, allocations: 4.016 kB / 0.838 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.1702, allocations: 167.4 kB / 0.8382 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.1702, allocations: 7.984 kB / 0.8382 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.1702, allocations: 0 / 0.8382 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.884e-05/0.1702, allocations: 4 kB / 0.8382 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.1703, allocations: 3.984 kB / 0.8382 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.1703, allocations: 4.031 kB / 0.8382 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.487e-05/0.1703, allocations: 83.28 kB / 0.8383 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1703, allocations: 0 / 0.8383 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002105/0.1705, allocations: 8 kB / 0.8383 GB, free: 3.379 MB / 0.5762 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.0001284/0.1707, allocations: 103.2 kB / 0.8384 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.1709, allocations: 35.91 kB / 0.8384 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1709, allocations: 4.062 kB / 0.8384 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.936e-05/0.1709, allocations: 19.98 kB / 0.8384 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.1712, allocations: 11.92 kB / 0.8385 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.1715, allocations: 131.4 kB / 0.8386 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.1718, allocations: 0.6729 MB / 0.8392 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.1718, allocations: 11.44 kB / 0.8393 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1718, allocations: 4.062 kB / 0.8393 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of Templates: time 0.002266/0.1741, allocations: 0.6608 MB / 0.8399 GB, free: 1.664 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.032946910941973] Failed to read output from testmodel.py, exit status != 0: 0.18134983303025365 0.19661856600000002 0.027257094000000003 Calling exit ...