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.0009085/0.0009085, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001015/0.001015, allocations: 177.3 kB / 23.5 MB, free: 1.051 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.9933/0.9933, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.001759/0.001759, allocations: 243.5 kB / 260.5 MB, free: 12.88 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.7215/0.7215, allocations: 138.4 MB / 455.4 MB, free: 1.504 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.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.553e-06/1.553e-06, allocations: 0 / 0.5551 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.301e-05/1.457e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001215/0.001229, allocations: 0.6001 MB / 0.5557 GB, free: 172 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.002435, allocations: 35.89 kB / 0.5557 GB, free: 136 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.759e-05/0.002453, allocations: 0 / 0.5557 GB, free: 136 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.002468, allocations: 0 / 0.5557 GB, free: 136 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 4.899e-06/0.002473, allocations: 0 / 0.5557 GB, free: 136 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.00274, allocations: 11.92 kB / 0.5557 GB, free: 124 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.008e-05/0.00278, allocations: 8 kB / 0.5557 GB, free: 116 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.418e-05/0.002814, allocations: 3.984 kB / 0.5557 GB, free: 112 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.216e-05/0.002836, allocations: 0 / 0.5557 GB, free: 112 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.304e-05/0.00286, allocations: 7.938 kB / 0.5557 GB, free: 104 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.00287, allocations: 0 / 0.5557 GB, free: 104 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-05/0.002946, allocations: 15.97 kB / 0.5558 GB, free: 88 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.676e-06/0.002955, allocations: 7.984 kB / 0.5558 GB, free: 80 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.272e-05/0.002968, allocations: 0 / 0.5558 GB, free: 80 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 8.116e-05/0.003049, allocations: 19.92 kB / 0.5558 GB, free: 60 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003051, allocations: 0 / 0.5558 GB, free: 60 kB / 474.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003051, allocations: 0 / 0.5558 GB, free: 60 kB / 474.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.003055, allocations: 4 kB / 0.5558 GB, free: 56 kB / 474.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.000269/0.003324, allocations: 344.4 kB / 0.5561 GB, free: 15.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.003358, allocations: 8.75 kB / 0.5561 GB, free: 15.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.003392, allocations: 4.938 kB / 0.5561 GB, free: 15.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.352e-05/0.003455, allocations: 104.6 kB / 0.5562 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.003465, allocations: 384 / 0.5562 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-06/0.003472, allocations: 384 / 0.5562 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.356e-05/0.003545, allocations: 34.25 kB / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-06/0.003552, allocations: 192 / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.00356, allocations: 4.375 kB / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.003567, allocations: 4.375 kB / 0.5563 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.389e-05/0.003581, allocations: 3.938 kB / 0.5563 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.807e-05/0.003679, allocations: 108.6 kB / 0.5564 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.631e-05/0.003715, allocations: 31 kB / 0.5564 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.003731, allocations: 11.78 kB / 0.5564 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.003757, allocations: 0 / 0.5564 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.003778, allocations: 33.39 kB / 0.5565 GB, free: 15.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 5.21e-07/0.003779, allocations: 4 kB / 0.5565 GB, free: 15.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 9.812e-05/0.003877, allocations: 37.62 kB / 0.5565 GB, free: 15.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.003902, allocations: 55.53 kB / 0.5565 GB, free: 15.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.48e-05/0.003936, allocations: 146.2 kB / 0.5567 GB, free: 14.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.003944, allocations: 25.7 kB / 0.5567 GB, free: 14.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.44e-05/0.003968, allocations: 126.9 kB / 0.5568 GB, free: 14.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.003998, allocations: 16.23 kB / 0.5568 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/0.004017, allocations: 15.38 kB / 0.5569 GB, free: 14.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.004117, allocations: 496.1 kB / 0.5573 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-06/0.004125, allocations: 4 kB / 0.5573 GB, free: 14.28 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-06/0.004131, allocations: 3.984 kB / 0.5573 GB, free: 14.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.532e-05/0.004156, allocations: 11.69 kB / 0.5574 GB, free: 14.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.004158, allocations: 4.062 kB / 0.5574 GB, free: 14.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.649e-05/0.004204, allocations: 37.64 kB / 0.5574 GB, free: 14.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.004215, allocations: 4 kB / 0.5574 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.004219, allocations: 4 kB / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.00423, allocations: 0 / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.473e-05/0.004274, allocations: 0 / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.004279, allocations: 0 / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.008e-05/0.004289, allocations: 3.938 kB / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.0043, allocations: 7.984 kB / 0.5574 GB, free: 14.19 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.733e-05/0.004358, allocations: 152.6 kB / 0.5576 GB, free: 14.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-06/0.004363, allocations: 4.031 kB / 0.5576 GB, free: 14.03 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.14e-05/0.004434, allocations: 44.69 kB / 0.5576 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.004436, allocations: 0 / 0.5576 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.004439, allocations: 0 / 0.5576 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.004441, allocations: 0 / 0.5576 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.702e-05/0.004498, allocations: 112.6 kB / 0.5577 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.004499, allocations: 0 / 0.5577 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.849e-06/0.004509, allocations: 3.938 kB / 0.5577 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.00451, allocations: 4.031 kB / 0.5577 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.004515, allocations: 0 / 0.5577 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.004516, allocations: 4 kB / 0.5577 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.004517, allocations: 0 / 0.5577 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.472e-05/0.004572, allocations: 72.38 kB / 0.5578 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-06/0.004575, allocations: 0 / 0.5578 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.004584, allocations: 0 / 0.5578 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-06/0.004593, allocations: 8 kB / 0.5578 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.004605, allocations: 0 / 0.5578 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.004608, allocations: 7.938 kB / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.854e-05/0.004637, allocations: 123.2 kB / 0.5579 GB, free: 13.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004637, allocations: 0 / 0.5579 GB, free: 13.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001243/0.004761, allocations: 7.984 kB / 0.5579 GB, free: 13.59 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.63e-05/0.004858, allocations: 107.2 kB / 0.558 GB, free: 13.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.492e-05/0.004913, allocations: 11.62 kB / 0.558 GB, free: 13.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.004914, allocations: 4 kB / 0.558 GB, free: 13.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.364e-06/0.004921, allocations: 7.688 kB / 0.5581 GB, free: 13.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.624e-05/0.005007, allocations: 4 kB / 0.5581 GB, free: 13.44 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000162/0.005169, allocations: 96.05 kB / 0.5582 GB, free: 13.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.387e-05/0.005193, allocations: 51.36 kB / 0.5582 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.493e-05/0.005208, allocations: 4 kB / 0.5582 GB, free: 13.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/0.005223, allocations: 8.5 kB / 0.5582 GB, free: 13.23 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.005224, allocations: 0 / 0.5582 GB, free: 13.23 MB / 490.7 MB Notification: Performance of Templates: time 0.001608/0.006832, allocations: 320.5 kB / 0.5585 GB, free: 12.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.566208007046953]