Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.746/1.746, allocations: 285.4 MB / 298 MB, free: 5.93 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.001355/0.001355, allocations: 184.9 kB / 366.4 MB, free: 2.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.1 MB / 0.6248 GB, free: 7.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008701/0.0008704, allocations: 100 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.46e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8453/0.8453, allocations: 115.3 MB / 0.9709 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2177/1.063, allocations: 137.9 MB / 1.106 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/1.063, allocations: 71.95 kB / 1.106 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003259/1.067, allocations: 1.077 MB / 1.107 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.204e-06/1.067, allocations: 0 / 1.107 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.166e-06/1.067, allocations: 0 / 1.107 GB, free: 12.77 MB / 0.7136 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.0004515/1.067, allocations: 377 kB / 1.107 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.067, allocations: 18.5 kB / 1.107 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/1.067, allocations: 0 / 1.107 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/1.067, allocations: 190.6 kB / 1.107 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/1.068, allocations: 0 / 1.107 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/1.068, allocations: 0 / 1.107 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/1.068, allocations: 53.69 kB / 1.107 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/1.068, allocations: 0 / 1.107 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/1.068, allocations: 0.8125 kB / 1.107 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/1.068, allocations: 3.984 kB / 1.107 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.474e-05/1.068, allocations: 28.66 kB / 1.107 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/1.068, allocations: 328.8 kB / 1.108 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/1.069, allocations: 42.56 kB / 1.108 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.503e-05/1.069, allocations: 29.88 kB / 1.108 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/1.069, allocations: 105.7 kB / 1.108 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/1.069, allocations: 36.25 kB / 1.108 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/1.069, allocations: 0 / 1.108 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002063/1.069, allocations: 77.52 kB / 1.108 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/1.069, allocations: 51.41 kB / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.389e-05/1.069, allocations: 111.4 kB / 1.108 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/1.069, allocations: 29.7 kB / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/1.069, allocations: 92.12 kB / 1.108 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/1.069, allocations: 14.5 kB / 1.108 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/1.069, allocations: 4 kB / 1.108 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.069, allocations: 314.8 kB / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.341e-05/1.069, allocations: 15.98 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.956e-05/1.07, allocations: 20 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.716e-05/1.07, allocations: 15.98 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/1.07, allocations: 4 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001071/1.07, allocations: 65.67 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/1.07, allocations: 4 kB / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.07, allocations: 0 / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/1.07, allocations: 3.938 kB / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/1.07, allocations: 19.98 kB / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.07, allocations: 0 / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.187e-05/1.07, allocations: 23.98 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/1.07, allocations: 4 kB / 1.109 GB, free: 10.53 MB / 0.7136 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 () * 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.858e-05/1.07, allocations: 111.5 kB / 1.109 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/1.07, allocations: 10.86 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/1.07, allocations: 73.7 kB / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/1.07, allocations: 0 / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.07, allocations: 1.781 kB / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.07, allocations: 7.984 kB / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/1.071, allocations: 185.6 kB / 1.109 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/1.071, allocations: 0 / 1.109 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/1.071, allocations: 23.92 kB / 1.109 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.071, allocations: 0 / 1.109 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/1.071, allocations: 3 kB / 1.109 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.071, allocations: 0 / 1.109 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/1.071, allocations: 0 / 1.109 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/1.071, allocations: 171.4 kB / 1.109 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/1.071, allocations: 88.95 kB / 1.109 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/1.071, allocations: 3.984 kB / 1.109 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/1.071, allocations: 19.98 kB / 1.109 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/1.071, allocations: 0 / 1.109 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-06/1.071, allocations: 4 kB / 1.109 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.966e-05/1.071, allocations: 99.27 kB / 1.109 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/1.071, allocations: 0 / 1.109 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002112/1.072, allocations: 16 kB / 1.109 GB, free: 9.633 MB / 0.7136 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 () * 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.0001595/1.072, allocations: 103.5 kB / 1.11 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001204/1.072, allocations: 37.39 kB / 1.11 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.072, allocations: 0 / 1.11 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/1.072, allocations: 16 kB / 1.11 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/1.072, allocations: 20.45 kB / 1.11 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/1.072, allocations: 95.19 kB / 1.11 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/1.073, allocations: 0.6887 MB / 1.11 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.637e-05/1.073, allocations: 10.5 kB / 1.11 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/1.073, allocations: 11.38 kB / 1.11 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/1.073, allocations: 0 / 1.11 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of Templates: time 0.002875/1.076, allocations: 0.6476 MB / 1.111 GB, free: 7.996 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)