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.001481/0.001481, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001123/0.001123, allocations: 165 kB / 23.02 MB, free: 1.551 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 1.054/1.054, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.001676/0.001676, allocations: 236.9 kB / 260.2 MB, free: 12.82 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.7443/0.7443, allocations: 138.4 MB / 455.2 MB, free: 1.523 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.553e-06/1.553e-06, allocations: 0 / 0.5551 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.484e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.5 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.001977/0.002002, allocations: 1.541 MB / 0.5566 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002636/0.002265, allocations: 108.6 kB / 0.5567 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/0.002298, allocations: 0 / 0.5567 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.754e-05/0.002345, allocations: 3.938 kB / 0.5567 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.389e-05/0.002399, allocations: 15.88 kB / 0.5567 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.002599, allocations: 19.97 kB / 0.5568 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.117e-05/0.00267, allocations: 43.84 kB / 0.5568 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.185e-05/0.002752, allocations: 7.984 kB / 0.5568 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.158e-05/0.002803, allocations: 19.98 kB / 0.5568 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.149e-05/0.002845, allocations: 23.91 kB / 0.5569 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.002861, allocations: 4 kB / 0.5569 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.382e-05/0.002925, allocations: 23.92 kB / 0.5569 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.002967, allocations: 11.98 kB / 0.5569 GB, free: 14.66 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.002988, allocations: 19.94 kB / 0.5569 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.003106, allocations: 55.73 kB / 0.557 GB, free: 14.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003108, allocations: 4 kB / 0.557 GB, free: 14.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.003109, allocations: 0 / 0.557 GB, free: 14.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.003112, allocations: 0 / 0.557 GB, free: 14.59 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.0004112/0.003524, allocations: 392.4 kB / 0.5573 GB, free: 14.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.00356, allocations: 12.75 kB / 0.5574 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.003594, allocations: 8.891 kB / 0.5574 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.991e-05/0.003674, allocations: 112.6 kB / 0.5575 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.003684, allocations: 384 / 0.5575 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.003696, allocations: 8.375 kB / 0.5575 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.003829, allocations: 66.92 kB / 0.5575 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.003844, allocations: 4.172 kB / 0.5575 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.003853, allocations: 384 / 0.5575 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.003861, allocations: 4.375 kB / 0.5576 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.427e-05/0.003896, allocations: 15.88 kB / 0.5576 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.004178, allocations: 267.8 kB / 0.5578 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.69e-05/0.004244, allocations: 35.06 kB / 0.5579 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.004267, allocations: 11.69 kB / 0.5579 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.004399, allocations: 32.06 kB / 0.5579 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.004419, allocations: 45.33 kB / 0.5579 GB, free: 13.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.00442, allocations: 0 / 0.5579 GB, free: 13.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001479/0.004568, allocations: 53.58 kB / 0.558 GB, free: 13.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.004592, allocations: 55.41 kB / 0.558 GB, free: 13.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.958e-05/0.004672, allocations: 184.7 kB / 0.5582 GB, free: 13.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.004683, allocations: 29.7 kB / 0.5583 GB, free: 13.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.004728, allocations: 138.8 kB / 0.5584 GB, free: 12.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.004745, allocations: 23.83 kB / 0.5584 GB, free: 12.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.004772, allocations: 19.38 kB / 0.5584 GB, free: 12.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.004877, allocations: 496.1 kB / 0.5589 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.004896, allocations: 11.98 kB / 0.5589 GB, free: 12.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.206e-05/0.004908, allocations: 0 / 0.5589 GB, free: 12.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.329e-05/0.004941, allocations: 23.62 kB / 0.5589 GB, free: 12.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.004943, allocations: 0 / 0.5589 GB, free: 12.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.966e-05/0.005002, allocations: 41.69 kB / 0.559 GB, free: 12.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.005015, allocations: 7.938 kB / 0.559 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.005021, allocations: 4 kB / 0.559 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.005034, allocations: 0 / 0.559 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.164e-05/0.005106, allocations: 19.98 kB / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.00511, allocations: 0 / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.005132, allocations: 4 kB / 0.559 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.005138, allocations: 0 / 0.559 GB, free: 12.29 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.652e-05/0.005194, allocations: 156.6 kB / 0.5592 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.005209, allocations: 7.891 kB / 0.5592 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.457e-05/0.005304, allocations: 61.61 kB / 0.5592 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005306, allocations: 0 / 0.5592 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.005308, allocations: 0 / 0.5592 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.005311, allocations: 4.375 kB / 0.5592 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.49e-05/0.005406, allocations: 128.6 kB / 0.5593 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005407, allocations: 0 / 0.5593 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.842e-05/0.005435, allocations: 8 kB / 0.5594 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.005438, allocations: 0 / 0.5594 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.005443, allocations: 0 / 0.5594 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.005445, allocations: 3.938 kB / 0.5594 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.005447, allocations: 4 kB / 0.5594 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.793e-05/0.005545, allocations: 203.8 kB / 0.5596 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.005554, allocations: 11.94 kB / 0.5596 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-06/0.005563, allocations: 0 / 0.5596 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.274e-05/0.005606, allocations: 11.94 kB / 0.5596 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.005639, allocations: 3.984 kB / 0.5596 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.005643, allocations: 4 kB / 0.5596 GB, free: 11.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.926e-05/0.005682, allocations: 135.2 kB / 0.5597 GB, free: 11.49 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005682, allocations: 0 / 0.5597 GB, free: 11.49 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001495/0.005832, allocations: 15.94 kB / 0.5597 GB, free: 11.48 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.0001001/0.005932, allocations: 103.2 kB / 0.5598 GB, free: 11.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.902e-05/0.006011, allocations: 23.61 kB / 0.5599 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.006012, allocations: 0 / 0.5599 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.153e-05/0.006034, allocations: 15.69 kB / 0.5599 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.006213, allocations: 14.95 kB / 0.5599 GB, free: 11.31 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002539/0.006466, allocations: 141.2 kB / 0.56 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.363e-05/0.0065, allocations: 59.34 kB / 0.5601 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.74e-05/0.006517, allocations: 4 kB / 0.5601 GB, free: 11.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.006541, allocations: 12.5 kB / 0.5601 GB, free: 11.05 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/0.006542, allocations: 8 kB / 0.5601 GB, free: 11.04 MB / 490.7 MB Notification: Performance of Templates: time 0.002326/0.008868, allocations: 0.8647 MB / 0.5609 GB, free: 10.19 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.8921790360473096]