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.001775/0.001775, allocations: 88.72 kB / 19.44 MB, free: 356 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.00231/0.00231, allocations: 157.6 kB / 22.76 MB, free: 1.676 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.474/1.474, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.002589/0.002589, allocations: 238 kB / 259.8 MB, free: 12.84 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.075/1.075, allocations: 138.4 MB / 454.7 MB, free: 1.484 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.433e-06/1.433e-06, allocations: 0 / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.387e-05, allocations: 6.25 kB / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002851/0.002875, allocations: 1.499 MB / 0.5558 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003283/0.003203, allocations: 104.5 kB / 0.5559 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.003245, allocations: 0 / 0.5559 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.655e-05/0.003291, allocations: 0 / 0.5559 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.902e-05/0.00335, allocations: 15.86 kB / 0.5559 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.003561, allocations: 27.91 kB / 0.5559 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.758e-05/0.003658, allocations: 47.84 kB / 0.556 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.915e-05/0.003738, allocations: 8 kB / 0.556 GB, free: 15.13 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.322e-05/0.003811, allocations: 27.91 kB / 0.556 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.96e-05/0.00386, allocations: 11.98 kB / 0.556 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.00388, allocations: 4 kB / 0.556 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.8e-05/0.003948, allocations: 19.98 kB / 0.5561 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.196e-05/0.004, allocations: 19.91 kB / 0.5561 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.004031, allocations: 8 kB / 0.5561 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.00419, allocations: 59.8 kB / 0.5561 GB, free: 14.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.004194, allocations: 8 kB / 0.5561 GB, free: 14.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004195, allocations: 0 / 0.5561 GB, free: 14.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.004199, allocations: 0 / 0.5561 GB, free: 14.98 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.0005682/0.004767, allocations: 310 kB / 0.5564 GB, free: 14.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.004806, allocations: 8.75 kB / 0.5565 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.004852, allocations: 8.891 kB / 0.5565 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.004982, allocations: 121.7 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.004998, allocations: 8.359 kB / 0.5566 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.00501, allocations: 4.312 kB / 0.5566 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.005304, allocations: 74.22 kB / 0.5567 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.005311, allocations: 192 / 0.5567 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.005326, allocations: 12.31 kB / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.00533, allocations: 384 / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.005656, allocations: 75.86 kB / 0.5567 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.006029, allocations: 220.6 kB / 0.557 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.006275, allocations: 70.47 kB / 0.557 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.006447, allocations: 40.91 kB / 0.5571 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.006647, allocations: 31.97 kB / 0.5571 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.006686, allocations: 34.56 kB / 0.5571 GB, free: 13.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.006687, allocations: 4 kB / 0.5571 GB, free: 13.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006291/0.007316, allocations: 149.5 kB / 0.5573 GB, free: 13.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.007366, allocations: 55.34 kB / 0.5573 GB, free: 13.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.007501, allocations: 125.8 kB / 0.5574 GB, free: 13.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.007524, allocations: 25.7 kB / 0.5575 GB, free: 13.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.941e-05/0.007594, allocations: 96.14 kB / 0.5576 GB, free: 13.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.007625, allocations: 15.83 kB / 0.5576 GB, free: 13.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.007668, allocations: 17.72 kB / 0.5576 GB, free: 13.34 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.007839, allocations: 318.8 kB / 0.5579 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.008015, allocations: 35.95 kB / 0.5579 GB, free: 12.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.008236, allocations: 35.95 kB / 0.558 GB, free: 12.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.008539, allocations: 80.78 kB / 0.558 GB, free: 12.87 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.00854, allocations: 0 / 0.558 GB, free: 12.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003653/0.008906, allocations: 109.6 kB / 0.5581 GB, free: 12.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.008926, allocations: 11.94 kB / 0.5582 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.008931, allocations: 0 / 0.5582 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.008947, allocations: 0 / 0.5582 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.009087, allocations: 27.97 kB / 0.5582 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.009094, allocations: 3.984 kB / 0.5582 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.455e-05/0.009179, allocations: 11.94 kB / 0.5582 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.00919, allocations: 4 kB / 0.5582 GB, free: 12.7 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 9.68e-05/0.009287, allocations: 113.8 kB / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.009319, allocations: 7.984 kB / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004128/0.009732, allocations: 121.9 kB / 0.5584 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.009735, allocations: 0 / 0.5584 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.009738, allocations: 0 / 0.5584 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.009743, allocations: 4.031 kB / 0.5584 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.009923, allocations: 121.3 kB / 0.5586 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.009924, allocations: 7.938 kB / 0.5586 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.01003, allocations: 15.92 kB / 0.5586 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.01003, allocations: 0 / 0.5586 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.01003, allocations: 0 / 0.5586 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.01004, allocations: 11.94 kB / 0.5586 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01004, allocations: 0 / 0.5586 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.01047, allocations: 203.4 kB / 0.5588 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.01048, allocations: 7.953 kB / 0.5588 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.01049, allocations: 0 / 0.5588 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.01061, allocations: 15.92 kB / 0.5588 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.01065, allocations: 11.98 kB / 0.5588 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.01066, allocations: 4 kB / 0.5588 GB, free: 12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.083e-05/0.01074, allocations: 95.27 kB / 0.5589 GB, free: 11.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01074, allocations: 0 / 0.5589 GB, free: 11.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002448/0.01098, allocations: 8 kB / 0.5589 GB, free: 11.9 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.0001551/0.01114, allocations: 111.1 kB / 0.559 GB, free: 11.78 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003636/0.0115, allocations: 79.92 kB / 0.5591 GB, free: 11.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.0115, allocations: 0 / 0.5591 GB, free: 11.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.01167, allocations: 39.95 kB / 0.5591 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.01193, allocations: 11.12 kB / 0.5592 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.0123, allocations: 159.3 kB / 0.5593 GB, free: 11.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.356e-05/0.01238, allocations: 75.58 kB / 0.5594 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.037e-05/0.01241, allocations: 4 kB / 0.5594 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.01244, allocations: 12.5 kB / 0.5594 GB, free: 11.37 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01244, allocations: 0 / 0.5594 GB, free: 11.37 MB / 490.7 MB Notification: Performance of Templates: time 0.003605/0.01605, allocations: 0.8687 MB / 0.5602 GB, free: 10.51 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4005285979947075]