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.0009341/0.0009341, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009043/0.0009043, allocations: 173 kB / 23.36 MB, free: 1.129 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.049/1.049, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.002422/0.002422, allocations: 253.8 kB / 260.5 MB, free: 12.7 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.7535/0.7535, allocations: 138.4 MB / 402.2 MB, free: 0.5469 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.603e-06/1.603e-06, allocations: 0 / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.375e-05, allocations: 3.078 kB / 462.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002292/0.002316, allocations: 1.547 MB / 463.9 MB, free: 15.89 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002983/0.002614, allocations: 114.1 kB / 464 MB, free: 15.82 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.002646, allocations: 1.469 kB / 464 MB, free: 15.82 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.733e-05/0.002693, allocations: 8.297 kB / 464 MB, free: 15.81 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.971e-05/0.002753, allocations: 7.562 kB / 464 MB, free: 15.81 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.002975, allocations: 30.97 kB / 464 MB, free: 15.79 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.003089, allocations: 44.58 kB / 464.1 MB, free: 15.78 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.003177, allocations: 6.859 kB / 464.1 MB, free: 15.78 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.683e-05/0.003244, allocations: 22.7 kB / 464.1 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.764e-05/0.003291, allocations: 15.88 kB / 464.1 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.00331, allocations: 7.156 kB / 464.1 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.477e-05/0.003375, allocations: 22.77 kB / 464.1 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.003423, allocations: 13.47 kB / 464.1 MB, free: 15.76 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.974e-05/0.003443, allocations: 16.02 kB / 464.2 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.003562, allocations: 49.19 kB / 464.2 MB, free: 15.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.003565, allocations: 4 kB / 464.2 MB, free: 15.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.003566, allocations: 0.6094 kB / 464.2 MB, free: 15.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.00357, allocations: 2.625 kB / 464.2 MB, free: 15.73 MB / 426.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.0003526/0.003923, allocations: 267.9 kB / 464.5 MB, free: 15.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.00396, allocations: 10.16 kB / 464.5 MB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.00399, allocations: 10.91 kB / 464.5 MB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.351e-05/0.004073, allocations: 113.8 kB / 464.6 MB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.004082, allocations: 1.625 kB / 464.6 MB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.004093, allocations: 5.625 kB / 464.6 MB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.004218, allocations: 71.27 kB / 464.7 MB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.004224, allocations: 1.531 kB / 464.7 MB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.004231, allocations: 384 / 464.7 MB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.004237, allocations: 1.969 kB / 464.7 MB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.463e-05/0.004261, allocations: 14.91 kB / 464.7 MB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.004487, allocations: 168.4 kB / 464.9 MB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.92e-05/0.004556, allocations: 72.67 kB / 464.9 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.004573, allocations: 10.48 kB / 465 MB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.004694, allocations: 29.84 kB / 465 MB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.004726, allocations: 33.94 kB / 465 MB, free: 14.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.004727, allocations: 0.5625 kB / 465 MB, free: 14.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001129/0.00484, allocations: 47.59 kB / 465.1 MB, free: 14.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.004869, allocations: 55.34 kB / 465.1 MB, free: 14.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.317e-05/0.004942, allocations: 130.2 kB / 465.2 MB, free: 14.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.004951, allocations: 26.27 kB / 465.3 MB, free: 14.74 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/0.00498, allocations: 86.14 kB / 465.4 MB, free: 14.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.004998, allocations: 15.53 kB / 465.4 MB, free: 14.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.005024, allocations: 19.98 kB / 465.4 MB, free: 14.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.203e-05/0.005096, allocations: 313.6 kB / 465.7 MB, free: 14.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.005109, allocations: 6.141 kB / 465.7 MB, free: 14.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.08e-05/0.005119, allocations: 2.594 kB / 465.7 MB, free: 14.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.742e-05/0.005147, allocations: 21.14 kB / 465.7 MB, free: 14.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.005149, allocations: 0.8125 kB / 465.7 MB, free: 14.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.393e-05/0.005202, allocations: 44.28 kB / 465.8 MB, free: 14.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.005215, allocations: 6.766 kB / 465.8 MB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.005221, allocations: 2.266 kB / 465.8 MB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.005233, allocations: 3.938 kB / 465.8 MB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.0053, allocations: 11.45 kB / 465.8 MB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.005303, allocations: 0 / 465.8 MB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.445e-05/0.005327, allocations: 11.16 kB / 465.8 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.005332, allocations: 5.312 kB / 465.8 MB, free: 14.25 MB / 426.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.114e-05/0.005383, allocations: 111.6 kB / 465.9 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.0054, allocations: 5.141 kB / 465.9 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.032e-05/0.00548, allocations: 54.34 kB / 466 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.005484, allocations: 5.125 kB / 466 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.005486, allocations: 0.75 kB / 466 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.00549, allocations: 1.172 kB / 466 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.288e-05/0.005583, allocations: 79.86 kB / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.005584, allocations: 1.469 kB / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.005622, allocations: 11.34 kB / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.005624, allocations: 1.75 kB / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-06/0.005628, allocations: 0 / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.005629, allocations: 1.219 kB / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.00563, allocations: 0.7031 kB / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.252e-05/0.005723, allocations: 189.8 kB / 466.3 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.005733, allocations: 7.906 kB / 466.3 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-06/0.005742, allocations: 1.312 kB / 466.3 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.662e-05/0.005779, allocations: 6.906 kB / 466.3 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.005808, allocations: 5.625 kB / 466.3 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.005813, allocations: 5.188 kB / 466.3 MB, free: 13.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.676e-05/0.00584, allocations: 22.97 kB / 466.3 MB, free: 13.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.00584, allocations: 0 / 466.3 MB, free: 13.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001282/0.005968, allocations: 16.91 kB / 466.3 MB, free: 13.79 MB / 426.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.0001127/0.006081, allocations: 84.88 kB / 466.4 MB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.138e-05/0.006142, allocations: 16.41 kB / 466.4 MB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.006147, allocations: 5.5 kB / 466.4 MB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.987e-05/0.006167, allocations: 10.95 kB / 466.4 MB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.006306, allocations: 15.75 kB / 466.5 MB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002432/0.006549, allocations: 140.3 kB / 466.6 MB, free: 13.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.623e-05/0.006585, allocations: 64.34 kB / 466.7 MB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.835e-05/0.006604, allocations: 2.562 kB / 466.7 MB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.00665, allocations: 54.3 kB / 466.7 MB, free: 13.45 MB / 426.7 MB Notification: Performance of SimCode: time 7.62e-07/0.006651, allocations: 0.875 kB / 466.7 MB, free: 13.45 MB / 426.7 MB Notification: Performance of Templates: time 0.002599/0.00925, allocations: 0.8138 MB / 467.5 MB, free: 13.27 MB / 426.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.6910422877408564]