Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001079/0.00108, allocations: 97.64 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.006635/0.006636, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 473.4 MB / 0.7469 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003362, allocations: 14.25 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3472, allocations: 162.2 MB / 1.074 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002359/0.3497, allocations: 1.212 MB / 1.075 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003989/0.3501, allocations: 115.7 kB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.3502, allocations: 4 kB / 1.075 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.021e-05/0.3502, allocations: 3.938 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.039e-05/0.3503, allocations: 7.938 kB / 1.075 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.3505, allocations: 15.98 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.535e-05/0.3506, allocations: 43.84 kB / 1.075 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3507, allocations: 19.97 kB / 1.076 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.953e-05/0.3508, allocations: 15.92 kB / 1.076 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/0.3509, allocations: 19.92 kB / 1.076 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3509, allocations: 4 kB / 1.076 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.761e-05/0.351, allocations: 15.98 kB / 1.076 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.351, allocations: 11.98 kB / 1.076 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.792e-05/0.3511, allocations: 53.44 kB / 1.076 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.3512, allocations: 47.86 kB / 1.076 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3512, allocations: 0 / 1.076 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.97e-06/0.3513, allocations: 3.984 kB / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.3513, allocations: 0 / 1.076 GB, free: 6.008 MB / 0.8262 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.0005641/0.3518, allocations: 387.5 kB / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3519, allocations: 8.031 kB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.3519, allocations: 4.938 kB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.3521, allocations: 179.8 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.3521, allocations: 384 / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.3521, allocations: 4.375 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.3524, allocations: 82.22 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.3524, allocations: 192 / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3525, allocations: 11.88 kB / 1.076 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3525, allocations: 4 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/0.3528, allocations: 95.86 kB / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.3533, allocations: 289 kB / 1.077 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.3535, allocations: 74.47 kB / 1.077 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.3538, allocations: 56.91 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003023/0.3541, allocations: 109.1 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.3541, allocations: 30.56 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.3541, allocations: 7.938 kB / 1.077 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.000655/0.3548, allocations: 181.5 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.3548, allocations: 51.41 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.3549, allocations: 125.8 kB / 1.077 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.355, allocations: 25.7 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.355, allocations: 96.08 kB / 1.077 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.3551, allocations: 7.906 kB / 1.077 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.3551, allocations: 13.7 kB / 1.077 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.3552, allocations: 318.8 kB / 1.078 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.3554, allocations: 47.95 kB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.3556, allocations: 47.97 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.3559, allocations: 104.7 kB / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3559, allocations: 3.938 kB / 1.078 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003735/0.3563, allocations: 137.5 kB / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3563, allocations: 4 kB / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3563, allocations: 336 / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3563, allocations: 4 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.3565, allocations: 19.98 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3565, allocations: 7.984 kB / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.731e-05/0.3566, allocations: 15.98 kB / 1.078 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.3566, allocations: 0 / 1.078 GB, free: 3.262 MB / 0.8262 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 0.0001039/0.3567, allocations: 121.8 kB / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.3568, allocations: 11.89 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/0.3572, allocations: 145.4 kB / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3572, allocations: 0 / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3572, allocations: 0 / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3572, allocations: 0 / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.3574, allocations: 189.6 kB / 1.079 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3574, allocations: 3.938 kB / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.3575, allocations: 23.98 kB / 1.079 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3575, allocations: 0 / 1.079 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3575, allocations: 0 / 1.079 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3576, allocations: 0 / 1.079 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3576, allocations: 0 / 1.079 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.358, allocations: 235.2 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.3581, allocations: 81.11 kB / 1.079 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.3581, allocations: 0 / 1.079 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.3582, allocations: 23.97 kB / 1.079 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.3583, allocations: 4 kB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.3583, allocations: 4 kB / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.125e-05/0.3583, allocations: 95.27 kB / 1.079 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.5e-07/0.3583, allocations: 0 / 1.079 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002402/0.3586, allocations: 11.98 kB / 1.079 GB, free: 2.223 MB / 0.8262 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.0001746/0.3588, allocations: 103.2 kB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003899/0.3592, allocations: 99.92 kB / 1.079 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3592, allocations: 0 / 1.079 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.3594, allocations: 55.89 kB / 1.079 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.3597, allocations: 15.88 kB / 1.079 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.3601, allocations: 172.5 kB / 1.079 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.3603, allocations: 0.6848 MB / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.3604, allocations: 7.859 kB / 1.08 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.3604, allocations: 7.438 kB / 1.08 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of SimCode: time 6.402e-06/0.3604, allocations: 4 kB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of Templates: time 0.003065/0.3635, allocations: 0.6564 MB / 1.081 GB, free: 376 kB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)