Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.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.001089/0.001089, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001232/0.001232, allocations: 169 kB / 23.27 MB, free: 1.223 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.9262/0.9262, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.001619/0.001619, allocations: 233.5 kB / 260.5 MB, free: 12.65 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.7613/0.7613, allocations: 138.4 MB / 455.5 MB, free: 29.95 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.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287e-05/1.506e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.001693/0.001708, allocations: 1.542 MB / 0.5571 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002744/0.001983, allocations: 104.5 kB / 0.5572 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.002017, allocations: 0 / 0.5572 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.191e-05/0.002059, allocations: 7.938 kB / 0.5572 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.548e-05/0.002114, allocations: 7.875 kB / 0.5572 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.002301, allocations: 27.95 kB / 0.5572 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.246e-05/0.002363, allocations: 39.86 kB / 0.5573 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.32e-05/0.002436, allocations: 11.98 kB / 0.5573 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.698e-05/0.002493, allocations: 19.98 kB / 0.5573 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.792e-05/0.002531, allocations: 23.91 kB / 0.5573 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.002549, allocations: 4 kB / 0.5573 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.684e-05/0.002605, allocations: 23.92 kB / 0.5574 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.002643, allocations: 11.98 kB / 0.5574 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.621e-05/0.00266, allocations: 15.92 kB / 0.5574 GB, free: 14 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.002763, allocations: 51.77 kB / 0.5574 GB, free: 13.95 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.002764, allocations: 0 / 0.5574 GB, free: 13.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.002765, allocations: 3.984 kB / 0.5574 GB, free: 13.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.002768, allocations: 0 / 0.5574 GB, free: 13.95 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002991/0.003068, allocations: 392.4 kB / 0.5578 GB, free: 13.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.003101, allocations: 13.94 kB / 0.5578 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.003128, allocations: 16.89 kB / 0.5578 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.016e-05/0.003198, allocations: 120.6 kB / 0.558 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/0.003205, allocations: 384 / 0.558 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-06/0.003211, allocations: 384 / 0.558 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.974e-05/0.003311, allocations: 66.94 kB / 0.558 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.09e-06/0.003316, allocations: 192 / 0.558 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.003322, allocations: 4.359 kB / 0.558 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.003326, allocations: 384 / 0.558 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.003345, allocations: 11.88 kB / 0.558 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002751/0.00362, allocations: 252.4 kB / 0.5583 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.277e-05/0.003673, allocations: 35.03 kB / 0.5583 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/0.003695, allocations: 19.75 kB / 0.5583 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-05/0.003793, allocations: 24.84 kB / 0.5583 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.003811, allocations: 41.33 kB / 0.5584 GB, free: 12.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.003812, allocations: 0 / 0.5584 GB, free: 12.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001084/0.003921, allocations: 53.58 kB / 0.5584 GB, free: 12.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.003941, allocations: 55.41 kB / 0.5585 GB, free: 12.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.232e-05/0.004014, allocations: 188.9 kB / 0.5587 GB, free: 12.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.004022, allocations: 25.7 kB / 0.5587 GB, free: 12.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.004065, allocations: 138.8 kB / 0.5588 GB, free: 12.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.004081, allocations: 11.94 kB / 0.5588 GB, free: 12.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.004106, allocations: 23.36 kB / 0.5589 GB, free: 12.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.004207, allocations: 0.4884 MB / 0.5593 GB, free: 11.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.004218, allocations: 0 / 0.5593 GB, free: 11.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.322e-05/0.004231, allocations: 11.92 kB / 0.5594 GB, free: 11.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.42e-05/0.004255, allocations: 15.69 kB / 0.5594 GB, free: 11.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.004257, allocations: 4 kB / 0.5594 GB, free: 11.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.915e-05/0.004306, allocations: 41.66 kB / 0.5594 GB, free: 11.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.004317, allocations: 7.984 kB / 0.5594 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.004321, allocations: 3.938 kB / 0.5594 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.004329, allocations: 3.938 kB / 0.5594 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.894e-05/0.004378, allocations: 8 kB / 0.5594 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.004382, allocations: 4 kB / 0.5594 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.127e-05/0.004403, allocations: 7.984 kB / 0.5594 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.004409, allocations: 3.984 kB / 0.5594 GB, free: 11.69 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 (3): * Single equations (assignments): 3 * 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.32e-05/0.004462, allocations: 160.5 kB / 0.5596 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.004476, allocations: 11.95 kB / 0.5596 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.622e-05/0.004543, allocations: 53.67 kB / 0.5597 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.004544, allocations: 3.938 kB / 0.5597 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.004546, allocations: 0 / 0.5597 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.004548, allocations: 0 / 0.5597 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.181e-05/0.00464, allocations: 109.2 kB / 0.5598 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.004641, allocations: 0 / 0.5598 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-05/0.004666, allocations: 8 kB / 0.5598 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.00467, allocations: 7.984 kB / 0.5598 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.004674, allocations: 0 / 0.5598 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.004675, allocations: 8 kB / 0.5598 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.004675, allocations: 0 / 0.5598 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.906e-05/0.004754, allocations: 196.1 kB / 0.56 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.004762, allocations: 7.953 kB / 0.56 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-06/0.004771, allocations: 4.047 kB / 0.56 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.499e-05/0.004806, allocations: 7.984 kB / 0.56 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.004831, allocations: 7.922 kB / 0.56 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.004835, allocations: 4 kB / 0.56 GB, free: 11.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.634e-05/0.004871, allocations: 135.2 kB / 0.5601 GB, free: 10.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004871, allocations: 0 / 0.5601 GB, free: 10.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001363/0.005008, allocations: 12 kB / 0.5602 GB, free: 10.9 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 (3): * Single equations (assignments): 3 * 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 7.982e-05/0.005088, allocations: 107.2 kB / 0.5603 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.415e-05/0.005142, allocations: 19.62 kB / 0.5603 GB, free: 10.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.005143, allocations: 0 / 0.5603 GB, free: 10.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.764e-05/0.00516, allocations: 15.69 kB / 0.5603 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.005315, allocations: 11.98 kB / 0.5603 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/0.005527, allocations: 149.2 kB / 0.5604 GB, free: 10.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.937e-05/0.005557, allocations: 63.34 kB / 0.5605 GB, free: 10.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.489e-05/0.005581, allocations: 7.797 kB / 0.5605 GB, free: 10.47 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.00563, allocations: 74.2 kB / 0.5606 GB, free: 10.4 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.00563, allocations: 0 / 0.5606 GB, free: 10.4 MB / 490.7 MB Notification: Performance of Templates: time 0.002238/0.007868, allocations: 0.9459 MB / 0.5615 GB, free: 9.477 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5533319883979857]