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.001424/0.001424, allocations: 73.88 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.001576/0.001576, allocations: 173 kB / 24.06 MB, free: 452 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 0.9164/0.9164, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.001951/0.001951, allocations: 241.4 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.7509/0.7509, allocations: 138.4 MB / 456.3 MB, free: 1.398 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.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 1.482e-06/1.482e-06, allocations: 0 / 0.5564 GB, free: 244 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.384e-05, allocations: 9.766 kB / 0.5564 GB, free: 236 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002148/0.002172, allocations: 1.541 MB / 0.5579 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002591/0.002431, allocations: 108.5 kB / 0.558 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/0.002469, allocations: 0 / 0.558 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.653e-05/0.002515, allocations: 3.984 kB / 0.558 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.146e-05/0.002567, allocations: 7.875 kB / 0.558 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.002741, allocations: 31.91 kB / 0.558 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.905e-05/0.00281, allocations: 47.78 kB / 0.5581 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.036e-05/0.00288, allocations: 7.984 kB / 0.5581 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.417e-05/0.002935, allocations: 19.98 kB / 0.5581 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.274e-05/0.002977, allocations: 15.98 kB / 0.5581 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.002993, allocations: 0 / 0.5581 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-05/0.003052, allocations: 31.91 kB / 0.5581 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.909e-05/0.003091, allocations: 7.938 kB / 0.5581 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.003113, allocations: 19.91 kB / 0.5582 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.003219, allocations: 47.89 kB / 0.5582 GB, free: 14.33 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.003221, allocations: 0 / 0.5582 GB, free: 14.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003222, allocations: 4 kB / 0.5582 GB, free: 14.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.003226, allocations: 0 / 0.5582 GB, free: 14.32 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.0003394/0.003566, allocations: 400.3 kB / 0.5586 GB, free: 13.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.003601, allocations: 12.75 kB / 0.5586 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.00363, allocations: 12.83 kB / 0.5586 GB, free: 13.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.608e-05/0.003706, allocations: 116.6 kB / 0.5587 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.003715, allocations: 384 / 0.5587 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-06/0.003723, allocations: 8.312 kB / 0.5587 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.003828, allocations: 62.94 kB / 0.5588 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.003835, allocations: 4.188 kB / 0.5588 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-06/0.003841, allocations: 384 / 0.5588 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.003845, allocations: 384 / 0.5588 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.219e-05/0.003868, allocations: 11.92 kB / 0.5588 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000244/0.004112, allocations: 244.5 kB / 0.5591 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.991e-05/0.004172, allocations: 42.98 kB / 0.5591 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.004191, allocations: 7.688 kB / 0.5591 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.004298, allocations: 32.06 kB / 0.5591 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.004318, allocations: 41.39 kB / 0.5592 GB, free: 13.22 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.004319, allocations: 0 / 0.5592 GB, free: 13.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001307/0.00445, allocations: 53.58 kB / 0.5592 GB, free: 13.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.004476, allocations: 55.34 kB / 0.5593 GB, free: 13.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.554e-05/0.004552, allocations: 184.6 kB / 0.5595 GB, free: 12.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.004562, allocations: 25.7 kB / 0.5595 GB, free: 12.87 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.004604, allocations: 142.8 kB / 0.5596 GB, free: 12.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.00462, allocations: 7.906 kB / 0.5596 GB, free: 12.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.004645, allocations: 23.36 kB / 0.5596 GB, free: 12.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.00475, allocations: 0.4884 MB / 0.5601 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.004761, allocations: 4 kB / 0.5601 GB, free: 12.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.104e-05/0.004772, allocations: 4 kB / 0.5601 GB, free: 12.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.818e-05/0.0048, allocations: 23.66 kB / 0.5601 GB, free: 12.15 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.004801, allocations: 0 / 0.5601 GB, free: 12.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.67e-05/0.004858, allocations: 41.64 kB / 0.5602 GB, free: 12.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/0.004867, allocations: 4 kB / 0.5602 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-06/0.004871, allocations: 0 / 0.5602 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.637e-06/0.004879, allocations: 7.938 kB / 0.5602 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.419e-05/0.004934, allocations: 11.98 kB / 0.5602 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.004938, allocations: 3.984 kB / 0.5602 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.004963, allocations: 15.98 kB / 0.5602 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.004968, allocations: 0 / 0.5602 GB, free: 12.06 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.808e-05/0.005026, allocations: 152.6 kB / 0.5604 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.005044, allocations: 11.89 kB / 0.5604 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.348e-05/0.005117, allocations: 49.69 kB / 0.5604 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.005122, allocations: 7.922 kB / 0.5604 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.005124, allocations: 4 kB / 0.5604 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.005127, allocations: 0 / 0.5604 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.371e-05/0.005221, allocations: 109.2 kB / 0.5605 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.005221, allocations: 0 / 0.5605 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.005253, allocations: 15.94 kB / 0.5606 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.005255, allocations: 4 kB / 0.5606 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-06/0.00526, allocations: 0 / 0.5606 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.005261, allocations: 0 / 0.5606 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005262, allocations: 0 / 0.5606 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.005627, allocations: 196.2 kB / 0.5608 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.005637, allocations: 11.98 kB / 0.5608 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-06/0.005646, allocations: 3.984 kB / 0.5608 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.576e-05/0.005682, allocations: 4 kB / 0.5608 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.005708, allocations: 7.922 kB / 0.5608 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.005712, allocations: 8 kB / 0.5608 GB, free: 11.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.877e-05/0.00575, allocations: 135.2 kB / 0.5609 GB, free: 11.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00575, allocations: 0 / 0.5609 GB, free: 11.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001468/0.005897, allocations: 8 kB / 0.5609 GB, free: 11.29 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 8.95e-05/0.005987, allocations: 107.1 kB / 0.561 GB, free: 11.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.493e-05/0.006052, allocations: 23.66 kB / 0.5611 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.006053, allocations: 0 / 0.5611 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-05/0.006071, allocations: 11.69 kB / 0.5611 GB, free: 11.13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.006239, allocations: 18.56 kB / 0.5611 GB, free: 11.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002201/0.006459, allocations: 145.1 kB / 0.5612 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.994e-05/0.006489, allocations: 59.34 kB / 0.5613 GB, free: 10.87 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.857e-05/0.006508, allocations: 4 kB / 0.5613 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.006555, allocations: 74.19 kB / 0.5613 GB, free: 10.79 MB / 490.7 MB Notification: Performance of SimCode: time 3.4e-07/0.006556, allocations: 0 / 0.5613 GB, free: 10.79 MB / 490.7 MB Notification: Performance of Templates: time 0.002293/0.008849, allocations: 0.9623 MB / 0.5623 GB, free: 9.84 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.569329386111349]