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.001426/0.001426, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009876/0.0009876, allocations: 169 kB / 24.06 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.019/1.019, 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.001766/0.001766, allocations: 237.8 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.7365/0.7365, allocations: 138.4 MB / 456.3 MB, free: 30 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.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.532e-06/1.532e-06, allocations: 0 / 0.5564 GB, free: 15.8 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.905e-05, allocations: 6.312 kB / 0.5564 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001106/0.001125, allocations: 0.5929 MB / 0.557 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002485/0.001373, allocations: 39.89 kB / 0.557 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.761e-05/0.001391, allocations: 0 / 0.557 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.001408, allocations: 0 / 0.557 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.001414, allocations: 3.938 kB / 0.557 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.001703, allocations: 7.984 kB / 0.557 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.04e-05/0.001743, allocations: 7.938 kB / 0.5571 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.29e-05/0.001776, allocations: 0 / 0.5571 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.321e-05/0.001799, allocations: 0 / 0.5571 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.179e-05/0.001821, allocations: 4 kB / 0.5571 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.001831, allocations: 0 / 0.5571 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.698e-05/0.001908, allocations: 15.97 kB / 0.5571 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.927e-06/0.001917, allocations: 8 kB / 0.5571 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.867e-06/0.001925, allocations: 0 / 0.5571 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.167e-05/0.002007, allocations: 23.91 kB / 0.5571 GB, free: 15.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.002009, allocations: 3.984 kB / 0.5571 GB, free: 15.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.2e-07/0.00201, allocations: 0 / 0.5571 GB, free: 15.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.002014, allocations: 0 / 0.5571 GB, free: 15.09 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002509/0.002265, allocations: 332.4 kB / 0.5574 GB, free: 14.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.002298, allocations: 9.938 kB / 0.5574 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.002329, allocations: 8.938 kB / 0.5574 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.249e-05/0.002392, allocations: 108.6 kB / 0.5575 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.002401, allocations: 4.375 kB / 0.5575 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-06/0.002406, allocations: 384 / 0.5575 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.996e-05/0.002476, allocations: 38.19 kB / 0.5576 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.002483, allocations: 192 / 0.5576 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-06/0.002488, allocations: 384 / 0.5576 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.002492, allocations: 384 / 0.5576 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.548e-06/0.002502, allocations: 7.875 kB / 0.5576 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.817e-05/0.00257, allocations: 93.27 kB / 0.5577 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.205e-05/0.002602, allocations: 23.06 kB / 0.5577 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.121e-05/0.002613, allocations: 11.78 kB / 0.5577 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.002635, allocations: 4 kB / 0.5577 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.002654, allocations: 41.31 kB / 0.5578 GB, free: 14.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.002654, allocations: 0 / 0.5578 GB, free: 14.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 8.243e-05/0.002737, allocations: 37.7 kB / 0.5578 GB, free: 14.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.002761, allocations: 51.41 kB / 0.5578 GB, free: 14.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.03e-05/0.002791, allocations: 142.2 kB / 0.558 GB, free: 14.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.764e-06/0.002799, allocations: 25.7 kB / 0.558 GB, free: 14.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/0.002823, allocations: 126.9 kB / 0.5581 GB, free: 13.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.002846, allocations: 8.266 kB / 0.5581 GB, free: 13.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/0.002866, allocations: 19.38 kB / 0.5581 GB, free: 13.85 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.00297, allocations: 0.4924 MB / 0.5586 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-06/0.002978, allocations: 4 kB / 0.5586 GB, free: 13.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-06/0.002985, allocations: 3.938 kB / 0.5586 GB, free: 13.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.474e-05/0.003009, allocations: 11.69 kB / 0.5586 GB, free: 13.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.003011, allocations: 0 / 0.5586 GB, free: 13.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.716e-05/0.003048, allocations: 33.7 kB / 0.5587 GB, free: 13.28 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.003058, allocations: 4 kB / 0.5587 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.003061, allocations: 0 / 0.5587 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.00307, allocations: 4 kB / 0.5587 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.977e-05/0.003109, allocations: 4.078 kB / 0.5587 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-06/0.003111, allocations: 4 kB / 0.5587 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.256e-06/0.003119, allocations: 3.953 kB / 0.5587 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.003254, allocations: 7.984 kB / 0.5587 GB, free: 13.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 5.593e-05/0.00331, allocations: 156.5 kB / 0.5589 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-06/0.003315, allocations: 3.938 kB / 0.5589 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.77e-05/0.003382, allocations: 40.69 kB / 0.5589 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.003384, allocations: 0 / 0.5589 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.003385, allocations: 4.031 kB / 0.5589 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.003388, allocations: 0 / 0.5589 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.755e-05/0.003436, allocations: 93.2 kB / 0.559 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.003436, allocations: 0 / 0.559 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.848e-06/0.003446, allocations: 4 kB / 0.559 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-07/0.003447, allocations: 3.938 kB / 0.559 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.00345, allocations: 4 kB / 0.559 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.9e-07/0.003451, allocations: 0 / 0.559 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.003451, allocations: 0 / 0.559 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.939e-05/0.003501, allocations: 80.31 kB / 0.5591 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.003507, allocations: 12.02 kB / 0.5591 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.292e-06/0.003513, allocations: 0 / 0.5591 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.168e-06/0.003518, allocations: 0 / 0.5591 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.03e-05/0.003528, allocations: 0 / 0.5591 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.003531, allocations: 3.984 kB / 0.5591 GB, free: 12.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.862e-05/0.00356, allocations: 119.2 kB / 0.5592 GB, free: 12.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00356, allocations: 4 kB / 0.5592 GB, free: 12.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001215/0.003682, allocations: 4 kB / 0.5592 GB, free: 12.67 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 9.327e-05/0.003775, allocations: 95.25 kB / 0.5593 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.572e-05/0.003831, allocations: 19.69 kB / 0.5593 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.003832, allocations: 0 / 0.5593 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.075e-06/0.00384, allocations: 15.62 kB / 0.5593 GB, free: 12.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.69e-05/0.003927, allocations: 7.938 kB / 0.5593 GB, free: 12.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001442/0.004071, allocations: 95.97 kB / 0.5594 GB, free: 12.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.332e-05/0.004094, allocations: 51.36 kB / 0.5595 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.978e-05/0.004114, allocations: 8.125 kB / 0.5595 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.004144, allocations: 66.2 kB / 0.5596 GB, free: 12.25 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.004144, allocations: 0 / 0.5596 GB, free: 12.25 MB / 490.7 MB Notification: Performance of Templates: time 0.001659/0.005803, allocations: 349.6 kB / 0.5599 GB, free: 11.92 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: 3.5827688397839665]