Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.633/2.633, allocations: 287.5 MB / 303.2 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 170.3 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009187/0.0009188, allocations: 88.61 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.000477, allocations: 11.97 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2202, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8839/1.104, allocations: 137.8 MB / 1.114 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/1.104, allocations: 78.66 kB / 1.114 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004945/1.109, allocations: 1.074 MB / 1.115 GB, free: 31.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/1.109, allocations: 0 / 1.115 GB, free: 31.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.425e-06/1.109, allocations: 4 kB / 1.115 GB, free: 31.51 MB / 0.698 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.0006244/1.11, allocations: 387.5 kB / 1.115 GB, free: 31.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/1.11, allocations: 10 kB / 1.115 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/1.11, allocations: 8.188 kB / 1.115 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/1.11, allocations: 179 kB / 1.116 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/1.11, allocations: 7.688 kB / 1.116 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/1.11, allocations: 384 / 1.116 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/1.111, allocations: 86.55 kB / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.111, allocations: 192 / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/1.111, allocations: 3.938 kB / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/1.111, allocations: 9.75 kB / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000527/1.111, allocations: 98.7 kB / 1.116 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007145/1.112, allocations: 316.6 kB / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/1.113, allocations: 89.73 kB / 1.116 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/1.113, allocations: 54.12 kB / 1.116 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000249/1.113, allocations: 107.9 kB / 1.116 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/1.113, allocations: 30.56 kB / 1.116 GB, free: 30.44 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.124e-06/1.113, allocations: 0 / 1.116 GB, free: 30.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0009334/1.114, allocations: 193 kB / 1.117 GB, free: 30.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/1.114, allocations: 51.41 kB / 1.117 GB, free: 30.33 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/1.114, allocations: 129.2 kB / 1.117 GB, free: 30.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/1.114, allocations: 25.7 kB / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/1.114, allocations: 90.58 kB / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/1.114, allocations: 13.17 kB / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/1.114, allocations: 0 / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.115, allocations: 323.9 kB / 1.117 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/1.115, allocations: 48.55 kB / 1.117 GB, free: 29.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/1.115, allocations: 52.81 kB / 1.117 GB, free: 29.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/1.116, allocations: 97.92 kB / 1.117 GB, free: 29.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/1.116, allocations: 7.844 kB / 1.117 GB, free: 29.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006163/1.116, allocations: 141 kB / 1.117 GB, free: 29.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.116, allocations: 7.812 kB / 1.117 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.116, allocations: 3.875 kB / 1.117 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/1.116, allocations: 0 / 1.117 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/1.117, allocations: 24.89 kB / 1.117 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/1.117, allocations: 0.625 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/1.117, allocations: 17.05 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/1.117, allocations: 4.203 kB / 1.118 GB, free: 29.73 MB / 0.698 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 0.0001134/1.117, allocations: 118.4 kB / 1.118 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/1.117, allocations: 7.875 kB / 1.118 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006567/1.118, allocations: 161.3 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.118, allocations: 0 / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.118, allocations: 0 / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.118, allocations: 3.844 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/1.118, allocations: 184 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.118, allocations: 2.297 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/1.118, allocations: 25.14 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/1.118, allocations: 0 / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/1.118, allocations: 4 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/1.118, allocations: 5.281 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.118, allocations: 3.984 kB / 1.118 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006477/1.119, allocations: 241.2 kB / 1.118 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/1.119, allocations: 77.11 kB / 1.118 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/1.119, allocations: 0 / 1.118 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/1.119, allocations: 21.02 kB / 1.118 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/1.119, allocations: 11.11 kB / 1.118 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/1.119, allocations: 0 / 1.118 GB, free: 29.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.844e-05/1.119, allocations: 96.45 kB / 1.118 GB, free: 29.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.119, allocations: 0 / 1.118 GB, free: 29.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003125/1.12, allocations: 11.5 kB / 1.118 GB, free: 29.04 MB / 0.698 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.0001681/1.12, allocations: 106.8 kB / 1.119 GB, free: 28.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005963/1.12, allocations: 99.86 kB / 1.119 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.12, allocations: 0 / 1.119 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002757/1.121, allocations: 61.38 kB / 1.119 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/1.121, allocations: 11.03 kB / 1.119 GB, free: 28.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/1.122, allocations: 160.9 kB / 1.119 GB, free: 28.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/1.122, allocations: 0.6935 MB / 1.12 GB, free: 28.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.188e-05/1.122, allocations: 0 / 1.12 GB, free: 28.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/1.122, allocations: 11.31 kB / 1.12 GB, free: 28.09 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/1.122, allocations: 3.938 kB / 1.12 GB, free: 28.08 MB / 0.698 GB Notification: Performance of Templates: time 0.003476/1.125, allocations: 0.6408 MB / 1.12 GB, free: 28.02 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)