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/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 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 106.9 kB / 16.52 MB, free: 6.656 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.001797/0.001797, allocations: 196 kB / 17.44 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7077/0.7077, allocations: 115.3 MB / 406.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 75.88 kB / 493.6 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3663, allocations: 76.16 MB / 0.5564 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002359/0.3687, allocations: 1.541 MB / 0.5579 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003161/0.369, allocations: 115.2 kB / 0.558 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.369, allocations: 2.344 kB / 0.558 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.431e-05/0.3691, allocations: 3.938 kB / 0.558 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.494e-05/0.3692, allocations: 6.219 kB / 0.558 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.3693, allocations: 19.05 kB / 0.558 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.379e-05/0.3694, allocations: 38.91 kB / 0.5581 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.398e-05/0.3695, allocations: 17.69 kB / 0.5581 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.07e-05/0.3695, allocations: 17.38 kB / 0.5581 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.042e-05/0.3696, allocations: 17.7 kB / 0.5581 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.3696, allocations: 3.188 kB / 0.5581 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.401e-05/0.3697, allocations: 19.34 kB / 0.5581 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.3697, allocations: 16.92 kB / 0.5581 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.3698, allocations: 16.55 kB / 0.5582 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.809e-05/0.3699, allocations: 43.78 kB / 0.5582 GB, free: 35.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3699, allocations: 0 / 0.5582 GB, free: 35.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3699, allocations: 1.25 kB / 0.5582 GB, free: 35.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.3699, allocations: 0.75 kB / 0.5582 GB, free: 35.37 MB / 446.1 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.0004415/0.3703, allocations: 379.6 kB / 0.5586 GB, free: 35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3704, allocations: 13.12 kB / 0.5586 GB, free: 34.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.3704, allocations: 9.625 kB / 0.5586 GB, free: 34.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.961e-05/0.3705, allocations: 177.9 kB / 0.5588 GB, free: 34.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3705, allocations: 3.344 kB / 0.5588 GB, free: 34.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.3705, allocations: 1.719 kB / 0.5588 GB, free: 34.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.3708, allocations: 79.7 kB / 0.5588 GB, free: 34.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3708, allocations: 1.594 kB / 0.5588 GB, free: 34.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.3708, allocations: 3.938 kB / 0.5588 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3708, allocations: 1.594 kB / 0.5588 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.3711, allocations: 77.09 kB / 0.5589 GB, free: 34.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.3714, allocations: 278.2 kB / 0.5592 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.3717, allocations: 74.12 kB / 0.5593 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.3718, allocations: 45.11 kB / 0.5593 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.3721, allocations: 112.4 kB / 0.5594 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.3721, allocations: 32.88 kB / 0.5594 GB, free: 34.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.3721, allocations: 3.938 kB / 0.5594 GB, free: 34.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005785/0.3727, allocations: 152 kB / 0.5596 GB, free: 34.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.3727, allocations: 53.16 kB / 0.5596 GB, free: 34.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.934e-05/0.3728, allocations: 125.5 kB / 0.5598 GB, free: 34.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.3728, allocations: 30.58 kB / 0.5598 GB, free: 34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.3729, allocations: 92.66 kB / 0.5599 GB, free: 33.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.3729, allocations: 11.27 kB / 0.5599 GB, free: 33.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.373, allocations: 14.48 kB / 0.5599 GB, free: 33.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.454e-05/0.373, allocations: 323.1 kB / 0.5602 GB, free: 33.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.3732, allocations: 37.33 kB / 0.5602 GB, free: 33.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.3733, allocations: 36.03 kB / 0.5603 GB, free: 33.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.3736, allocations: 80.81 kB / 0.5603 GB, free: 33.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3736, allocations: 5.469 kB / 0.5604 GB, free: 33.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000344/0.374, allocations: 110.4 kB / 0.5605 GB, free: 33.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.374, allocations: 6.688 kB / 0.5605 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.374, allocations: 0.9375 kB / 0.5605 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.374, allocations: 0.6094 kB / 0.5605 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3742, allocations: 17.41 kB / 0.5605 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3742, allocations: 1.531 kB / 0.5605 GB, free: 33.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.385e-05/0.3743, allocations: 19.69 kB / 0.5605 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.3743, allocations: 3.406 kB / 0.5605 GB, free: 33.48 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.614e-05/0.3744, allocations: 119.7 kB / 0.5606 GB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.3744, allocations: 2.688 kB / 0.5606 GB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/0.3748, allocations: 120 kB / 0.5607 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3748, allocations: 7.234 kB / 0.5607 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3748, allocations: 0 / 0.5607 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.3748, allocations: 1.375 kB / 0.5607 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.3749, allocations: 178.3 kB / 0.5609 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.375, allocations: 3.219 kB / 0.5609 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.3751, allocations: 16.09 kB / 0.5609 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3751, allocations: 0 / 0.5609 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3751, allocations: 5.5 kB / 0.5609 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.3751, allocations: 0.6094 kB / 0.5609 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3751, allocations: 0.625 kB / 0.5609 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.3755, allocations: 213.7 kB / 0.5611 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.356e-05/0.3755, allocations: 84 kB / 0.5612 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.3755, allocations: 2.266 kB / 0.5612 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3756, allocations: 11.66 kB / 0.5612 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.3757, allocations: 7.469 kB / 0.5612 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.3757, allocations: 3.672 kB / 0.5612 GB, free: 32.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.563e-05/0.3757, allocations: 107.4 kB / 0.5614 GB, free: 32.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3757, allocations: 0 / 0.5614 GB, free: 32.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000227/0.376, allocations: 13.64 kB / 0.5614 GB, free: 32.76 MB / 446.1 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 (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.0001201/0.3761, allocations: 111.6 kB / 0.5615 GB, free: 32.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003481/0.3765, allocations: 77.88 kB / 0.5615 GB, free: 32.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3765, allocations: 0.5 kB / 0.5615 GB, free: 32.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.3766, allocations: 40.56 kB / 0.5616 GB, free: 32.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.3769, allocations: 12.59 kB / 0.5616 GB, free: 32.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.3772, allocations: 186.1 kB / 0.5618 GB, free: 32.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.3773, allocations: 0.6863 MB / 0.5624 GB, free: 31.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.3774, allocations: 10.44 kB / 0.5625 GB, free: 31.77 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3774, allocations: 1.094 kB / 0.5625 GB, free: 31.77 MB / 446.1 MB Notification: Performance of Templates: time 0.002545/0.3799, allocations: 0.8945 MB / 0.5633 GB, free: 31.75 MB / 446.1 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)