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.001066/0.001067, allocations: 113 kB / 16.41 MB, free: 6.492 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.001032/0.001033, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7377/0.7377, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 64.2 kB / 0.5577 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1636, allocations: 76.2 MB / 0.6321 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002881/0.1665, allocations: 1.463 MB / 0.6335 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003738/0.1669, allocations: 112.6 kB / 0.6336 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.1669, allocations: 0 / 0.6336 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.227e-05/0.167, allocations: 3.938 kB / 0.6336 GB, free: 2.828 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.138e-05/0.1671, allocations: 15.86 kB / 0.6336 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.1674, allocations: 19.97 kB / 0.6337 GB, free: 2.793 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.268e-05/0.1674, allocations: 43.91 kB / 0.6337 GB, free: 2.75 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1676, allocations: 8 kB / 0.6337 GB, free: 2.742 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.603e-05/0.1676, allocations: 15.92 kB / 0.6337 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.988e-05/0.1677, allocations: 27.92 kB / 0.6338 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1677, allocations: 7.938 kB / 0.6338 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.62e-05/0.1678, allocations: 19.98 kB / 0.6338 GB, free: 2.672 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.1678, allocations: 23.84 kB / 0.6338 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.1679, allocations: 19.86 kB / 0.6338 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.168, allocations: 55.81 kB / 0.6339 GB, free: 2.574 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.168, allocations: 0 / 0.6339 GB, free: 2.574 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.168, allocations: 0 / 0.6339 GB, free: 2.574 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.168, allocations: 0 / 0.6339 GB, free: 2.574 MB / 478.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.000524/0.1686, allocations: 383.2 kB / 0.6342 GB, free: 2.148 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1686, allocations: 8.031 kB / 0.6342 GB, free: 2.141 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.1686, allocations: 8.844 kB / 0.6343 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.1688, allocations: 176.3 kB / 0.6344 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1688, allocations: 384 / 0.6344 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.1688, allocations: 4.375 kB / 0.6344 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.1691, allocations: 82.14 kB / 0.6345 GB, free: 1.832 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1691, allocations: 4.188 kB / 0.6345 GB, free: 1.828 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1691, allocations: 7.938 kB / 0.6345 GB, free: 1.82 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.1691, allocations: 4 kB / 0.6345 GB, free: 1.816 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.1694, allocations: 67.92 kB / 0.6346 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.1698, allocations: 292.8 kB / 0.6349 GB, free: 1.414 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.1701, allocations: 66.47 kB / 0.6349 GB, free: 1.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.1702, allocations: 48.86 kB / 0.635 GB, free: 1.289 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.1705, allocations: 105.1 kB / 0.6351 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1705, allocations: 38.55 kB / 0.6351 GB, free: 1.121 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.1705, allocations: 0 / 0.6351 GB, free: 1.121 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005765/0.1711, allocations: 145.6 kB / 0.6353 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.1712, allocations: 51.41 kB / 0.6353 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.965e-05/0.1713, allocations: 137.8 kB / 0.6354 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1713, allocations: 25.7 kB / 0.6355 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.1713, allocations: 96.05 kB / 0.6356 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.1714, allocations: 7.844 kB / 0.6356 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.1714, allocations: 17.72 kB / 0.6356 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1715, allocations: 314.8 kB / 0.6359 GB, free: 296 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.1717, allocations: 43.89 kB / 0.6359 GB, free: 252 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.1718, allocations: 35.97 kB / 0.636 GB, free: 216 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.1721, allocations: 76.78 kB / 0.636 GB, free: 136 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1721, allocations: 3.938 kB / 0.636 GB, free: 132 kB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003224/0.1724, allocations: 117.5 kB / 0.6361 GB, free: 8 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1725, allocations: 4 kB / 0.6361 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1725, allocations: 0 / 0.6361 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1725, allocations: 0 / 0.6361 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.1726, allocations: 16.05 kB / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1727, allocations: 3.938 kB / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.104e-05/0.1727, allocations: 19.91 kB / 0.6362 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1728, allocations: 7.938 kB / 0.6362 GB, free: 15.96 MB / 494.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 8.599e-05/0.1729, allocations: 113.8 kB / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.1729, allocations: 0 / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.1733, allocations: 121.8 kB / 0.6364 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.1733, allocations: 8.031 kB / 0.6364 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1733, allocations: 4 kB / 0.6364 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1733, allocations: 0 / 0.6364 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.1735, allocations: 181.5 kB / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1735, allocations: 4 kB / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.473e-05/0.1736, allocations: 11.98 kB / 0.6366 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1736, allocations: 0 / 0.6366 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.1736, allocations: 0 / 0.6366 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.1736, allocations: 11.94 kB / 0.6366 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1736, allocations: 0 / 0.6366 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.174, allocations: 207.4 kB / 0.6368 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.1741, allocations: 81.02 kB / 0.6369 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.1741, allocations: 4 kB / 0.6369 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.1742, allocations: 7.984 kB / 0.6369 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.1742, allocations: 11.98 kB / 0.6369 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.1742, allocations: 4 kB / 0.6369 GB, free: 15.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.764e-05/0.1743, allocations: 97.27 kB / 0.637 GB, free: 15 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.765e-06/0.1743, allocations: 0 / 0.637 GB, free: 15 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.1746, allocations: 23.88 kB / 0.637 GB, free: 14.98 MB / 494.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.0001395/0.1747, allocations: 99.23 kB / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.1751, allocations: 83.86 kB / 0.6372 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1751, allocations: 0 / 0.6372 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.1752, allocations: 43.95 kB / 0.6373 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.1755, allocations: 14.31 kB / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.1759, allocations: 141.6 kB / 0.6374 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.1762, allocations: 0.6924 MB / 0.6381 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.035e-05/0.1763, allocations: 0 / 0.6381 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.1763, allocations: 15.44 kB / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1763, allocations: 0 / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of Templates: time 0.003/0.1793, allocations: 0.8031 MB / 0.6389 GB, free: 13.04 MB / 494.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)