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.002211/0.002211, allocations: 93.47 kB / 19.44 MB, free: 336 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.002603/0.002603, allocations: 169.6 kB / 22.76 MB, free: 1.66 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 1.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.003367/0.003367, allocations: 242 kB / 259.8 MB, free: 12.86 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 1.189/1.189, allocations: 138.5 MB / 454.7 MB, free: 1.473 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.733e-06/1.733e-06, allocations: 0 / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.651e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002795/0.002821, allocations: 1.464 MB / 0.5558 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003196/0.003141, allocations: 92.59 kB / 0.5559 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.003165, allocations: 0 / 0.5559 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.811e-05/0.003244, allocations: 3.938 kB / 0.5559 GB, free: 15.26 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.565e-05/0.003279, allocations: 4 kB / 0.5559 GB, free: 15.26 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.003522, allocations: 15.97 kB / 0.5559 GB, free: 15.24 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.831e-05/0.00359, allocations: 31.86 kB / 0.5559 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.314e-05/0.003664, allocations: 3.938 kB / 0.5559 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.614e-05/0.00371, allocations: 11.98 kB / 0.5559 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.667e-05/0.003746, allocations: 12 kB / 0.5559 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.003763, allocations: 4 kB / 0.5559 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.339e-05/0.003856, allocations: 23.95 kB / 0.556 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.118e-05/0.003887, allocations: 0 / 0.556 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.003916, allocations: 15.92 kB / 0.556 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.004047, allocations: 39.88 kB / 0.556 GB, free: 15.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.004049, allocations: 0 / 0.556 GB, free: 15.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004049, allocations: 0 / 0.556 GB, free: 15.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.004053, allocations: 0 / 0.556 GB, free: 15.1 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.0005111/0.004564, allocations: 368.2 kB / 0.5564 GB, free: 14.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.0046, allocations: 12.75 kB / 0.5564 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.00464, allocations: 4.891 kB / 0.5564 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.004759, allocations: 116.6 kB / 0.5565 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.004771, allocations: 384 / 0.5565 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.004781, allocations: 8.312 kB / 0.5565 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.00493, allocations: 42.25 kB / 0.5565 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.004939, allocations: 192 / 0.5565 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.004946, allocations: 4.312 kB / 0.5566 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.00495, allocations: 384 / 0.5566 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.005309, allocations: 27.92 kB / 0.5566 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.005686, allocations: 255.8 kB / 0.5568 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.00581, allocations: 46.98 kB / 0.5569 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.451e-05/0.005874, allocations: 19.75 kB / 0.5569 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.005909, allocations: 0 / 0.5569 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.005946, allocations: 37.39 kB / 0.5569 GB, free: 14.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.005947, allocations: 0 / 0.5569 GB, free: 14.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003044/0.006251, allocations: 73.56 kB / 0.557 GB, free: 13.97 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.006298, allocations: 55.34 kB / 0.557 GB, free: 13.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.006429, allocations: 170 kB / 0.5572 GB, free: 13.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.006449, allocations: 25.7 kB / 0.5572 GB, free: 13.69 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.457e-05/0.006533, allocations: 134.9 kB / 0.5574 GB, free: 13.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.006549, allocations: 3.953 kB / 0.5574 GB, free: 13.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.006593, allocations: 23.36 kB / 0.5574 GB, free: 13.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002492/0.006842, allocations: 496.1 kB / 0.5579 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.837e-05/0.0069, allocations: 11.98 kB / 0.5579 GB, free: 13.01 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.707e-05/0.006957, allocations: 12 kB / 0.5579 GB, free: 13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.00706, allocations: 31.98 kB / 0.5579 GB, free: 12.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.007062, allocations: 0 / 0.5579 GB, free: 12.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000145/0.007207, allocations: 57.69 kB / 0.558 GB, free: 12.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.007227, allocations: 11.92 kB / 0.558 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.007233, allocations: 3.938 kB / 0.558 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.007246, allocations: 0 / 0.558 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.897e-05/0.007315, allocations: 4 kB / 0.558 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.007319, allocations: 4 kB / 0.558 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.007348, allocations: 0 / 0.558 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.007353, allocations: 32 / 0.558 GB, free: 12.88 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 0.0001161/0.007469, allocations: 168.6 kB / 0.5582 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.007495, allocations: 3.953 kB / 0.5582 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.00768, allocations: 65.23 kB / 0.5582 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007681, allocations: 0 / 0.5582 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.007685, allocations: 0 / 0.5582 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.007688, allocations: 0 / 0.5582 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.007852, allocations: 120.6 kB / 0.5583 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.007854, allocations: 3.938 kB / 0.5583 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.007903, allocations: 15.91 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.007904, allocations: 4.031 kB / 0.5584 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.00791, allocations: 0 / 0.5584 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.007914, allocations: 3.938 kB / 0.5584 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.007914, allocations: 0 / 0.5584 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.00815, allocations: 199.9 kB / 0.5585 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-06/0.008159, allocations: 7.953 kB / 0.5586 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.008169, allocations: 0 / 0.5586 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.189e-05/0.008231, allocations: 7.938 kB / 0.5586 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.008272, allocations: 7.984 kB / 0.5586 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.008275, allocations: 4.031 kB / 0.5586 GB, free: 12.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.085e-05/0.008356, allocations: 131.2 kB / 0.5587 GB, free: 12.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008356, allocations: 0 / 0.5587 GB, free: 12.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.008571, allocations: 4 kB / 0.5587 GB, free: 12.07 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.0001526/0.008723, allocations: 111.1 kB / 0.5588 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.008908, allocations: 39.59 kB / 0.5588 GB, free: 11.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.008909, allocations: 0 / 0.5588 GB, free: 11.92 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.507e-05/0.008974, allocations: 19.75 kB / 0.5589 GB, free: 11.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.009206, allocations: 11.98 kB / 0.5589 GB, free: 11.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.009508, allocations: 117.4 kB / 0.559 GB, free: 11.74 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.321e-05/0.009581, allocations: 63.34 kB / 0.5591 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.991e-05/0.009601, allocations: 0 / 0.5591 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.009631, allocations: 12.5 kB / 0.5591 GB, free: 11.65 MB / 490.7 MB Notification: Performance of SimCode: time 4.7e-07/0.009632, allocations: 3.938 kB / 0.5591 GB, free: 11.64 MB / 490.7 MB Notification: Performance of Templates: time 0.003416/0.01305, allocations: 0.5927 MB / 0.5596 GB, free: 11.06 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: 5.886284371023066]