Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear") translateModel(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008546/0.0008547, allocations: 173.2 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4527/0.4527, allocations: 86.27 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.3 MB / 348.4 MB, free: 4.977 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008086/0.0008085, allocations: 98.16 kB / 420.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004218, allocations: 12 kB / 0.4901 GB, free: 8.008 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3406, allocations: 71.02 MB / 0.5594 GB, free: 43.71 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1255/0.4661, allocations: 100.2 MB / 0.6573 GB, free: 9.332 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.4664, allocations: 79.89 kB / 0.6573 GB, free: 9.254 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003304/0.4697, allocations: 1.086 MB / 0.6584 GB, free: 8.164 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4698, allocations: 0 / 0.6584 GB, free: 8.164 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.4698, allocations: 0 / 0.6584 GB, free: 8.164 MB / 474.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.0004889/0.4703, allocations: 388.1 kB / 0.6588 GB, free: 7.734 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.4703, allocations: 8.031 kB / 0.6588 GB, free: 7.727 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.4704, allocations: 12.84 kB / 0.6588 GB, free: 7.715 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.4706, allocations: 183.5 kB / 0.659 GB, free: 7.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.4706, allocations: 384 / 0.659 GB, free: 7.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.4706, allocations: 4.375 kB / 0.659 GB, free: 7.496 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.4709, allocations: 90.14 kB / 0.6591 GB, free: 7.402 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4709, allocations: 192 / 0.6591 GB, free: 7.402 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.4709, allocations: 3.938 kB / 0.6591 GB, free: 7.398 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.471, allocations: 7.938 kB / 0.6591 GB, free: 7.391 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/0.4713, allocations: 99.91 kB / 0.6592 GB, free: 7.293 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/0.4719, allocations: 316.9 kB / 0.6595 GB, free: 6.934 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.4721, allocations: 90.39 kB / 0.6595 GB, free: 6.836 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.4723, allocations: 56.91 kB / 0.6596 GB, free: 6.777 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/0.4725, allocations: 101.1 kB / 0.6597 GB, free: 6.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.4726, allocations: 38.55 kB / 0.6597 GB, free: 6.613 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 2.104e-06/0.4726, allocations: 0 / 0.6597 GB, free: 6.613 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006326/0.4732, allocations: 189.5 kB / 0.6599 GB, free: 6.422 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.4733, allocations: 55.34 kB / 0.66 GB, free: 6.355 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.4734, allocations: 121.8 kB / 0.6601 GB, free: 6.227 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.4734, allocations: 25.7 kB / 0.6601 GB, free: 6.195 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.4735, allocations: 96.12 kB / 0.6602 GB, free: 6.098 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.4736, allocations: 7.844 kB / 0.6602 GB, free: 6.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.4736, allocations: 0 / 0.6602 GB, free: 6.09 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4737, allocations: 322.8 kB / 0.6605 GB, free: 5.766 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.4739, allocations: 43.97 kB / 0.6606 GB, free: 5.723 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.474, allocations: 55.95 kB / 0.6606 GB, free: 5.668 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.4743, allocations: 100.8 kB / 0.6607 GB, free: 5.566 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.4743, allocations: 7.938 kB / 0.6607 GB, free: 5.559 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003249/0.4747, allocations: 133.5 kB / 0.6608 GB, free: 5.422 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.4747, allocations: 9.875 kB / 0.6609 GB, free: 5.414 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4747, allocations: 3.938 kB / 0.6609 GB, free: 5.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4747, allocations: 336 / 0.6609 GB, free: 5.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.4749, allocations: 23.97 kB / 0.6609 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.371e-06/0.4749, allocations: 0 / 0.6609 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.977e-05/0.475, allocations: 23.98 kB / 0.6609 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.475, allocations: 0 / 0.6609 GB, free: 5.363 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.264e-05/0.4751, allocations: 113.8 kB / 0.661 GB, free: 5.242 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.4751, allocations: 19.81 kB / 0.661 GB, free: 5.223 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003894/0.4755, allocations: 149.5 kB / 0.6612 GB, free: 5.062 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4755, allocations: 0 / 0.6612 GB, free: 5.062 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4755, allocations: 0 / 0.6612 GB, free: 5.062 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4755, allocations: 4 kB / 0.6612 GB, free: 5.059 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.4758, allocations: 181.6 kB / 0.6613 GB, free: 4.832 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4758, allocations: 0 / 0.6613 GB, free: 4.832 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.862e-05/0.4759, allocations: 31.84 kB / 0.6614 GB, free: 4.801 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4759, allocations: 0 / 0.6614 GB, free: 4.801 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.4759, allocations: 4 kB / 0.6614 GB, free: 4.797 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4759, allocations: 0 / 0.6614 GB, free: 4.797 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4759, allocations: 4 kB / 0.6614 GB, free: 4.793 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.4763, allocations: 239.3 kB / 0.6616 GB, free: 4.543 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.4764, allocations: 77.11 kB / 0.6617 GB, free: 4.449 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.4764, allocations: 4 kB / 0.6617 GB, free: 4.445 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.4765, allocations: 15.97 kB / 0.6617 GB, free: 4.43 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.4766, allocations: 4 kB / 0.6617 GB, free: 4.426 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.4766, allocations: 4 kB / 0.6617 GB, free: 4.422 MB / 474.7 MB Notification: Performance of sorting global known variables: time 7.582e-05/0.4767, allocations: 107.2 kB / 0.6618 GB, free: 4.316 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4767, allocations: 0 / 0.6618 GB, free: 4.316 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002599/0.4769, allocations: 8 kB / 0.6618 GB, free: 4.309 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001968/0.4772, allocations: 107.1 kB / 0.6619 GB, free: 4.195 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00035/0.4775, allocations: 103.9 kB / 0.662 GB, free: 4.094 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4775, allocations: 0 / 0.662 GB, free: 4.094 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.4777, allocations: 55.95 kB / 0.6621 GB, free: 4.039 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.4779, allocations: 3.938 kB / 0.6621 GB, free: 4.035 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.4783, allocations: 160.6 kB / 0.6622 GB, free: 3.848 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.4786, allocations: 0.6965 MB / 0.6629 GB, free: 3.125 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.368e-05/0.4786, allocations: 0 / 0.6629 GB, free: 3.125 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.4787, allocations: 7.438 kB / 0.6629 GB, free: 3.117 MB / 474.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4787, allocations: 0 / 0.6629 GB, free: 3.117 MB / 474.7 MB Notification: Performance of Templates: time 0.002962/0.4816, allocations: 0.6448 MB / 0.6636 GB, free: 2.48 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)