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.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.001313/0.001313, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.0014/0.0014, allocations: 164.2 kB / 23.76 MB, free: 4.195 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.418/1.418, allocations: 177.2 MB / 204.1 MB, free: 8.887 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9113/0.9113, allocations: 113.9 MB / 374.5 MB, free: 12.9 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: IBPSA 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.002221/0.002221, allocations: 77.75 kB / 0.555 GB, free: 2.719 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1567, allocations: 89.14 MB / 0.6421 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002863/0.1596, allocations: 1.451 MB / 0.6435 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008792/0.1605, allocations: 471 kB / 0.644 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.1605, allocations: 4 kB / 0.644 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.1605, allocations: 3.938 kB / 0.644 GB, free: 7.598 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.263e-05/0.1606, allocations: 0 / 0.644 GB, free: 7.598 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.1608, allocations: 23.92 kB / 0.644 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.313e-05/0.1608, allocations: 27.92 kB / 0.644 GB, free: 7.547 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.904e-05/0.1609, allocations: 3.984 kB / 0.644 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.712e-05/0.1609, allocations: 15.92 kB / 0.644 GB, free: 7.527 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.348e-05/0.161, allocations: 8 kB / 0.644 GB, free: 7.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.161, allocations: 7.938 kB / 0.6441 GB, free: 7.512 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.65e-05/0.161, allocations: 19.86 kB / 0.6441 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.1611, allocations: 8 kB / 0.6441 GB, free: 7.484 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.1611, allocations: 4 kB / 0.6441 GB, free: 7.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.1612, allocations: 39.81 kB / 0.6441 GB, free: 7.441 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1612, allocations: 0 / 0.6441 GB, free: 7.441 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1612, allocations: 0 / 0.6441 GB, free: 7.441 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.1612, allocations: 0 / 0.6441 GB, free: 7.441 MB / 0.545 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.0004164/0.1616, allocations: 268.3 kB / 0.6444 GB, free: 7.152 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.1616, allocations: 12.03 kB / 0.6444 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/0.1619, allocations: 12.92 kB / 0.6444 GB, free: 7.129 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.162, allocations: 106.5 kB / 0.6445 GB, free: 7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.162, allocations: 8.312 kB / 0.6445 GB, free: 6.992 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.162, allocations: 4.375 kB / 0.6445 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1622, allocations: 69.89 kB / 0.6446 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1622, allocations: 0 / 0.6446 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.1622, allocations: 0 / 0.6446 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1622, allocations: 0 / 0.6446 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.1624, allocations: 35.95 kB / 0.6446 GB, free: 6.879 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.1627, allocations: 200.6 kB / 0.6448 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.1629, allocations: 50.5 kB / 0.6449 GB, free: 6.594 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.475e-05/0.163, allocations: 28.84 kB / 0.6449 GB, free: 6.562 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.163, allocations: 3.984 kB / 0.6449 GB, free: 6.559 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.163, allocations: 30.56 kB / 0.6449 GB, free: 6.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.163, allocations: 0 / 0.6449 GB, free: 6.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000362/0.1634, allocations: 89.73 kB / 0.645 GB, free: 6.426 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.1634, allocations: 51.41 kB / 0.645 GB, free: 6.363 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/0.1635, allocations: 101.9 kB / 0.6451 GB, free: 6.254 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1635, allocations: 25.7 kB / 0.6452 GB, free: 6.223 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.1636, allocations: 88.12 kB / 0.6453 GB, free: 6.133 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.1636, allocations: 7.891 kB / 0.6453 GB, free: 6.125 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.1636, allocations: 13.72 kB / 0.6453 GB, free: 6.105 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1638, allocations: 314.8 kB / 0.6456 GB, free: 5.789 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-05/0.1639, allocations: 23.91 kB / 0.6456 GB, free: 5.766 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.213e-05/0.164, allocations: 20.02 kB / 0.6456 GB, free: 5.746 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.1641, allocations: 44.83 kB / 0.6457 GB, free: 5.699 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1641, allocations: 0 / 0.6457 GB, free: 5.699 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002143/0.1643, allocations: 73.55 kB / 0.6457 GB, free: 5.621 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1644, allocations: 5.406 kB / 0.6457 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.1644, allocations: 4 kB / 0.6457 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1644, allocations: 4.094 kB / 0.6457 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1645, allocations: 7.984 kB / 0.6457 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1645, allocations: 7.938 kB / 0.6458 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.36e-05/0.1646, allocations: 11.92 kB / 0.6458 GB, free: 5.582 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.1646, allocations: 0 / 0.6458 GB, free: 5.582 MB / 0.545 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.513e-05/0.1647, allocations: 113.8 kB / 0.6459 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.1647, allocations: 4 kB / 0.6459 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.1647, allocations: 7.25 kB / 0.6459 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.1647, allocations: 4 kB / 0.6459 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1647, allocations: 0 / 0.6459 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.1647, allocations: 0 / 0.6459 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.1649, allocations: 109.3 kB / 0.646 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1649, allocations: 3.938 kB / 0.646 GB, free: 5.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.972e-05/0.165, allocations: 11.98 kB / 0.646 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.165, allocations: 0 / 0.646 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.165, allocations: 0 / 0.646 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.165, allocations: 0 / 0.646 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.165, allocations: 0 / 0.646 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.1652, allocations: 175.7 kB / 0.6462 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-06/0.1652, allocations: 3.938 kB / 0.6462 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.1653, allocations: 11.92 kB / 0.6462 GB, free: 5.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1654, allocations: 4 kB / 0.6462 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.1654, allocations: 7.984 kB / 0.6462 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.1654, allocations: 0 / 0.6462 GB, free: 5.078 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.1654, allocations: 83.28 kB / 0.6463 GB, free: 4.996 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1654, allocations: 0 / 0.6463 GB, free: 4.996 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002204/0.1657, allocations: 4 kB / 0.6463 GB, free: 4.992 MB / 0.545 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 9.358e-05/0.1658, allocations: 95.28 kB / 0.6464 GB, free: 4.887 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.166, allocations: 39.95 kB / 0.6464 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.166, allocations: 0 / 0.6464 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.505e-05/0.1661, allocations: 19.98 kB / 0.6464 GB, free: 4.828 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.1663, allocations: 11.92 kB / 0.6464 GB, free: 4.816 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.1666, allocations: 121.5 kB / 0.6466 GB, free: 4.672 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.362e-05/0.1667, allocations: 59.34 kB / 0.6466 GB, free: 4.594 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.972e-05/0.1667, allocations: 7.984 kB / 0.6466 GB, free: 4.586 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.1668, allocations: 12.5 kB / 0.6466 GB, free: 4.574 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.1668, allocations: 0 / 0.6466 GB, free: 4.574 MB / 0.545 GB Notification: Performance of Templates: time 0.002769/0.1695, allocations: 0.5885 MB / 0.6472 GB, free: 4 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1531882339622825] Failed to read output from testmodel.py, exit status != 0: 0.17763298598583788 0.192001639 0.027776227 Calling exit ...