Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.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.001438/0.001438, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001526/0.001526, allocations: 191.2 kB / 22.23 MB, free: 5.133 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.34/1.34, allocations: 225.6 MB / 251 MB, free: 13.05 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.002447/0.002447, allocations: 279.6 kB / 306.5 MB, free: 8.367 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.15/1.15, 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.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002714/0.002714, allocations: 101.4 kB / 0.7309 GB, free: 38.71 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1534, allocations: 94.19 MB / 0.8229 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001697/0.1551, allocations: 0.6231 MB / 0.8235 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.157, allocations: 1.404 MB / 0.8248 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.157, allocations: 4 kB / 0.8249 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.909e-05/0.157, allocations: 0 / 0.8249 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.08e-05/0.1571, allocations: 3.938 kB / 0.8249 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.1577, allocations: 187.5 kB / 0.825 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.1578, allocations: 43.97 kB / 0.8251 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.172e-05/0.1578, allocations: 0 / 0.8251 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.648e-05/0.1579, allocations: 27.92 kB / 0.8251 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.67e-05/0.1579, allocations: 27.91 kB / 0.8251 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1579, allocations: 7.984 kB / 0.8251 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.1583, allocations: 223.6 kB / 0.8254 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.1583, allocations: 17.44 kB / 0.8254 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.1584, allocations: 23.86 kB / 0.8254 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.1587, allocations: 191.4 kB / 0.8256 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1587, allocations: 0 / 0.8256 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1587, allocations: 0 / 0.8256 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.1587, allocations: 0 / 0.8256 GB, free: 15.1 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004589/0.1591, allocations: 373.2 kB / 0.8259 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.1592, allocations: 8.031 kB / 0.8259 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.1592, allocations: 12.88 kB / 0.826 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.1593, allocations: 110.5 kB / 0.8261 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1593, allocations: 384 / 0.8261 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.1593, allocations: 4.375 kB / 0.8261 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.1595, allocations: 101.9 kB / 0.8262 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1595, allocations: 7.938 kB / 0.8262 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1595, allocations: 0 / 0.8262 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1596, allocations: 0 / 0.8262 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.86e-05/0.1596, allocations: 63.95 kB / 0.8262 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.1598, allocations: 152.7 kB / 0.8264 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.1599, allocations: 74.53 kB / 0.8264 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.148e-05/0.16, allocations: 64.89 kB / 0.8265 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.16, allocations: 0 / 0.8265 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.16, allocations: 38.44 kB / 0.8265 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.16, allocations: 0 / 0.8265 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0003958/0.1604, allocations: 259.2 kB / 0.8268 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.1605, allocations: 85.09 kB / 0.8269 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.1606, allocations: 143.5 kB / 0.827 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1607, allocations: 25.7 kB / 0.827 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.1607, allocations: 96.08 kB / 0.8271 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.1607, allocations: 7.891 kB / 0.8271 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.1608, allocations: 29.7 kB / 0.8272 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1609, allocations: 322.9 kB / 0.8275 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.1611, allocations: 107.9 kB / 0.8276 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.1612, allocations: 99.94 kB / 0.8277 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.1615, allocations: 277.8 kB / 0.8279 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1615, allocations: 4 kB / 0.8279 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000364/0.1618, allocations: 320.8 kB / 0.8282 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.117e-05/0.1619, allocations: 71.39 kB / 0.8283 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1619, allocations: 3.984 kB / 0.8283 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1619, allocations: 0 / 0.8283 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.1619, allocations: 0 / 0.8283 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.1619, allocations: 4.062 kB / 0.8283 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.162, allocations: 15.95 kB / 0.8283 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.1621, allocations: 4 kB / 0.8283 GB, free: 12.02 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001211/0.1622, allocations: 148.2 kB / 0.8285 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.1622, allocations: 11.89 kB / 0.8285 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.096e-05/0.1622, allocations: 12.33 kB / 0.8285 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.1622, allocations: 144 / 0.8285 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1622, allocations: 0 / 0.8285 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1622, allocations: 3.984 kB / 0.8285 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.1624, allocations: 152.7 kB / 0.8286 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1624, allocations: 3.938 kB / 0.8287 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-06/0.1624, allocations: 3.938 kB / 0.8287 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1624, allocations: 0 / 0.8287 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1624, allocations: 4 kB / 0.8287 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1624, allocations: 0 / 0.8287 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1624, allocations: 3.938 kB / 0.8287 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.1627, allocations: 226.7 kB / 0.8289 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.1627, allocations: 15.86 kB / 0.8289 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.1627, allocations: 8 kB / 0.8289 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.702e-05/0.1627, allocations: 7.938 kB / 0.8289 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.1628, allocations: 7.984 kB / 0.8289 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.1628, allocations: 0 / 0.8289 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.65e-05/0.1629, allocations: 112.5 kB / 0.829 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1629, allocations: 0 / 0.829 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002637/0.1632, allocations: 59.94 kB / 0.8291 GB, free: 11.16 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: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000251/0.1634, allocations: 154.5 kB / 0.8292 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003904/0.1638, allocations: 330.6 kB / 0.8295 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1638, allocations: 0 / 0.8295 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.1639, allocations: 123.3 kB / 0.8297 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.1641, allocations: 4 kB / 0.8297 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.1644, allocations: 221.5 kB / 0.8299 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.1647, allocations: 0.6885 MB / 0.8305 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.909e-06/0.1647, allocations: 0 / 0.8305 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.245e-05/0.1647, allocations: 15.56 kB / 0.8306 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1647, allocations: 0 / 0.8306 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of Templates: time 0.005097/0.1698, allocations: 2.087 MB / 0.8326 GB, free: 7.477 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.618366880342364] Failed to read output from testmodel.py, exit status != 0: 0.1773316552862525 0.191929063 0.030424774 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7feab4e997b0>