Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.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.001827/0.001827, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.002288/0.002288, allocations: 163.2 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.457/1.457, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.002521/0.002521, allocations: 245.6 kB / 259.4 MB, free: 480 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.066/1.066, allocations: 138.4 MB / 454.3 MB, free: 2 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.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.6468 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.791e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002538/0.002566, allocations: 1.465 MB / 0.6482 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002974/0.002863, allocations: 88.61 kB / 0.6483 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.002889, allocations: 0 / 0.6483 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.822e-05/0.002947, allocations: 3.938 kB / 0.6483 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.805e-05/0.002985, allocations: 7.938 kB / 0.6483 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.003244, allocations: 23.89 kB / 0.6483 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.73e-05/0.003321, allocations: 27.92 kB / 0.6484 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.278e-05/0.003404, allocations: 4 kB / 0.6484 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.815e-05/0.003442, allocations: 15.92 kB / 0.6484 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.937e-05/0.003482, allocations: 11.94 kB / 0.6484 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.003498, allocations: 4 kB / 0.6484 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.383e-05/0.003592, allocations: 19.97 kB / 0.6484 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/0.003627, allocations: 0 / 0.6484 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.003652, allocations: 11.98 kB / 0.6484 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.003789, allocations: 43.81 kB / 0.6485 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.003791, allocations: 0 / 0.6485 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.71e-07/0.003792, allocations: 0 / 0.6485 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.003801, allocations: 0 / 0.6485 GB, free: 3.293 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004501/0.004251, allocations: 270.3 kB / 0.6487 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.004288, allocations: 13.94 kB / 0.6488 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.004315, allocations: 0.9375 kB / 0.6488 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.004438, allocations: 117.7 kB / 0.6489 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.004445, allocations: 384 / 0.6489 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.004456, allocations: 384 / 0.6489 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.00464, allocations: 54.23 kB / 0.6489 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.004649, allocations: 4.188 kB / 0.6489 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.004657, allocations: 384 / 0.6489 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.004661, allocations: 4.375 kB / 0.6489 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.004846, allocations: 39.89 kB / 0.649 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.005147, allocations: 200.6 kB / 0.6492 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.005291, allocations: 42.5 kB / 0.6492 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.005392, allocations: 28.89 kB / 0.6492 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.005419, allocations: 0 / 0.6492 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.005445, allocations: 38.56 kB / 0.6493 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.005446, allocations: 0 / 0.6493 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003897/0.005835, allocations: 85.58 kB / 0.6493 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.005877, allocations: 59.34 kB / 0.6494 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.005981, allocations: 105.8 kB / 0.6495 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.005997, allocations: 25.7 kB / 0.6495 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.00605, allocations: 84.14 kB / 0.6496 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.006067, allocations: 11.89 kB / 0.6496 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.006099, allocations: 13.84 kB / 0.6496 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.006241, allocations: 322.8 kB / 0.6499 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.088e-05/0.006332, allocations: 11.98 kB / 0.6499 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.489e-05/0.006417, allocations: 19.98 kB / 0.65 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.006588, allocations: 40.81 kB / 0.65 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.00659, allocations: 0 / 0.65 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002246/0.006814, allocations: 77.67 kB / 0.6501 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.006829, allocations: 7.938 kB / 0.6501 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.006834, allocations: 3.938 kB / 0.6501 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.006849, allocations: 3.938 kB / 0.6501 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.036e-05/0.00694, allocations: 11.98 kB / 0.6501 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.006945, allocations: 0 / 0.6501 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.121e-05/0.006996, allocations: 4 kB / 0.6501 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.007004, allocations: 4.25 kB / 0.6501 GB, free: 1.445 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: 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.432e-05/0.007088, allocations: 117.9 kB / 0.6502 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.007112, allocations: 0 / 0.6502 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.007377, allocations: 85.2 kB / 0.6503 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.007379, allocations: 0 / 0.6503 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.007388, allocations: 4 kB / 0.6503 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.007391, allocations: 0 / 0.6503 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.007533, allocations: 113.3 kB / 0.6504 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.007534, allocations: 0 / 0.6504 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.007595, allocations: 12.02 kB / 0.6504 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.007597, allocations: 3.938 kB / 0.6504 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.007603, allocations: 0 / 0.6504 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.007606, allocations: 7.938 kB / 0.6504 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.007607, allocations: 0 / 0.6504 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.007878, allocations: 163.5 kB / 0.6506 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-06/0.007886, allocations: 4 kB / 0.6506 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.007898, allocations: 0 / 0.6506 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.007982, allocations: 15.95 kB / 0.6506 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.008016, allocations: 0 / 0.6506 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.008022, allocations: 4 kB / 0.6506 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.436e-05/0.008077, allocations: 87.27 kB / 0.6507 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.008077, allocations: 0 / 0.6507 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002348/0.008312, allocations: 11.94 kB / 0.6507 GB, free: 0.7617 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: 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.000145/0.008457, allocations: 99.19 kB / 0.6508 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.008688, allocations: 47.89 kB / 0.6509 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.00869, allocations: 0 / 0.6509 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.709e-05/0.008787, allocations: 19.98 kB / 0.6509 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.009067, allocations: 7.984 kB / 0.6509 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.00937, allocations: 112.8 kB / 0.651 GB, free: 456 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.356e-05/0.009433, allocations: 63.34 kB / 0.651 GB, free: 372 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.076e-05/0.009454, allocations: 0 / 0.651 GB, free: 372 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.009481, allocations: 16.62 kB / 0.6511 GB, free: 352 kB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.009482, allocations: 0 / 0.6511 GB, free: 352 kB / 0.5606 GB Notification: Performance of Templates: time 0.232/0.2415, allocations: 0.5648 MB / 0.6516 GB, free: 56.73 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.893570128828287] Failed to read output from testmodel.py, exit status != 0: 0.24908889085054398 0.25838694199999995 0.252398058 Calling exit ...