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.0009212/0.0009212, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009103/0.0009103, allocations: 169 kB / 23.27 MB, free: 1.219 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.9476/0.9476, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.001863/0.001863, allocations: 249.7 kB / 260.5 MB, free: 12.64 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.7214/0.7214, allocations: 138.4 MB / 455.5 MB, free: 1.438 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.924e-06/1.924e-06, allocations: 0 / 0.5556 GB, free: 288 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.234e-05, allocations: 6.25 kB / 0.5556 GB, free: 280 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.003042/0.003075, allocations: 1.494 MB / 0.5571 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003407/0.003415, allocations: 96.52 kB / 0.5572 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.762e-05/0.003453, allocations: 0 / 0.5572 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.06e-05/0.003524, allocations: 0 / 0.5572 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.78e-05/0.003571, allocations: 7.938 kB / 0.5572 GB, free: 14.66 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.003869, allocations: 15.97 kB / 0.5572 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.798e-05/0.003937, allocations: 23.94 kB / 0.5572 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.432e-05/0.004021, allocations: 7.969 kB / 0.5572 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.74e-05/0.004069, allocations: 15.94 kB / 0.5572 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.004111, allocations: 11.98 kB / 0.5572 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.004132, allocations: 4 kB / 0.5572 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.004252, allocations: 27.84 kB / 0.5573 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.664e-05/0.004288, allocations: 0 / 0.5573 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.004307, allocations: 11.94 kB / 0.5573 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.004438, allocations: 35.94 kB / 0.5573 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.00444, allocations: 0 / 0.5573 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004441, allocations: 0 / 0.5573 GB, free: 14.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.004445, allocations: 0 / 0.5573 GB, free: 14.51 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.0003888/0.004834, allocations: 356.6 kB / 0.5576 GB, free: 14.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.004883, allocations: 20.73 kB / 0.5577 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.004919, allocations: 8.891 kB / 0.5577 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.632e-05/0.005015, allocations: 120.5 kB / 0.5578 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.005026, allocations: 384 / 0.5578 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-06/0.005033, allocations: 384 / 0.5578 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.005166, allocations: 50.95 kB / 0.5578 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.036e-06/0.005174, allocations: 192 / 0.5578 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.005181, allocations: 4.312 kB / 0.5578 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.005189, allocations: 4.375 kB / 0.5579 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.928e-05/0.005218, allocations: 7.922 kB / 0.5579 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.005524, allocations: 232.5 kB / 0.5581 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.521e-05/0.00559, allocations: 31 kB / 0.5581 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.02e-05/0.00561, allocations: 11.75 kB / 0.5581 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.343e-05/0.005663, allocations: 11.97 kB / 0.5581 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.005693, allocations: 41.31 kB / 0.5582 GB, free: 13.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.005695, allocations: 0 / 0.5582 GB, free: 13.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001555/0.00585, allocations: 45.59 kB / 0.5582 GB, free: 13.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.005881, allocations: 51.41 kB / 0.5583 GB, free: 13.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.005974, allocations: 165.9 kB / 0.5584 GB, free: 13.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.005987, allocations: 25.83 kB / 0.5584 GB, free: 13.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.006043, allocations: 138.9 kB / 0.5586 GB, free: 13.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.006064, allocations: 3.953 kB / 0.5586 GB, free: 13.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.0061, allocations: 19.38 kB / 0.5586 GB, free: 13.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.006254, allocations: 0.4884 MB / 0.5591 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/0.00627, allocations: 0 / 0.5591 GB, free: 12.51 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.477e-05/0.006284, allocations: 7.938 kB / 0.5591 GB, free: 12.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.965e-05/0.006314, allocations: 11.69 kB / 0.5591 GB, free: 12.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006316, allocations: 0 / 0.5591 GB, free: 12.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.86e-05/0.006395, allocations: 37.69 kB / 0.5591 GB, free: 12.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.006409, allocations: 8.094 kB / 0.5591 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.006414, allocations: 0 / 0.5591 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.006427, allocations: 3.938 kB / 0.5591 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.193e-05/0.006509, allocations: 12 kB / 0.5592 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.006512, allocations: 0 / 0.5592 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.006536, allocations: 0 / 0.5592 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.00654, allocations: 0 / 0.5592 GB, free: 12.42 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.007e-05/0.00662, allocations: 164.5 kB / 0.5593 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.006647, allocations: 3.953 kB / 0.5593 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.00675, allocations: 49.31 kB / 0.5594 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.006754, allocations: 3.938 kB / 0.5594 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.006756, allocations: 0 / 0.5594 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.006759, allocations: 0 / 0.5594 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.006891, allocations: 101.5 kB / 0.5595 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.006893, allocations: 0 / 0.5595 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.533e-05/0.006949, allocations: 11.98 kB / 0.5595 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.006951, allocations: 0 / 0.5595 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.006957, allocations: 0 / 0.5595 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.006959, allocations: 3.938 kB / 0.5595 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.00696, allocations: 0 / 0.5595 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.007117, allocations: 203.8 kB / 0.5597 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.007125, allocations: 0 / 0.5597 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.007135, allocations: 0 / 0.5597 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.066e-05/0.007195, allocations: 4 kB / 0.5597 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.007227, allocations: 3.984 kB / 0.5597 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.007233, allocations: 7.938 kB / 0.5597 GB, free: 11.81 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.687e-05/0.00728, allocations: 123.2 kB / 0.5598 GB, free: 11.69 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.00728, allocations: 0 / 0.5598 GB, free: 11.69 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002409/0.007521, allocations: 8 kB / 0.5598 GB, free: 11.68 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.0001627/0.007684, allocations: 111.2 kB / 0.5599 GB, free: 11.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.056e-05/0.007764, allocations: 15.67 kB / 0.5599 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.007767, allocations: 0 / 0.5599 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.273e-05/0.007789, allocations: 15.62 kB / 0.5599 GB, free: 11.53 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.008053, allocations: 7.438 kB / 0.56 GB, free: 11.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.008335, allocations: 113.4 kB / 0.5601 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.345e-05/0.008378, allocations: 63.28 kB / 0.5601 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.413e-05/0.008402, allocations: 4.125 kB / 0.5601 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.008455, allocations: 70.2 kB / 0.5602 GB, free: 11.23 MB / 490.7 MB Notification: Performance of SimCode: time 7.52e-07/0.008456, allocations: 0 / 0.5602 GB, free: 11.23 MB / 490.7 MB Notification: Performance of Templates: time 0.00302/0.01148, allocations: 0.6474 MB / 0.5608 GB, free: 10.59 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.5468460358679295]