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.001828/0.001828, allocations: 85.48 kB / 19.44 MB, free: 344 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.002013/0.002013, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.583/1.583, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.003259/0.003259, allocations: 230.1 kB / 259.8 MB, free: 12.85 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 1.215/1.215, allocations: 138.5 MB / 454.7 MB, free: 1.508 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.643e-06/1.643e-06, allocations: 0 / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.304e-05/3.469e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002936/0.002971, allocations: 1.499 MB / 0.5558 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003621/0.003333, allocations: 108.5 kB / 0.5559 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.003367, allocations: 0 / 0.5559 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.017e-05/0.003447, allocations: 7.922 kB / 0.5559 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.306e-05/0.00351, allocations: 7.938 kB / 0.5559 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.003743, allocations: 31.89 kB / 0.556 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.975e-05/0.003842, allocations: 39.86 kB / 0.556 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.003938, allocations: 11.98 kB / 0.556 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.822e-05/0.004026, allocations: 23.92 kB / 0.556 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.363e-05/0.00408, allocations: 15.98 kB / 0.556 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.004104, allocations: 4 kB / 0.5561 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.853e-05/0.004183, allocations: 19.98 kB / 0.5561 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.004241, allocations: 15.91 kB / 0.5561 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.004273, allocations: 15.98 kB / 0.5561 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.004445, allocations: 59.8 kB / 0.5562 GB, free: 14.97 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004447, allocations: 4 kB / 0.5562 GB, free: 14.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004448, allocations: 0 / 0.5562 GB, free: 14.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.004452, allocations: 0 / 0.5562 GB, free: 14.97 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.000577/0.005029, allocations: 396 kB / 0.5565 GB, free: 14.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.005079, allocations: 12.75 kB / 0.5566 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.005132, allocations: 8.891 kB / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.005277, allocations: 124.4 kB / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.005296, allocations: 4.375 kB / 0.5567 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.005309, allocations: 4.375 kB / 0.5567 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.005527, allocations: 58.23 kB / 0.5567 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.005538, allocations: 4.172 kB / 0.5567 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.005547, allocations: 384 / 0.5567 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.005551, allocations: 4.312 kB / 0.5568 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.005732, allocations: 47.91 kB / 0.5568 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.006184, allocations: 275.8 kB / 0.5571 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.006367, allocations: 55.03 kB / 0.5571 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.006478, allocations: 31.77 kB / 0.5571 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/0.006671, allocations: 31.97 kB / 0.5572 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.00671, allocations: 33.39 kB / 0.5572 GB, free: 13.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.006711, allocations: 0 / 0.5572 GB, free: 13.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004218/0.007133, allocations: 105.5 kB / 0.5573 GB, free: 13.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.007183, allocations: 55.41 kB / 0.5574 GB, free: 13.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.007364, allocations: 193.9 kB / 0.5575 GB, free: 13.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001635/0.007528, allocations: 29.7 kB / 0.5576 GB, free: 13.35 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.007629, allocations: 138.9 kB / 0.5577 GB, free: 13.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.007664, allocations: 19.84 kB / 0.5577 GB, free: 13.19 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.00771, allocations: 15.38 kB / 0.5577 GB, free: 13.17 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002705/0.007981, allocations: 0.4884 MB / 0.5582 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.835e-05/0.008079, allocations: 23.97 kB / 0.5582 GB, free: 12.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.272e-05/0.008162, allocations: 23.98 kB / 0.5583 GB, free: 12.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.008347, allocations: 51.94 kB / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.008349, allocations: 0 / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002271/0.008576, allocations: 81.59 kB / 0.5584 GB, free: 12.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.008594, allocations: 7.938 kB / 0.5584 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.008598, allocations: 0 / 0.5584 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.008615, allocations: 0 / 0.5584 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.008721, allocations: 11.98 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.008729, allocations: 3.984 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.008782, allocations: 11.94 kB / 0.5584 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.008793, allocations: 8 kB / 0.5584 GB, free: 12.44 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 0.0001182/0.008912, allocations: 156.6 kB / 0.5586 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.008939, allocations: 4 kB / 0.5586 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.009227, allocations: 89.53 kB / 0.5587 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.009229, allocations: 0 / 0.5587 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.009232, allocations: 0 / 0.5587 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.009235, allocations: 0 / 0.5587 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.009417, allocations: 136.6 kB / 0.5588 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.009418, allocations: 0 / 0.5588 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.499e-05/0.009483, allocations: 15.94 kB / 0.5588 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.009491, allocations: 3.984 kB / 0.5588 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.009498, allocations: 0 / 0.5588 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.009501, allocations: 7.938 kB / 0.5588 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.009502, allocations: 0 / 0.5588 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.009817, allocations: 219.9 kB / 0.559 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.009834, allocations: 11.94 kB / 0.559 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.009848, allocations: 0 / 0.559 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.126e-05/0.009929, allocations: 11.94 kB / 0.5591 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.009974, allocations: 11.92 kB / 0.5591 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.009984, allocations: 8 kB / 0.5591 GB, free: 11.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.01009, allocations: 141.9 kB / 0.5592 GB, free: 11.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01009, allocations: 4 kB / 0.5592 GB, free: 11.56 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000222/0.01032, allocations: 8 kB / 0.5592 GB, free: 11.55 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.0001658/0.01048, allocations: 99.19 kB / 0.5593 GB, free: 11.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.01073, allocations: 55.64 kB / 0.5594 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01073, allocations: 4 kB / 0.5594 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.01084, allocations: 31.67 kB / 0.5594 GB, free: 11.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.01109, allocations: 10.97 kB / 0.5594 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.01147, allocations: 153.1 kB / 0.5596 GB, free: 11.17 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.516e-05/0.01156, allocations: 71.58 kB / 0.5596 GB, free: 11.08 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.758e-05/0.01159, allocations: 0 / 0.5596 GB, free: 11.08 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.01162, allocations: 20.5 kB / 0.5597 GB, free: 11.06 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01162, allocations: 0 / 0.5597 GB, free: 11.06 MB / 490.7 MB Notification: Performance of Templates: time 0.004058/0.01568, allocations: 0.8581 MB / 0.5605 GB, free: 10.21 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: 5.8960904880659655]