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.0009337/0.0009337, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009369/0.0009369, allocations: 173 kB / 23.49 MB, free: 1.059 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.9794/0.9794, 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.00273/0.00273, allocations: 229.4 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.759/0.759, allocations: 138.4 MB / 455.4 MB, free: 1.535 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 2.014e-06/2.014e-06, allocations: 0 / 0.555 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.892e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.005434/0.005463, allocations: 1.548 MB / 0.5566 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002809/0.005744, allocations: 108.6 kB / 0.5567 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.005783, allocations: 4 kB / 0.5567 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.887e-05/0.005832, allocations: 3.938 kB / 0.5567 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.87e-05/0.00589, allocations: 11.86 kB / 0.5567 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.006103, allocations: 23.97 kB / 0.5567 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.595e-05/0.006189, allocations: 43.84 kB / 0.5567 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.608e-05/0.006275, allocations: 4 kB / 0.5567 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.29e-05/0.006338, allocations: 23.97 kB / 0.5568 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.517e-05/0.006383, allocations: 19.92 kB / 0.5568 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.006401, allocations: 4 kB / 0.5568 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.599e-05/0.006467, allocations: 23.92 kB / 0.5568 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/0.006512, allocations: 19.91 kB / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.006535, allocations: 8 kB / 0.5568 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.006661, allocations: 59.8 kB / 0.5569 GB, free: 14.95 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.006663, allocations: 0 / 0.5569 GB, free: 14.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006663, allocations: 0 / 0.5569 GB, free: 14.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.006667, allocations: 0 / 0.5569 GB, free: 14.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.0003911/0.007058, allocations: 400.3 kB / 0.5573 GB, free: 14.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.007095, allocations: 8.75 kB / 0.5573 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.007136, allocations: 12.89 kB / 0.5573 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.473e-05/0.00723, allocations: 120.6 kB / 0.5574 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.007241, allocations: 384 / 0.5574 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.00725, allocations: 384 / 0.5574 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.009434, allocations: 66.94 kB / 0.5575 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.009442, allocations: 192 / 0.5575 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.009452, allocations: 384 / 0.5575 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.00946, allocations: 384 / 0.5575 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.288e-05/0.009503, allocations: 11.94 kB / 0.5575 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.009826, allocations: 271.8 kB / 0.5577 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.142e-05/0.009898, allocations: 35.06 kB / 0.5578 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.009937, allocations: 15.77 kB / 0.5578 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.01009, allocations: 31.97 kB / 0.5578 GB, free: 13.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.01011, allocations: 37.39 kB / 0.5579 GB, free: 13.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.01011, allocations: 0 / 0.5579 GB, free: 13.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001801/0.01029, allocations: 61.52 kB / 0.5579 GB, free: 13.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.01032, allocations: 55.39 kB / 0.558 GB, free: 13.69 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.912e-05/0.01042, allocations: 181.9 kB / 0.5581 GB, free: 13.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.01043, allocations: 29.7 kB / 0.5582 GB, free: 13.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.01051, allocations: 146.7 kB / 0.5583 GB, free: 13.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.01053, allocations: 11.91 kB / 0.5583 GB, free: 13.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.01056, allocations: 19.38 kB / 0.5583 GB, free: 13.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.01068, allocations: 0.4923 MB / 0.5588 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.0107, allocations: 0 / 0.5588 GB, free: 12.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.645e-05/0.01072, allocations: 4 kB / 0.5588 GB, free: 12.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.361e-05/0.01076, allocations: 23.62 kB / 0.5589 GB, free: 12.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.01076, allocations: 0 / 0.5589 GB, free: 12.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.125e-05/0.01084, allocations: 45.69 kB / 0.5589 GB, free: 12.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.01086, allocations: 7.938 kB / 0.5589 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.01086, allocations: 0 / 0.5589 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.01087, allocations: 0 / 0.5589 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.01095, allocations: 11.98 kB / 0.5589 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01096, allocations: 0 / 0.5589 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/0.01099, allocations: 8 kB / 0.5589 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.011, allocations: 7.984 kB / 0.5589 GB, free: 12.65 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 6.771e-05/0.01107, allocations: 152.6 kB / 0.5591 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.01109, allocations: 7.953 kB / 0.5591 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.01124, allocations: 65.56 kB / 0.5591 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01125, allocations: 0 / 0.5591 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.01125, allocations: 0 / 0.5591 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.01126, allocations: 3.984 kB / 0.5592 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.01138, allocations: 128.6 kB / 0.5593 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01138, allocations: 0 / 0.5593 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.01142, allocations: 11.98 kB / 0.5593 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.01142, allocations: 0 / 0.5593 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.01143, allocations: 0 / 0.5593 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01143, allocations: 3.938 kB / 0.5593 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.01143, allocations: 0 / 0.5593 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.01155, allocations: 203.8 kB / 0.5595 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-06/0.01156, allocations: 7.953 kB / 0.5595 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.01157, allocations: 0 / 0.5595 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.881e-05/0.01163, allocations: 7.938 kB / 0.5595 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.01167, allocations: 7.984 kB / 0.5595 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.01167, allocations: 432 / 0.5595 GB, free: 11.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.683e-05/0.01173, allocations: 142.3 kB / 0.5596 GB, free: 11.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01173, allocations: 3.938 kB / 0.5596 GB, free: 11.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000148/0.01188, allocations: 8 kB / 0.5597 GB, free: 11.84 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 0.0001087/0.01199, allocations: 115.2 kB / 0.5598 GB, free: 11.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.943e-05/0.01207, allocations: 19.67 kB / 0.5598 GB, free: 11.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.01207, allocations: 0 / 0.5598 GB, free: 11.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.293e-05/0.01209, allocations: 23.61 kB / 0.5598 GB, free: 11.67 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.01227, allocations: 8 kB / 0.5598 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002607/0.01253, allocations: 145.2 kB / 0.56 GB, free: 11.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.291e-05/0.01256, allocations: 59.34 kB / 0.56 GB, free: 11.42 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.909e-05/0.01258, allocations: 4 kB / 0.56 GB, free: 11.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.01261, allocations: 12.5 kB / 0.56 GB, free: 11.4 MB / 490.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01261, allocations: 0 / 0.56 GB, free: 11.4 MB / 490.7 MB Notification: Performance of Templates: time 0.002421/0.01503, allocations: 0.8676 MB / 0.5609 GB, free: 10.55 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.690492188790813]