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.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.001832/0.001832, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.00218/0.00218, allocations: 167.6 kB / 22.46 MB, free: 5.359 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.43/1.43, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.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.002399/0.002399, allocations: 245 kB / 259.4 MB, free: 488 kB / 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.065/1.065, allocations: 138.4 MB / 454.3 MB, free: 2.027 MB / 366.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.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 1.322e-06/1.322e-06, allocations: 0 / 0.6468 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.074e-05, allocations: 2.281 kB / 0.6468 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001485/0.001506, allocations: 0.6237 MB / 0.6475 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.003526, allocations: 1.394 MB / 0.6488 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.18e-05/0.003547, allocations: 0 / 0.6488 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.378e-05/0.003601, allocations: 0 / 0.6488 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.219e-05/0.003643, allocations: 7.984 kB / 0.6488 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006396/0.004283, allocations: 182.3 kB / 0.649 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.004395, allocations: 51.89 kB / 0.649 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.082e-05/0.004425, allocations: 7.938 kB / 0.6491 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.252e-05/0.004478, allocations: 19.98 kB / 0.6491 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.428e-05/0.004532, allocations: 23.91 kB / 0.6491 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.004549, allocations: 4 kB / 0.6491 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.004935, allocations: 207.7 kB / 0.6493 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.004976, allocations: 15.94 kB / 0.6493 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.005018, allocations: 19.97 kB / 0.6493 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.005363, allocations: 231.4 kB / 0.6496 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.005365, allocations: 0 / 0.6496 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.01e-07/0.005366, allocations: 0 / 0.6496 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.005369, allocations: 0 / 0.6496 GB, free: 2.18 MB / 0.5606 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.0004419/0.005811, allocations: 369.3 kB / 0.6499 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.005843, allocations: 13.28 kB / 0.6499 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.005896, allocations: 8.891 kB / 0.6499 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.006012, allocations: 116.4 kB / 0.65 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.006027, allocations: 4.375 kB / 0.65 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.006038, allocations: 384 / 0.65 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.006246, allocations: 127.9 kB / 0.6502 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.006253, allocations: 192 / 0.6502 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.006263, allocations: 384 / 0.6502 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.006269, allocations: 3.938 kB / 0.6502 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.00639, allocations: 97.58 kB / 0.6503 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.006544, allocations: 125.3 kB / 0.6504 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.006685, allocations: 100.2 kB / 0.6505 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.006813, allocations: 102.6 kB / 0.6506 GB, free: 1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.006821, allocations: 0 / 0.6506 GB, free: 1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.00685, allocations: 30.56 kB / 0.6506 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.006851, allocations: 0 / 0.6506 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.000472/0.007323, allocations: 318.7 kB / 0.6509 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.007389, allocations: 89.05 kB / 0.651 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.007526, allocations: 145.8 kB / 0.6511 GB, free: 376 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.007547, allocations: 25.7 kB / 0.6512 GB, free: 344 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.007605, allocations: 96.16 kB / 0.6512 GB, free: 244 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.007627, allocations: 7.906 kB / 0.6513 GB, free: 236 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.007684, allocations: 29.7 kB / 0.6513 GB, free: 200 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2767/0.2844, allocations: 322.8 kB / 0.6516 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.2846, allocations: 164 kB / 0.6517 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.2847, allocations: 166.9 kB / 0.6519 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.285, allocations: 285.4 kB / 0.6522 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.285, allocations: 0 / 0.6522 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003557/0.2854, allocations: 389.4 kB / 0.6526 GB, free: 56.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.438e-05/0.2854, allocations: 71.5 kB / 0.6526 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2854, allocations: 5.125 kB / 0.6526 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.2854, allocations: 3.406 kB / 0.6526 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.914e-06/0.2854, allocations: 3.75 kB / 0.6526 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.2854, allocations: 3.406 kB / 0.6526 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.2857, allocations: 18.36 kB / 0.6527 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.2857, allocations: 5.094 kB / 0.6527 GB, free: 56.23 MB / 0.5606 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.0001009/0.2858, allocations: 149.3 kB / 0.6528 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.2858, allocations: 6.75 kB / 0.6528 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.811e-05/0.2858, allocations: 8.375 kB / 0.6528 GB, free: 56.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.2858, allocations: 4.906 kB / 0.6528 GB, free: 56.08 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2858, allocations: 0 / 0.6528 GB, free: 56.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2858, allocations: 4.25 kB / 0.6528 GB, free: 56.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.316e-05/0.2859, allocations: 118.3 kB / 0.6529 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2859, allocations: 1.625 kB / 0.6529 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-07/0.2859, allocations: 0 / 0.6529 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.2859, allocations: 0 / 0.6529 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.2859, allocations: 3.688 kB / 0.6529 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2859, allocations: 4.531 kB / 0.6529 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2859, allocations: 3.875 kB / 0.6529 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.2862, allocations: 265.7 kB / 0.6532 GB, free: 55.83 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.2862, allocations: 8.672 kB / 0.6532 GB, free: 55.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.2862, allocations: 0.75 kB / 0.6532 GB, free: 55.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.678e-05/0.2862, allocations: 9.312 kB / 0.6532 GB, free: 55.83 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.2863, allocations: 11.69 kB / 0.6532 GB, free: 55.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.2863, allocations: 7.438 kB / 0.6532 GB, free: 55.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.654e-05/0.2864, allocations: 107.5 kB / 0.6533 GB, free: 55.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2864, allocations: 0 / 0.6533 GB, free: 55.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003388/0.2867, allocations: 65.58 kB / 0.6534 GB, free: 55.75 MB / 0.5606 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.0002925/0.287, allocations: 156.5 kB / 0.6536 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003686/0.2874, allocations: 423.8 kB / 0.654 GB, free: 55.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2874, allocations: 0 / 0.654 GB, free: 55.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.2875, allocations: 150.4 kB / 0.6541 GB, free: 55.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.2877, allocations: 8.312 kB / 0.6541 GB, free: 55.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.288, allocations: 250.6 kB / 0.6543 GB, free: 55.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.804e-05/0.288, allocations: 78.78 kB / 0.6544 GB, free: 55.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.48e-06/0.288, allocations: 0.9688 kB / 0.6544 GB, free: 55.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.088e-05/0.288, allocations: 8.5 kB / 0.6544 GB, free: 55.13 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.288, allocations: 3.219 kB / 0.6544 GB, free: 55.13 MB / 0.5606 GB Notification: Performance of Templates: time 0.004673/0.2927, allocations: 2.144 MB / 0.6565 GB, free: 55.05 MB / 0.5606 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.8051712885499] Failed to read output from testmodel.py, exit status != 0: 0.3003179356455803 0.30961645000000004 0.302039738 Calling exit ...