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.001054/0.001054, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.001135/0.001135, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.001/1.001, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.001674/0.001674, allocations: 242 kB / 261.3 MB, free: 12.66 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.7487/0.7487, allocations: 138.4 MB / 456.3 MB, free: 30.07 MB / 410.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 1.343e-06/1.343e-06, allocations: 0 / 0.5563 GB, free: 15.89 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.765e-05, allocations: 2.312 kB / 0.5563 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.004752/0.004769, allocations: 1.5 MB / 0.5578 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002726/0.005042, allocations: 84.59 kB / 0.5579 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.005072, allocations: 0 / 0.5579 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.156e-05/0.005134, allocations: 0 / 0.5579 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.946e-05/0.005173, allocations: 7.875 kB / 0.5579 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.005437, allocations: 27.95 kB / 0.5579 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.598e-05/0.005493, allocations: 23.92 kB / 0.558 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.941e-05/0.005563, allocations: 8 kB / 0.558 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.346e-05/0.005596, allocations: 11.98 kB / 0.558 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.571e-05/0.005632, allocations: 7.938 kB / 0.558 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.005643, allocations: 0 / 0.558 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.7e-05/0.00572, allocations: 27.91 kB / 0.558 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.43e-05/0.005755, allocations: 7.984 kB / 0.558 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.428e-05/0.005769, allocations: 7.984 kB / 0.558 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.459e-05/0.005864, allocations: 31.84 kB / 0.5581 GB, free: 14.12 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.005865, allocations: 0 / 0.5581 GB, free: 14.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005866, allocations: 0 / 0.5581 GB, free: 14.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.005871, allocations: 8 kB / 0.5581 GB, free: 14.12 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.0003013/0.006172, allocations: 368.6 kB / 0.5584 GB, free: 13.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.006206, allocations: 9.938 kB / 0.5584 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.45e-05/0.006231, allocations: 4.938 kB / 0.5584 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.867e-05/0.006309, allocations: 116.5 kB / 0.5585 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.006318, allocations: 4.375 kB / 0.5585 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.333e-06/0.006325, allocations: 384 / 0.5585 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.051e-05/0.006416, allocations: 54.95 kB / 0.5586 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.006422, allocations: 192 / 0.5586 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-06/0.006428, allocations: 384 / 0.5586 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.006431, allocations: 4.375 kB / 0.5586 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.25e-05/0.006454, allocations: 19.84 kB / 0.5586 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.006657, allocations: 228.5 kB / 0.5588 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.926e-05/0.006696, allocations: 27.06 kB / 0.5589 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.006712, allocations: 15.75 kB / 0.5589 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.00674, allocations: 3.984 kB / 0.5589 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.006757, allocations: 33.39 kB / 0.5589 GB, free: 13.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 6.42e-07/0.006758, allocations: 4 kB / 0.5589 GB, free: 13.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 9.964e-05/0.006857, allocations: 41.58 kB / 0.559 GB, free: 13.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.006882, allocations: 55.53 kB / 0.559 GB, free: 13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.78e-05/0.00695, allocations: 169.9 kB / 0.5592 GB, free: 12.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.006961, allocations: 25.7 kB / 0.5592 GB, free: 12.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.007003, allocations: 130.8 kB / 0.5593 GB, free: 12.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.007021, allocations: 3.953 kB / 0.5593 GB, free: 12.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.007045, allocations: 27.3 kB / 0.5593 GB, free: 12.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.007153, allocations: 496.1 kB / 0.5598 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.397e-06/0.007163, allocations: 4 kB / 0.5598 GB, free: 12.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-06/0.00717, allocations: 0 / 0.5598 GB, free: 12.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.314e-05/0.007193, allocations: 19.62 kB / 0.5598 GB, free: 12.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007195, allocations: 4.062 kB / 0.5598 GB, free: 12.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.793e-05/0.007243, allocations: 37.69 kB / 0.5599 GB, free: 12.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.007263, allocations: 10.19 kB / 0.5599 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.007266, allocations: 0 / 0.5599 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.007275, allocations: 3.938 kB / 0.5599 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.738e-05/0.007322, allocations: 4 kB / 0.5599 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.007325, allocations: 0 / 0.5599 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.783e-05/0.007342, allocations: 7.984 kB / 0.5599 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.007346, allocations: 0 / 0.5599 GB, free: 12.02 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 6.47e-05/0.007411, allocations: 156.6 kB / 0.5601 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.007428, allocations: 8 kB / 0.5601 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.009e-05/0.007498, allocations: 45.25 kB / 0.5601 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.007501, allocations: 3.938 kB / 0.5601 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.007503, allocations: 0 / 0.5601 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.007505, allocations: 0 / 0.5601 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.594e-05/0.007591, allocations: 97.27 kB / 0.5602 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.007592, allocations: 0 / 0.5602 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.8e-05/0.00761, allocations: 8.234 kB / 0.5602 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.007611, allocations: 4 kB / 0.5602 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-06/0.007616, allocations: 8.031 kB / 0.5602 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.007617, allocations: 0 / 0.5602 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.007617, allocations: 0 / 0.5602 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.884e-05/0.007696, allocations: 195.8 kB / 0.5604 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-06/0.007701, allocations: 4 kB / 0.5604 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-06/0.007708, allocations: 0 / 0.5604 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.798e-05/0.007736, allocations: 4 kB / 0.5604 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.007758, allocations: 7.984 kB / 0.5604 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.007761, allocations: 3.938 kB / 0.5604 GB, free: 11.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.411e-05/0.007795, allocations: 127.2 kB / 0.5606 GB, free: 11.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007796, allocations: 32 / 0.5606 GB, free: 11.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001407/0.007936, allocations: 12 kB / 0.5606 GB, free: 11.29 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 9.151e-05/0.008028, allocations: 107.1 kB / 0.5607 GB, free: 11.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.349e-05/0.008081, allocations: 15.69 kB / 0.5607 GB, free: 11.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.62e-07/0.008082, allocations: 0 / 0.5607 GB, free: 11.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.432e-05/0.008096, allocations: 15.62 kB / 0.5607 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.008263, allocations: 8 kB / 0.5607 GB, free: 11.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001924/0.008455, allocations: 117.5 kB / 0.5608 GB, free: 10.99 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.176e-05/0.008487, allocations: 59.28 kB / 0.5609 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.459e-05/0.008502, allocations: 4 kB / 0.5609 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.008539, allocations: 70.2 kB / 0.5609 GB, free: 10.84 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.00854, allocations: 0 / 0.5609 GB, free: 10.84 MB / 490.7 MB Notification: Performance of Templates: time 0.002028/0.01057, allocations: 0.6569 MB / 0.5616 GB, free: 10.2 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.573146062903106]