Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.00187/0.00187, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.002031/0.002031, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.634/1.634, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.003209/0.003209, allocations: 250.1 kB / 259.8 MB, free: 12.84 MB / 250.7 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.197/1.197, allocations: 138.5 MB / 454.7 MB, free: 1.516 MB / 362.7 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.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5544 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.424e-05, allocations: 6.25 kB / 0.5544 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.0016/0.001624, allocations: 0.5923 MB / 0.555 GB, free: 224 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002225/0.001846, allocations: 31.89 kB / 0.555 GB, free: 192 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.13e-05/0.001858, allocations: 0 / 0.555 GB, free: 192 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.105e-05/0.001869, allocations: 0 / 0.555 GB, free: 192 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.09e-06/0.001874, allocations: 0 / 0.555 GB, free: 192 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.002143, allocations: 11.98 kB / 0.555 GB, free: 180 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.115e-05/0.002184, allocations: 7.984 kB / 0.555 GB, free: 172 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.002226, allocations: 8 kB / 0.555 GB, free: 164 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.675e-05/0.002253, allocations: 0 / 0.555 GB, free: 164 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.119e-05/0.002274, allocations: 0 / 0.555 GB, free: 164 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.002284, allocations: 0 / 0.555 GB, free: 164 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.483e-05/0.002379, allocations: 23.91 kB / 0.5551 GB, free: 140 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.245e-06/0.002387, allocations: 0 / 0.5551 GB, free: 140 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.31e-05/0.0024, allocations: 0 / 0.5551 GB, free: 140 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 9.939e-05/0.0025, allocations: 23.84 kB / 0.5551 GB, free: 116 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.002502, allocations: 0 / 0.5551 GB, free: 116 kB / 474.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.002502, allocations: 0 / 0.5551 GB, free: 116 kB / 474.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.002506, allocations: 0 / 0.5551 GB, free: 116 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003968/0.002902, allocations: 340.4 kB / 0.5554 GB, free: 15.74 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.002936, allocations: 12.75 kB / 0.5554 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.002969, allocations: 0.9375 kB / 0.5554 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.003073, allocations: 112.6 kB / 0.5555 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.003086, allocations: 4.375 kB / 0.5555 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-06/0.003093, allocations: 4.375 kB / 0.5555 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.497e-05/0.003178, allocations: 26.27 kB / 0.5556 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.003186, allocations: 4.125 kB / 0.5556 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.003193, allocations: 384 / 0.5556 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.003196, allocations: 384 / 0.5556 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.178e-05/0.003218, allocations: 11.94 kB / 0.5556 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.003363, allocations: 108.6 kB / 0.5557 GB, free: 15.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.772e-05/0.003431, allocations: 27.09 kB / 0.5557 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/0.003462, allocations: 11.67 kB / 0.5557 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.003499, allocations: 4.062 kB / 0.5557 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.003533, allocations: 33.39 kB / 0.5557 GB, free: 15.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.003534, allocations: 0 / 0.5557 GB, free: 15.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001488/0.003683, allocations: 41.64 kB / 0.5558 GB, free: 15.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.00373, allocations: 51.41 kB / 0.5558 GB, free: 15.19 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.003819, allocations: 142.4 kB / 0.556 GB, free: 15.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.872e-05/0.003837, allocations: 29.7 kB / 0.556 GB, free: 15 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.003905, allocations: 126.9 kB / 0.5561 GB, free: 14.87 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.003935, allocations: 3.953 kB / 0.5561 GB, free: 14.87 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.003974, allocations: 23.36 kB / 0.5561 GB, free: 14.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002686/0.004242, allocations: 496.1 kB / 0.5566 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.004252, allocations: 0 / 0.5566 GB, free: 14.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.656e-06/0.004261, allocations: 4 kB / 0.5566 GB, free: 14.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.195e-05/0.004293, allocations: 15.62 kB / 0.5566 GB, free: 14.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004294, allocations: 7.938 kB / 0.5566 GB, free: 14.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.729e-05/0.004352, allocations: 33.77 kB / 0.5567 GB, free: 14.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.004366, allocations: 7.984 kB / 0.5567 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.00437, allocations: 0 / 0.5567 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.004382, allocations: 4 kB / 0.5567 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.00443, allocations: 0 / 0.5567 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.004434, allocations: 0 / 0.5567 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.471e-05/0.004449, allocations: 3.938 kB / 0.5567 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.004462, allocations: 4 kB / 0.5567 GB, free: 14.25 MB / 490.7 MB 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 (1): * Single equations (assignments): 1 * 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 0.0001069/0.004569, allocations: 152.6 kB / 0.5568 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-06/0.004576, allocations: 0 / 0.5568 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.004681, allocations: 52.66 kB / 0.5569 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.004682, allocations: 0 / 0.5569 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.004686, allocations: 0 / 0.5569 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.004688, allocations: 0 / 0.5569 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.004797, allocations: 116.5 kB / 0.557 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.004797, allocations: 0 / 0.557 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.911e-05/0.004817, allocations: 3.984 kB / 0.557 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.004818, allocations: 0 / 0.557 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.004823, allocations: 4.031 kB / 0.557 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.004827, allocations: 4 kB / 0.557 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.004827, allocations: 0 / 0.557 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.004928, allocations: 76.33 kB / 0.5571 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-06/0.004932, allocations: 0 / 0.5571 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.004946, allocations: 7.984 kB / 0.5571 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.081e-05/0.004957, allocations: 0 / 0.5571 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.004975, allocations: 3.984 kB / 0.5571 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.004982, allocations: 4 kB / 0.5571 GB, free: 13.76 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.59e-05/0.005047, allocations: 119.2 kB / 0.5572 GB, free: 13.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005047, allocations: 4.031 kB / 0.5572 GB, free: 13.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001828/0.00523, allocations: 4 kB / 0.5572 GB, free: 13.64 MB / 490.7 MB 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 (1): * Single equations (assignments): 1 * 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.0001677/0.005398, allocations: 103.2 kB / 0.5573 GB, free: 13.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.019e-05/0.005478, allocations: 19.67 kB / 0.5573 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.00548, allocations: 0 / 0.5573 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.407e-05/0.005494, allocations: 7.688 kB / 0.5573 GB, free: 13.49 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.005619, allocations: 10.86 kB / 0.5574 GB, free: 13.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000213/0.005832, allocations: 87.88 kB / 0.5574 GB, free: 13.37 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.82e-05/0.00589, allocations: 59.48 kB / 0.5575 GB, free: 13.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.262e-05/0.005913, allocations: 4 kB / 0.5575 GB, free: 13.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.005938, allocations: 12.48 kB / 0.5575 GB, free: 13.28 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.005938, allocations: 0 / 0.5575 GB, free: 13.28 MB / 490.7 MB Notification: Performance of Templates: time 0.002733/0.008671, allocations: 320.5 kB / 0.5578 GB, free: 12.96 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.790149491047487]