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.001176/0.001176, allocations: 93.06 kB / 19.65 MB, free: 280 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.001726/0.001726, allocations: 169 kB / 23.02 MB, free: 1.555 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.9997/0.9997, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.002499/0.002499, allocations: 233.8 kB / 260.2 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 0.7301/0.7301, allocations: 138.4 MB / 455.2 MB, free: 1.555 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 1.032e-06/1.032e-06, allocations: 0 / 0.5551 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.17e-05/1.273e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.001628/0.001641, allocations: 1.491 MB / 0.5566 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002221/0.001863, allocations: 92.64 kB / 0.5567 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.069e-05/0.001883, allocations: 11.88 kB / 0.5567 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.125e-05/0.001935, allocations: 3.984 kB / 0.5567 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.028e-05/0.001965, allocations: 0 / 0.5567 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.002173, allocations: 19.92 kB / 0.5567 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.037e-05/0.002223, allocations: 23.92 kB / 0.5567 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.974e-05/0.002283, allocations: 4 kB / 0.5567 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.948e-05/0.002312, allocations: 15.92 kB / 0.5567 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.896e-05/0.002341, allocations: 15.97 kB / 0.5568 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.002353, allocations: 4 kB / 0.5568 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.386e-05/0.002417, allocations: 15.92 kB / 0.5568 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.002447, allocations: 11.98 kB / 0.5568 GB, free: 14.81 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.68e-05/0.002464, allocations: 11.94 kB / 0.5568 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.114e-05/0.002555, allocations: 31.94 kB / 0.5568 GB, free: 14.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.002558, allocations: 4 kB / 0.5568 GB, free: 14.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002558, allocations: 0 / 0.5568 GB, free: 14.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.002562, allocations: 0 / 0.5568 GB, free: 14.77 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.0002932/0.002855, allocations: 364.5 kB / 0.5572 GB, free: 14.37 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.002884, allocations: 8.75 kB / 0.5572 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.002913, allocations: 8.891 kB / 0.5572 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.92e-05/0.002982, allocations: 112.6 kB / 0.5573 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.00299, allocations: 384 / 0.5573 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.002999, allocations: 4.375 kB / 0.5573 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.671e-05/0.003095, allocations: 58.94 kB / 0.5574 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.003104, allocations: 192 / 0.5574 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.003112, allocations: 4.359 kB / 0.5574 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.003118, allocations: 384 / 0.5574 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.558e-05/0.003144, allocations: 7.938 kB / 0.5574 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.003376, allocations: 255.8 kB / 0.5576 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.262e-05/0.003418, allocations: 27.06 kB / 0.5576 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.003438, allocations: 7.688 kB / 0.5577 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.003473, allocations: 8.062 kB / 0.5577 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.003493, allocations: 37.39 kB / 0.5577 GB, free: 13.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.003493, allocations: 3.938 kB / 0.5577 GB, free: 13.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001173/0.003611, allocations: 53.52 kB / 0.5578 GB, free: 13.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.003632, allocations: 51.41 kB / 0.5578 GB, free: 13.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/0.003702, allocations: 165.9 kB / 0.558 GB, free: 13.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.00371, allocations: 25.7 kB / 0.558 GB, free: 13.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.003748, allocations: 130.9 kB / 0.5581 GB, free: 13.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.00376, allocations: 3.953 kB / 0.5581 GB, free: 13.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.003786, allocations: 23.38 kB / 0.5581 GB, free: 13.24 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.003879, allocations: 0.4885 MB / 0.5586 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.00389, allocations: 4 kB / 0.5586 GB, free: 12.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-06/0.003899, allocations: 0 / 0.5586 GB, free: 12.74 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.489e-05/0.003924, allocations: 15.69 kB / 0.5586 GB, free: 12.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.003925, allocations: 0 / 0.5586 GB, free: 12.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.338e-05/0.003968, allocations: 41.64 kB / 0.5587 GB, free: 12.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.003977, allocations: 4 kB / 0.5587 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.003983, allocations: 7.922 kB / 0.5587 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.003996, allocations: 0 / 0.5587 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.427e-05/0.004051, allocations: 8.094 kB / 0.5587 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.004054, allocations: 0 / 0.5587 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.422e-05/0.004069, allocations: 4 kB / 0.5587 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.004073, allocations: 0 / 0.5587 GB, free: 12.65 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 4.88e-05/0.004121, allocations: 164.6 kB / 0.5589 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.004135, allocations: 3.953 kB / 0.5589 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.112e-05/0.004206, allocations: 53.19 kB / 0.5589 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.004207, allocations: 0 / 0.5589 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.00421, allocations: 0 / 0.5589 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.004212, allocations: 0 / 0.5589 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.273e-05/0.004295, allocations: 116.9 kB / 0.559 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.004298, allocations: 7.984 kB / 0.559 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.677e-05/0.004314, allocations: 4 kB / 0.559 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-07/0.004315, allocations: 0 / 0.559 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.004321, allocations: 4 kB / 0.559 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.004323, allocations: 3.938 kB / 0.559 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.004323, allocations: 0 / 0.559 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.937e-05/0.004403, allocations: 183.9 kB / 0.5592 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-06/0.004408, allocations: 4 kB / 0.5592 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-06/0.004416, allocations: 7.938 kB / 0.5592 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.023e-05/0.004446, allocations: 11.97 kB / 0.5592 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.004477, allocations: 11.92 kB / 0.5592 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-06/0.004478, allocations: 0 / 0.5592 GB, free: 12.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.131e-05/0.004509, allocations: 123.2 kB / 0.5594 GB, free: 11.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004509, allocations: 0 / 0.5594 GB, free: 11.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001482/0.004658, allocations: 8 kB / 0.5594 GB, free: 11.89 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.198e-05/0.00475, allocations: 107.2 kB / 0.5595 GB, free: 11.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.512e-05/0.004815, allocations: 15.69 kB / 0.5595 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.004816, allocations: 0 / 0.5595 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.585e-05/0.004832, allocations: 15.75 kB / 0.5595 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.004991, allocations: 0 / 0.5595 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002047/0.005196, allocations: 125.3 kB / 0.5596 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.838e-05/0.005224, allocations: 55.34 kB / 0.5597 GB, free: 11.51 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.298e-05/0.005237, allocations: 4 kB / 0.5597 GB, free: 11.51 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.736e-05/0.005254, allocations: 8.5 kB / 0.5597 GB, free: 11.5 MB / 490.7 MB Notification: Performance of SimCode: time 3.8e-07/0.005255, allocations: 0 / 0.5597 GB, free: 11.5 MB / 490.7 MB Notification: Performance of Templates: time 0.001991/0.007245, allocations: 0.6015 MB / 0.5603 GB, free: 10.91 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.8902227329090238]