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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 186.5 kB / 22.23 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002382/0.002382, allocations: 289.6 kB / 306.6 MB, free: 8.336 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.149/1.149, allocations: 180.9 MB / 0.53 GB, free: 14.52 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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: Performance of FrontEnd - loaded program: time 0.002695/0.002695, allocations: 102 kB / 0.7308 GB, free: 38.8 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1534, allocations: 94.2 MB / 0.8228 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.002549/0.1559, allocations: 1.448 MB / 0.8243 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000751/0.1567, allocations: 469.3 kB / 0.8247 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.977e-05/0.1567, allocations: 3.938 kB / 0.8247 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.1567, allocations: 7.875 kB / 0.8247 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.88e-05/0.1568, allocations: 11.94 kB / 0.8247 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.1569, allocations: 15.98 kB / 0.8247 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.446e-05/0.157, allocations: 31.91 kB / 0.8248 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.487e-05/0.1571, allocations: 3.984 kB / 0.8248 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.44e-05/0.1571, allocations: 15.94 kB / 0.8248 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.352e-05/0.1572, allocations: 11.92 kB / 0.8248 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.1572, allocations: 8 kB / 0.8248 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.674e-05/0.1572, allocations: 15.98 kB / 0.8248 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.1573, allocations: 8 kB / 0.8248 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.1573, allocations: 11.92 kB / 0.8248 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.73e-05/0.1574, allocations: 31.83 kB / 0.8249 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1574, allocations: 4 kB / 0.8249 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1574, allocations: 0 / 0.8249 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1574, allocations: 0 / 0.8249 GB, free: 15.73 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.0004069/0.1578, allocations: 262.3 kB / 0.8251 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1578, allocations: 16.03 kB / 0.8251 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.1579, allocations: 4.891 kB / 0.8251 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.158, allocations: 118.5 kB / 0.8253 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.752e-06/0.158, allocations: 384 / 0.8253 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.158, allocations: 384 / 0.8253 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.1582, allocations: 57.97 kB / 0.8253 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.1582, allocations: 0 / 0.8253 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1582, allocations: 0 / 0.8253 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.1582, allocations: 0 / 0.8253 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.1584, allocations: 39.95 kB / 0.8254 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.1586, allocations: 219.9 kB / 0.8256 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.1588, allocations: 46.53 kB / 0.8256 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.812e-05/0.1589, allocations: 20.91 kB / 0.8256 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.712e-05/0.159, allocations: 8 kB / 0.8256 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.159, allocations: 34.55 kB / 0.8257 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.159, allocations: 0 / 0.8257 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.00035/0.1593, allocations: 85.55 kB / 0.8258 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.1594, allocations: 55.39 kB / 0.8258 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.133e-05/0.1594, allocations: 106 kB / 0.8259 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1595, allocations: 25.7 kB / 0.8259 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.1595, allocations: 80.14 kB / 0.826 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.1595, allocations: 19.86 kB / 0.826 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.1596, allocations: 13.72 kB / 0.826 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1597, allocations: 310.8 kB / 0.8263 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.964e-05/0.1598, allocations: 19.98 kB / 0.8264 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.57e-05/0.1599, allocations: 15.98 kB / 0.8264 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.16, allocations: 52.69 kB / 0.8264 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.16, allocations: 0 / 0.8264 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002001/0.1602, allocations: 69.59 kB / 0.8265 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.1602, allocations: 4 kB / 0.8265 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1602, allocations: 4.094 kB / 0.8265 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1602, allocations: 0 / 0.8265 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.1603, allocations: 8 kB / 0.8265 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1603, allocations: 3.984 kB / 0.8265 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.084e-05/0.1604, allocations: 4 kB / 0.8265 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.1604, allocations: 0 / 0.8265 GB, free: 13.87 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 9.895e-05/0.1605, allocations: 114.4 kB / 0.8266 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.1605, allocations: 4 kB / 0.8266 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.1608, allocations: 76.94 kB / 0.8267 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.1608, allocations: 4 kB / 0.8267 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1608, allocations: 0 / 0.8267 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1608, allocations: 0 / 0.8267 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.161, allocations: 132.6 kB / 0.8268 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.161, allocations: 0 / 0.8268 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.35e-05/0.1611, allocations: 15.98 kB / 0.8268 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1611, allocations: 4.188 kB / 0.8268 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1611, allocations: 4.031 kB / 0.8268 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1611, allocations: 4 kB / 0.8269 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1611, allocations: 0 / 0.8269 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.1614, allocations: 163.4 kB / 0.827 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-06/0.1614, allocations: 4 kB / 0.827 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.1614, allocations: 4 kB / 0.827 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.1615, allocations: 12.02 kB / 0.827 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.1615, allocations: 0 / 0.827 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.1615, allocations: 0 / 0.827 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.048e-05/0.1616, allocations: 83.27 kB / 0.8271 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1616, allocations: 0 / 0.8271 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002489/0.1618, allocations: 12 kB / 0.8271 GB, free: 13.17 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.0001716/0.162, allocations: 103.1 kB / 0.8272 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.1622, allocations: 39.95 kB / 0.8273 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1622, allocations: 0 / 0.8273 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.603e-05/0.1623, allocations: 15.98 kB / 0.8273 GB, free: 13 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.1626, allocations: 11.94 kB / 0.8273 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.1629, allocations: 109.6 kB / 0.8274 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.1632, allocations: 0.6846 MB / 0.8281 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.475e-05/0.1632, allocations: 4 kB / 0.8281 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.1632, allocations: 11.38 kB / 0.8281 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1632, allocations: 0 / 0.8281 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of Templates: time 0.002922/0.1662, allocations: 0.5784 MB / 0.8286 GB, free: 11.56 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: 5.597756573930383] Failed to read output from testmodel.py, exit status != 0: 0.17333901301026344 0.188676163 0.028351025000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5424be17b0>