Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.713/1.713, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 183.1 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 0.6626 GB, free: 4.352 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007792/0.0007793, allocations: 98.47 kB / 0.7808 GB, free: 43.61 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004099, allocations: 15.94 kB / 0.9088 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6434/0.6438, allocations: 120.3 MB / 1.026 GB, free: 56.62 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1922/0.8361, allocations: 141.2 MB / 1.164 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.8364, allocations: 77.73 kB / 1.164 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003119/0.8395, allocations: 1.085 MB / 1.165 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.976e-06/0.8396, allocations: 0 / 1.165 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.8396, allocations: 4 kB / 1.165 GB, free: 15.87 MB / 0.7448 GB 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.0004287/0.84, allocations: 377.8 kB / 1.166 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.8401, allocations: 12.03 kB / 1.166 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.8401, allocations: 8.828 kB / 1.166 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.8402, allocations: 181.7 kB / 1.166 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.8403, allocations: 4.375 kB / 1.166 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.8403, allocations: 4.375 kB / 1.166 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.8405, allocations: 90.14 kB / 1.166 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.8406, allocations: 1.641 kB / 1.166 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.8406, allocations: 3.938 kB / 1.166 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.8406, allocations: 0 / 1.166 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.8409, allocations: 103.9 kB / 1.166 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/0.8414, allocations: 320.8 kB / 1.166 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.8417, allocations: 94.39 kB / 1.167 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.8418, allocations: 56.91 kB / 1.167 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.842, allocations: 105.1 kB / 1.167 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.842, allocations: 30.56 kB / 1.167 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.842, allocations: 0 / 1.167 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0005528/0.8426, allocations: 190.9 kB / 1.167 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.8426, allocations: 51.41 kB / 1.167 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.8428, allocations: 129.7 kB / 1.167 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.8428, allocations: 25.7 kB / 1.167 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.8429, allocations: 92.12 kB / 1.167 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.8429, allocations: 11.84 kB / 1.167 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.8429, allocations: 0 / 1.167 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.843, allocations: 318.8 kB / 1.167 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.8432, allocations: 51.95 kB / 1.168 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.8433, allocations: 51.97 kB / 1.168 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.8436, allocations: 100.8 kB / 1.168 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.8436, allocations: 3.938 kB / 1.168 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003342/0.844, allocations: 138.4 kB / 1.168 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.844, allocations: 5.719 kB / 1.168 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.844, allocations: 0 / 1.168 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.844, allocations: 4 kB / 1.168 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.8442, allocations: 23.91 kB / 1.168 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.8442, allocations: 12 kB / 1.168 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.357e-05/0.8443, allocations: 19.98 kB / 1.168 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.8443, allocations: 0 / 1.168 GB, free: 13.07 MB / 0.7448 GB 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.065e-05/0.8444, allocations: 117.8 kB / 1.168 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.8444, allocations: 11.91 kB / 1.168 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003876/0.8448, allocations: 146.6 kB / 1.168 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.8448, allocations: 0 / 1.168 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.8449, allocations: 4 kB / 1.168 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.8449, allocations: 4 kB / 1.168 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.8451, allocations: 185.6 kB / 1.168 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8451, allocations: 0 / 1.168 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.8452, allocations: 27.91 kB / 1.168 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.8452, allocations: 0 / 1.168 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.8452, allocations: 3.938 kB / 1.168 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8452, allocations: 0 / 1.168 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8452, allocations: 4 kB / 1.168 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.8456, allocations: 236.7 kB / 1.169 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.8457, allocations: 81.02 kB / 1.169 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.8457, allocations: 3.984 kB / 1.169 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.8458, allocations: 15.98 kB / 1.169 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.8459, allocations: 4 kB / 1.169 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.8459, allocations: 4 kB / 1.169 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.537e-05/0.846, allocations: 105.4 kB / 1.169 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.846, allocations: 0 / 1.169 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002202/0.8462, allocations: 12 kB / 1.169 GB, free: 12.03 MB / 0.7448 GB 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.0001661/0.8464, allocations: 103.7 kB / 1.169 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.8467, allocations: 103.9 kB / 1.169 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.8468, allocations: 0 / 1.169 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.8469, allocations: 51.95 kB / 1.169 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.8471, allocations: 7.938 kB / 1.169 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003619/0.8475, allocations: 166.2 kB / 1.169 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.8478, allocations: 0.6848 MB / 1.17 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.552e-05/0.8479, allocations: 4 kB / 1.17 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.8479, allocations: 11.38 kB / 1.17 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.8479, allocations: 0 / 1.17 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of Templates: time 0.002677/0.8506, allocations: 0.648 MB / 1.171 GB, free: 10.2 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)