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.00103/0.00103, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.0009642/0.0009643, allocations: 196 kB / 17.98 MB, free: 5.031 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.272/1.272, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.716/0.716, allocations: 115.1 MB / 406.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.91 kB / 494.8 MB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.364, allocations: 76.14 MB / 0.5576 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.0031/0.3671, allocations: 1.477 MB / 0.559 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003211/0.3675, allocations: 113.8 kB / 0.5591 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.3675, allocations: 0 / 0.5591 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.124e-05/0.3676, allocations: 4.875 kB / 0.5591 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.454e-05/0.3677, allocations: 12.2 kB / 0.5591 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.3679, allocations: 21.3 kB / 0.5591 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.793e-05/0.3681, allocations: 43.59 kB / 0.5592 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.3682, allocations: 14.94 kB / 0.5592 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.3682, allocations: 18.27 kB / 0.5592 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.801e-05/0.3683, allocations: 19.62 kB / 0.5592 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3683, allocations: 3.781 kB / 0.5592 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.383e-05/0.3684, allocations: 20.31 kB / 0.5593 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/0.3685, allocations: 15.11 kB / 0.5593 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.3685, allocations: 25.86 kB / 0.5593 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.3687, allocations: 59.09 kB / 0.5594 GB, free: 35.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3687, allocations: 0 / 0.5594 GB, free: 35.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3687, allocations: 1.406 kB / 0.5594 GB, free: 35.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3687, allocations: 0 / 0.5594 GB, free: 35.39 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.000479/0.3692, allocations: 377.7 kB / 0.5597 GB, free: 35.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3692, allocations: 9.281 kB / 0.5597 GB, free: 35.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.3693, allocations: 9.25 kB / 0.5597 GB, free: 35.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.747e-05/0.3694, allocations: 182.2 kB / 0.5599 GB, free: 34.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3694, allocations: 1.281 kB / 0.5599 GB, free: 34.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.3694, allocations: 3.562 kB / 0.5599 GB, free: 34.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.3697, allocations: 74.14 kB / 0.56 GB, free: 34.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.3697, allocations: 2.844 kB / 0.56 GB, free: 34.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3697, allocations: 5.156 kB / 0.56 GB, free: 34.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3697, allocations: 3.219 kB / 0.56 GB, free: 34.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.37, allocations: 75.67 kB / 0.5601 GB, free: 34.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.3704, allocations: 281.1 kB / 0.5603 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.3706, allocations: 70.2 kB / 0.5604 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.3707, allocations: 45.72 kB / 0.5605 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002296/0.371, allocations: 110.3 kB / 0.5606 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.371, allocations: 31.12 kB / 0.5606 GB, free: 34.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.371, allocations: 1.75 kB / 0.5606 GB, free: 34.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005731/0.3716, allocations: 149.2 kB / 0.5607 GB, free: 34.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.3716, allocations: 55.91 kB / 0.5608 GB, free: 34.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.3717, allocations: 128.9 kB / 0.5609 GB, free: 34.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.3718, allocations: 31.33 kB / 0.5609 GB, free: 34.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.3718, allocations: 92.44 kB / 0.561 GB, free: 33.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.3718, allocations: 13.5 kB / 0.561 GB, free: 33.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.3719, allocations: 14.83 kB / 0.5611 GB, free: 33.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.3719, allocations: 318.9 kB / 0.5614 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.3721, allocations: 35.89 kB / 0.5614 GB, free: 33.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.3723, allocations: 38.48 kB / 0.5614 GB, free: 33.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.3725, allocations: 83.59 kB / 0.5615 GB, free: 33.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3725, allocations: 3.938 kB / 0.5615 GB, free: 33.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000314/0.3729, allocations: 110 kB / 0.5616 GB, free: 33.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3729, allocations: 5.656 kB / 0.5616 GB, free: 33.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3729, allocations: 0.5938 kB / 0.5616 GB, free: 33.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3729, allocations: 0 / 0.5616 GB, free: 33.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.373, allocations: 16.66 kB / 0.5616 GB, free: 33.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3731, allocations: 7.156 kB / 0.5616 GB, free: 33.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/0.3731, allocations: 19.03 kB / 0.5617 GB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.3732, allocations: 3.578 kB / 0.5617 GB, free: 33.5 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.001e-05/0.3732, allocations: 118.5 kB / 0.5618 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.3732, allocations: 4.141 kB / 0.5618 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.3736, allocations: 120.1 kB / 0.5619 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3736, allocations: 2.875 kB / 0.5619 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3736, allocations: 0 / 0.5619 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3736, allocations: 0.625 kB / 0.5619 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.3738, allocations: 187.7 kB / 0.5621 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3738, allocations: 2.906 kB / 0.5621 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.837e-05/0.3739, allocations: 18.88 kB / 0.5621 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3739, allocations: 2.047 kB / 0.5621 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.3739, allocations: 1.094 kB / 0.5621 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3739, allocations: 0 / 0.5621 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3739, allocations: 2.016 kB / 0.5621 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.3742, allocations: 211.2 kB / 0.5623 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.55e-05/0.3743, allocations: 82.97 kB / 0.5624 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.3743, allocations: 2.141 kB / 0.5624 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.803e-05/0.3744, allocations: 10.77 kB / 0.5624 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.3744, allocations: 12.64 kB / 0.5624 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.3744, allocations: 2.875 kB / 0.5624 GB, free: 32.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.179e-05/0.3745, allocations: 101.1 kB / 0.5625 GB, free: 32.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3745, allocations: 0 / 0.5625 GB, free: 32.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.3747, allocations: 10.38 kB / 0.5625 GB, free: 32.79 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.0001243/0.3748, allocations: 104 kB / 0.5626 GB, free: 32.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003258/0.3752, allocations: 82.86 kB / 0.5627 GB, free: 32.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3752, allocations: 0 / 0.5627 GB, free: 32.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.3753, allocations: 40.05 kB / 0.5627 GB, free: 32.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.3756, allocations: 20.92 kB / 0.5628 GB, free: 32.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.3759, allocations: 148.6 kB / 0.5629 GB, free: 32.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.376, allocations: 0.6856 MB / 0.5636 GB, free: 31.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.581e-05/0.376, allocations: 3.938 kB / 0.5636 GB, free: 31.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.3761, allocations: 9.344 kB / 0.5636 GB, free: 31.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3761, allocations: 1.875 kB / 0.5636 GB, free: 31.84 MB / 446.1 MB Notification: Performance of Templates: time 0.002961/0.379, allocations: 0.8002 MB / 0.5644 GB, free: 31.78 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)