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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001782/0.001782, allocations: 184 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5304/0.5304, allocations: 91.99 MB / 108.5 MB, free: 13.09 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.636/1.636, allocations: 223.2 MB / 354.3 MB, free: 10.45 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.001108/0.001108, allocations: 112.2 kB / 427.4 MB, free: 2.145 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003393, allocations: 12 kB / 0.4982 GB, free: 42.07 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1405, allocations: 72.31 MB / 0.5689 GB, free: 1.695 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4295/0.57, allocations: 101.5 MB / 0.668 GB, free: 2.871 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.5703, allocations: 71.95 kB / 0.6681 GB, free: 2.801 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003431/0.5737, allocations: 1.093 MB / 0.6692 GB, free: 1.719 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5738, allocations: 4 kB / 0.6692 GB, free: 1.715 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.5738, allocations: 0 / 0.6692 GB, free: 1.715 MB / 458.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.0005374/0.5743, allocations: 387.1 kB / 0.6695 GB, free: 1.293 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.5744, allocations: 12.03 kB / 0.6695 GB, free: 1.281 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.5744, allocations: 7.859 kB / 0.6696 GB, free: 1.273 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.5746, allocations: 171 kB / 0.6697 GB, free: 1.066 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.5747, allocations: 4 kB / 0.6697 GB, free: 1.062 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.5747, allocations: 0 / 0.6697 GB, free: 1.062 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.575, allocations: 89.58 kB / 0.6698 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.575, allocations: 0 / 0.6698 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.5751, allocations: 8 kB / 0.6698 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.5751, allocations: 0 / 0.6698 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/0.5754, allocations: 99.86 kB / 0.6699 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/0.5761, allocations: 328.8 kB / 0.6702 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.5764, allocations: 82.47 kB / 0.6703 GB, free: 412 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002188/0.5766, allocations: 105.2 kB / 0.6704 GB, free: 288 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/0.5767, allocations: 34.56 kB / 0.6704 GB, free: 244 kB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.873e-06/0.5767, allocations: 2.188 kB / 0.6704 GB, free: 244 kB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006615/0.5774, allocations: 193.4 kB / 0.6706 GB, free: 44 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.5775, allocations: 51.41 kB / 0.6707 GB, free: 15.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.5776, allocations: 120.3 kB / 0.6708 GB, free: 15.86 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.5776, allocations: 29.7 kB / 0.6708 GB, free: 15.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.5777, allocations: 88.14 kB / 0.6709 GB, free: 15.73 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.5777, allocations: 7.844 kB / 0.6709 GB, free: 15.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.5778, allocations: 7.938 kB / 0.6709 GB, free: 15.72 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5779, allocations: 318.8 kB / 0.6712 GB, free: 15.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.5781, allocations: 51.95 kB / 0.6713 GB, free: 15.35 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.5782, allocations: 47.95 kB / 0.6713 GB, free: 15.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.5784, allocations: 47.97 kB / 0.6714 GB, free: 15.25 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5784, allocations: 0 / 0.6714 GB, free: 15.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003939/0.5788, allocations: 141.5 kB / 0.6715 GB, free: 15.11 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.5788, allocations: 4 kB / 0.6715 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5788, allocations: 0 / 0.6715 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.5789, allocations: 0 / 0.6715 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.579, allocations: 23.98 kB / 0.6715 GB, free: 15.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.579, allocations: 3.953 kB / 0.6715 GB, free: 15.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.476e-05/0.5791, allocations: 19.98 kB / 0.6715 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.5792, allocations: 4.547 kB / 0.6715 GB, free: 15.05 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 9.967e-05/0.5793, allocations: 121.7 kB / 0.6717 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.5793, allocations: 3.906 kB / 0.6717 GB, free: 14.92 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004474/0.5798, allocations: 153.8 kB / 0.6718 GB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.5798, allocations: 48 / 0.6718 GB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.5798, allocations: 10.61 kB / 0.6718 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5798, allocations: 3.953 kB / 0.6718 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.58, allocations: 177.6 kB / 0.672 GB, free: 14.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.58, allocations: 3.984 kB / 0.672 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.5802, allocations: 19.98 kB / 0.672 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5802, allocations: 0 / 0.672 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.5802, allocations: 8 kB / 0.672 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5802, allocations: 0 / 0.672 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5802, allocations: 0 / 0.672 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.5806, allocations: 235.4 kB / 0.6723 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.5807, allocations: 89 kB / 0.6723 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.5807, allocations: 0 / 0.6723 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.5808, allocations: 19.98 kB / 0.6724 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.5809, allocations: 3.984 kB / 0.6724 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.5809, allocations: 4 kB / 0.6724 GB, free: 14.12 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.713e-05/0.581, allocations: 99.27 kB / 0.6725 GB, free: 14.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.581, allocations: 0 / 0.6725 GB, free: 14.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002233/0.5812, allocations: 8 kB / 0.6725 GB, free: 14.01 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.0002226/0.5814, allocations: 111.1 kB / 0.6726 GB, free: 13.89 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003798/0.5818, allocations: 103.8 kB / 0.6727 GB, free: 13.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5818, allocations: 0 / 0.6727 GB, free: 13.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.582, allocations: 55.97 kB / 0.6727 GB, free: 13.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.5822, allocations: 0 / 0.6727 GB, free: 13.73 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.5825, allocations: 161.2 kB / 0.6729 GB, free: 13.55 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.5828, allocations: 0.6926 MB / 0.6736 GB, free: 12.83 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.634e-05/0.5828, allocations: 3.938 kB / 0.6736 GB, free: 12.83 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.5829, allocations: 11.44 kB / 0.6736 GB, free: 12.82 MB / 474.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5829, allocations: 0 / 0.6736 GB, free: 12.82 MB / 474.7 MB Notification: Performance of Templates: time 0.002872/0.5858, allocations: 0.6445 MB / 0.6742 GB, free: 12.19 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)