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.0009811/0.0009811, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.00149/0.00149, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.9813/0.9813, allocations: 177.1 MB / 203.8 MB, free: 5.664 MB / 186.7 MB " [Timeout remaining time 179] 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.002447/0.002447, allocations: 233.6 kB / 260.5 MB, free: 12.91 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 0.7476/0.7476, allocations: 138.4 MB / 455.4 MB, free: 1.551 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.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 2.063e-06/2.063e-06, allocations: 0 / 0.555 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.281e-05/3.488e-05, allocations: 5.688 kB / 0.555 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.003413/0.003448, allocations: 1.495 MB / 0.5565 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003931/0.003841, allocations: 92.58 kB / 0.5566 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.003884, allocations: 0 / 0.5566 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.021e-05/0.003954, allocations: 7.938 kB / 0.5566 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.35e-05/0.003998, allocations: 0 / 0.5566 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.004349, allocations: 27.91 kB / 0.5566 GB, free: 15.24 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.004e-05/0.004429, allocations: 19.92 kB / 0.5566 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.004535, allocations: 8 kB / 0.5566 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.453e-05/0.004589, allocations: 19.91 kB / 0.5567 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.41e-05/0.004633, allocations: 4 kB / 0.5567 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.00465, allocations: 0 / 0.5567 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.004763, allocations: 27.91 kB / 0.5567 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.371e-05/0.004807, allocations: 4 kB / 0.5567 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.004834, allocations: 11.98 kB / 0.5567 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.004988, allocations: 31.89 kB / 0.5567 GB, free: 15.12 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.004992, allocations: 0 / 0.5567 GB, free: 15.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004993, allocations: 0 / 0.5567 GB, free: 15.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.004998, allocations: 3.938 kB / 0.5567 GB, free: 15.11 MB / 490.7 MB 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.0004727/0.005471, allocations: 372.6 kB / 0.5571 GB, free: 14.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.005518, allocations: 8.75 kB / 0.5571 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.00557, allocations: 8.891 kB / 0.5571 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.005693, allocations: 108.6 kB / 0.5572 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.005708, allocations: 4.375 kB / 0.5572 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.005719, allocations: 4.375 kB / 0.5572 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.005888, allocations: 54.95 kB / 0.5573 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.005896, allocations: 192 / 0.5573 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.005906, allocations: 384 / 0.5573 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.005915, allocations: 384 / 0.5573 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.139e-05/0.005956, allocations: 11.92 kB / 0.5573 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.00631, allocations: 251.8 kB / 0.5575 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.81e-05/0.006378, allocations: 31.16 kB / 0.5576 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/0.006406, allocations: 11.69 kB / 0.5576 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-05/0.006452, allocations: 7.984 kB / 0.5576 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.006479, allocations: 41.39 kB / 0.5576 GB, free: 14.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.00648, allocations: 0 / 0.5576 GB, free: 14.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.00019/0.006671, allocations: 53.45 kB / 0.5577 GB, free: 14.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.006709, allocations: 55.41 kB / 0.5577 GB, free: 13.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.006812, allocations: 157.9 kB / 0.5579 GB, free: 13.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.006824, allocations: 25.7 kB / 0.5579 GB, free: 13.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.006887, allocations: 138.9 kB / 0.558 GB, free: 13.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.006908, allocations: 3.953 kB / 0.558 GB, free: 13.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.006949, allocations: 19.38 kB / 0.5581 GB, free: 13.58 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.007114, allocations: 496.1 kB / 0.5585 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.007134, allocations: 8.125 kB / 0.5585 GB, free: 13.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.327e-05/0.007148, allocations: 0 / 0.5585 GB, free: 13.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.99e-05/0.007187, allocations: 15.67 kB / 0.5586 GB, free: 13.06 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.00719, allocations: 0 / 0.5586 GB, free: 13.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.015e-05/0.00727, allocations: 41.64 kB / 0.5586 GB, free: 13.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.007288, allocations: 8 kB / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.007295, allocations: 3.938 kB / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.00731, allocations: 0 / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.189e-05/0.007402, allocations: 7.984 kB / 0.5586 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.007408, allocations: 4.094 kB / 0.5586 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.793e-05/0.007435, allocations: 4 kB / 0.5586 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.007442, allocations: 0 / 0.5586 GB, free: 12.98 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 (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.051e-05/0.007522, allocations: 152.6 kB / 0.5588 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.00755, allocations: 11.95 kB / 0.5588 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.007669, allocations: 49.19 kB / 0.5588 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.007672, allocations: 0 / 0.5588 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.007676, allocations: 0 / 0.5588 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.00768, allocations: 0 / 0.5588 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.007818, allocations: 116.6 kB / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.00782, allocations: 8.031 kB / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.627e-05/0.007876, allocations: 7.984 kB / 0.5589 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.007879, allocations: 0 / 0.5589 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.007886, allocations: 0 / 0.5589 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.00789, allocations: 3.938 kB / 0.559 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007892, allocations: 0 / 0.559 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.00804, allocations: 184 kB / 0.5591 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.008053, allocations: 8.234 kB / 0.5591 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.008065, allocations: 3.938 kB / 0.5591 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.008134, allocations: 15.88 kB / 0.5592 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.008176, allocations: 8.031 kB / 0.5592 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.008182, allocations: 4 kB / 0.5592 GB, free: 12.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.41e-05/0.008236, allocations: 127.2 kB / 0.5593 GB, free: 12.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.008236, allocations: 0 / 0.5593 GB, free: 12.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002621/0.008498, allocations: 8 kB / 0.5593 GB, free: 12.22 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 (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.000172/0.00867, allocations: 99.19 kB / 0.5594 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.008772, allocations: 19.67 kB / 0.5594 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.008773, allocations: 4 kB / 0.5594 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.412e-05/0.008798, allocations: 11.75 kB / 0.5594 GB, free: 12.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.009084, allocations: 4 kB / 0.5594 GB, free: 12.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.009417, allocations: 121.3 kB / 0.5595 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.163e-05/0.009458, allocations: 59.34 kB / 0.5596 GB, free: 11.85 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.219e-05/0.00948, allocations: 0 / 0.5596 GB, free: 11.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.009509, allocations: 12.5 kB / 0.5596 GB, free: 11.84 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/0.00951, allocations: 0 / 0.5596 GB, free: 11.84 MB / 490.7 MB Notification: Performance of Templates: time 0.002984/0.01249, allocations: 0.5896 MB / 0.5602 GB, free: 11.25 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7241736308205873]