Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006934/0.0006934, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003904/0.003904, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.16/1.16, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.341/1.341, allocations: 252 MB / 0.5105 GB, free: 4.617 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.0004519, allocations: 16 kB / 0.6249 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3743, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001456/0.3758, allocations: 1.207 MB / 0.7299 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002891/0.3761, allocations: 112.6 kB / 0.73 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.3762, allocations: 0 / 0.73 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.686e-05/0.3762, allocations: 4 kB / 0.73 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-05/0.3763, allocations: 11.92 kB / 0.73 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.3764, allocations: 23.84 kB / 0.73 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.606e-05/0.3765, allocations: 43.86 kB / 0.7301 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.434e-05/0.3766, allocations: 11.98 kB / 0.7301 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.686e-05/0.3766, allocations: 8 kB / 0.7301 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.296e-05/0.3767, allocations: 27.84 kB / 0.7301 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.3767, allocations: 0 / 0.7301 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.368e-05/0.3768, allocations: 19.98 kB / 0.7301 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.969e-05/0.3768, allocations: 7.984 kB / 0.7302 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.3769, allocations: 45.58 kB / 0.7302 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.377, allocations: 59.78 kB / 0.7303 GB, free: 9.699 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.377, allocations: 0 / 0.7303 GB, free: 9.699 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.292e-06/0.377, allocations: 3.938 kB / 0.7303 GB, free: 9.695 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.377, allocations: 0 / 0.7303 GB, free: 9.695 MB / 0.545 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.0004581/0.3774, allocations: 381.3 kB / 0.7306 GB, free: 9.273 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3775, allocations: 12.03 kB / 0.7306 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.3775, allocations: 8.844 kB / 0.7306 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.3776, allocations: 172.2 kB / 0.7308 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3777, allocations: 8.375 kB / 0.7308 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.3777, allocations: 384 / 0.7308 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.3779, allocations: 90.2 kB / 0.7309 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.3779, allocations: 192 / 0.7309 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.378, allocations: 3.938 kB / 0.7309 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.378, allocations: 3.984 kB / 0.7309 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.3783, allocations: 99.86 kB / 0.731 GB, free: 8.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.3786, allocations: 284.9 kB / 0.7313 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.3788, allocations: 82.47 kB / 0.7314 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.379, allocations: 56.86 kB / 0.7314 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001977/0.3792, allocations: 105.1 kB / 0.7315 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.3792, allocations: 38.56 kB / 0.7315 GB, free: 8.195 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3792, allocations: 0 / 0.7315 GB, free: 8.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005467/0.3798, allocations: 177.5 kB / 0.7317 GB, free: 8.016 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.3798, allocations: 51.41 kB / 0.7318 GB, free: 7.953 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.542e-05/0.3799, allocations: 125.8 kB / 0.7319 GB, free: 7.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.38, allocations: 29.7 kB / 0.7319 GB, free: 7.785 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.38, allocations: 100 kB / 0.732 GB, free: 7.684 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.38, allocations: 7.844 kB / 0.732 GB, free: 7.676 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.3801, allocations: 17.72 kB / 0.732 GB, free: 7.652 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.119e-05/0.3802, allocations: 318.8 kB / 0.7323 GB, free: 7.332 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.3803, allocations: 43.97 kB / 0.7324 GB, free: 7.289 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.3805, allocations: 55.95 kB / 0.7324 GB, free: 7.234 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.3808, allocations: 100.7 kB / 0.7325 GB, free: 7.133 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3808, allocations: 3.938 kB / 0.7325 GB, free: 7.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003235/0.3811, allocations: 133.5 kB / 0.7327 GB, free: 6.992 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3811, allocations: 14.02 kB / 0.7327 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3811, allocations: 0 / 0.7327 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.3812, allocations: 0 / 0.7327 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.3813, allocations: 23.98 kB / 0.7327 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3813, allocations: 0 / 0.7327 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.942e-05/0.3814, allocations: 19.98 kB / 0.7327 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3814, allocations: 0 / 0.7327 GB, free: 6.938 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.613e-05/0.3815, allocations: 117.8 kB / 0.7328 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.3815, allocations: 4 kB / 0.7328 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.3819, allocations: 145.4 kB / 0.733 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.3819, allocations: 8 kB / 0.733 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3819, allocations: 0 / 0.733 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3819, allocations: 0 / 0.733 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.3821, allocations: 181.5 kB / 0.7332 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3821, allocations: 0 / 0.7332 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.174e-05/0.3822, allocations: 23.97 kB / 0.7332 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3822, allocations: 384 / 0.7332 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.3822, allocations: 4 kB / 0.7332 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3822, allocations: 4 kB / 0.7332 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3822, allocations: 3.938 kB / 0.7332 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.3826, allocations: 235.3 kB / 0.7334 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.3826, allocations: 85.02 kB / 0.7335 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.3826, allocations: 0 / 0.7335 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.3827, allocations: 23.98 kB / 0.7335 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.3828, allocations: 7.984 kB / 0.7335 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.3828, allocations: 0 / 0.7335 GB, free: 6.008 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.066e-05/0.3828, allocations: 102.8 kB / 0.7336 GB, free: 5.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3828, allocations: 0 / 0.7336 GB, free: 5.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002159/0.3831, allocations: 12 kB / 0.7336 GB, free: 5.898 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000109/0.3832, allocations: 99.25 kB / 0.7337 GB, free: 5.793 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003414/0.3835, allocations: 99.91 kB / 0.7338 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3835, allocations: 0 / 0.7338 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.3837, allocations: 55.91 kB / 0.7339 GB, free: 5.641 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.3839, allocations: 15.92 kB / 0.7339 GB, free: 5.625 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.3842, allocations: 164.7 kB / 0.734 GB, free: 5.441 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.3844, allocations: 0.6848 MB / 0.7347 GB, free: 4.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.564e-05/0.3845, allocations: 3.859 kB / 0.7347 GB, free: 4.727 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.3845, allocations: 15.38 kB / 0.7347 GB, free: 4.711 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.3845, allocations: 0 / 0.7347 GB, free: 4.711 MB / 0.545 GB Notification: Performance of Templates: time 0.002347/0.3869, allocations: 0.6588 MB / 0.7354 GB, free: 4.059 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) Environment - environmentSimulation: