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.0006962/0.0006962, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009161/0.001612, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006998/0.0006998, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009499/0.00165, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9732/0.9732, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08069/1.054, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001275/0.001275, allocations: 227.6 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009703/0.002245, allocations: 479.1 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7149/0.7149, allocations: 138.7 MB / 384.3 MB, free: 368 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06697/0.7819, allocations: 42.4 MB / 426.7 MB, free: 5.84 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.834e-06/1.834e-06, allocations: 0 / 428.1 MB, free: 4.48 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195e-05/1.379e-05, allocations: 2.312 kB / 428.1 MB, free: 4.477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.00167/0.001684, allocations: 1.604 MB / 429.7 MB, free: 2.859 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001535/0.001838, allocations: 112.5 kB / 429.8 MB, free: 2.746 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.107e-05/0.001869, allocations: 0 / 429.8 MB, free: 2.746 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.001902, allocations: 3.938 kB / 429.8 MB, free: 2.742 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.969e-05/0.001941, allocations: 11.88 kB / 429.8 MB, free: 2.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001028/0.002044, allocations: 23.97 kB / 429.8 MB, free: 2.707 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.041e-05/0.002115, allocations: 39.86 kB / 429.9 MB, free: 2.668 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.419e-05/0.002189, allocations: 11.98 kB / 429.9 MB, free: 2.656 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.984e-05/0.002269, allocations: 39.84 kB / 429.9 MB, free: 2.617 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.982e-05/0.002319, allocations: 19.97 kB / 429.9 MB, free: 2.598 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.002335, allocations: 0 / 429.9 MB, free: 2.598 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.236e-05/0.002407, allocations: 23.98 kB / 430 MB, free: 2.574 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.002444, allocations: 11.94 kB / 430 MB, free: 2.562 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.554e-05/0.00246, allocations: 8 kB / 430 MB, free: 2.555 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.002565, allocations: 39.84 kB / 430 MB, free: 2.516 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.002576, allocations: 4 kB / 430 MB, free: 2.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002577, allocations: 3.938 kB / 430 MB, free: 2.508 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.002588, allocations: 0 / 430 MB, free: 2.508 MB / 410.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.0003514/0.002939, allocations: 276.3 kB / 430.3 MB, free: 2.211 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.002974, allocations: 19.97 kB / 430.3 MB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.003003, allocations: 0.9375 kB / 430.3 MB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.584e-05/0.003089, allocations: 117.7 kB / 430.4 MB, free: 2.051 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.003097, allocations: 384 / 430.4 MB, free: 2.051 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.003108, allocations: 12.31 kB / 430.4 MB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.003225, allocations: 61.77 kB / 430.5 MB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.003231, allocations: 4.188 kB / 430.5 MB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.003238, allocations: 384 / 430.5 MB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.003242, allocations: 384 / 430.5 MB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.54e-05/0.003268, allocations: 27.86 kB / 430.5 MB, free: 1.938 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.003475, allocations: 154 kB / 430.7 MB, free: 1.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.003812, allocations: 73.3 kB / 430.8 MB, free: 1.688 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.003828, allocations: 12.84 kB / 430.8 MB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.003943, allocations: 28.08 kB / 430.8 MB, free: 1.645 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.003963, allocations: 34.55 kB / 430.8 MB, free: 1.602 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.003964, allocations: 0 / 430.8 MB, free: 1.602 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001096/0.004074, allocations: 53.56 kB / 430.9 MB, free: 1.543 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.004097, allocations: 51.41 kB / 430.9 MB, free: 1.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.165e-05/0.004158, allocations: 130.7 kB / 431.1 MB, free: 1.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.004169, allocations: 25.7 kB / 431.1 MB, free: 1.309 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.004199, allocations: 92.06 kB / 431.2 MB, free: 1.215 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.004216, allocations: 11.91 kB / 431.2 MB, free: 1.203 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.004242, allocations: 17.7 kB / 431.2 MB, free: 1.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.612e-05/0.004308, allocations: 322.8 kB / 431.5 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.004319, allocations: 2.828 kB / 431.5 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-06/0.004328, allocations: 4 kB / 431.5 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.8e-05/0.004356, allocations: 23.61 kB / 431.6 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.004358, allocations: 0 / 431.6 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.131e-05/0.0044, allocations: 37.69 kB / 431.6 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.00441, allocations: 4 kB / 431.6 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.004415, allocations: 4 kB / 431.6 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.004429, allocations: 3.938 kB / 431.6 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.278e-05/0.004491, allocations: 11.98 kB / 431.6 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.004495, allocations: 4 kB / 431.6 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.004515, allocations: 4 kB / 431.6 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.00452, allocations: 0 / 431.6 MB, free: 0.7461 MB / 410.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 4.476e-05/0.004565, allocations: 116.7 kB / 431.7 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.004578, allocations: 7.984 kB / 431.7 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.25e-05/0.004641, allocations: 45.62 kB / 431.8 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.004643, allocations: 7.938 kB / 431.8 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.004645, allocations: 7.922 kB / 431.8 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.004647, allocations: 0 / 431.8 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.598e-05/0.004723, allocations: 73.89 kB / 431.9 MB, free: 468 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.004725, allocations: 7.984 kB / 431.9 MB, free: 460 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-05/0.004753, allocations: 8 kB / 431.9 MB, free: 452 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-06/0.004759, allocations: 7.953 kB / 431.9 MB, free: 444 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.81e-07/0.00476, allocations: 0 / 431.9 MB, free: 444 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-06/0.004764, allocations: 0 / 431.9 MB, free: 444 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.004765, allocations: 3.984 kB / 431.9 MB, free: 440 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.004767, allocations: 3.938 kB / 431.9 MB, free: 436 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.62e-05/0.004844, allocations: 182.6 kB / 432.1 MB, free: 236 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-06/0.004851, allocations: 4 kB / 432.1 MB, free: 232 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.456e-05/0.004886, allocations: 8 kB / 432.1 MB, free: 224 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.004912, allocations: 11.98 kB / 432.1 MB, free: 212 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.004915, allocations: 3.938 kB / 432.1 MB, free: 208 kB / 410.7 MB Notification: Performance of sorting global known variables: time 1.718e-05/0.004933, allocations: 20.84 kB / 432.1 MB, free: 184 kB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004933, allocations: 0 / 432.1 MB, free: 184 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001158/0.005048, allocations: 11.94 kB / 432.1 MB, free: 172 kB / 410.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.409e-05/0.005133, allocations: 96.42 kB / 432.2 MB, free: 64 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.277e-05/0.005185, allocations: 12.86 kB / 432.2 MB, free: 48 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.005191, allocations: 0 / 432.2 MB, free: 48 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.476e-05/0.005216, allocations: 15.69 kB / 432.3 MB, free: 28 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1541/0.1594, allocations: 71.39 kB / 432.3 MB, free: 2.941 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.1598, allocations: 147.5 kB / 432.5 MB, free: 2.824 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.533e-05/0.1598, allocations: 60.52 kB / 432.5 MB, free: 2.754 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.237e-05/0.1598, allocations: 1.5 kB / 432.5 MB, free: 2.754 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.1599, allocations: 55.44 kB / 432.6 MB, free: 2.711 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1599, allocations: 0 / 432.6 MB, free: 2.711 MB / 410.7 MB Notification: Performance of Templates: time 0.002182/0.1621, allocations: 0.8153 MB / 433.4 MB, free: 2.688 MB / 410.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.342080492526293]