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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009809/0.0009809, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4977/0.4977, allocations: 90.91 MB / 99.34 MB, free: 2.219 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 221.5 MB / 343.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008959/0.0008958, allocations: 93.47 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.814e-05/1.814e-05, allocations: 4 kB / 494.5 MB, free: 52.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1345, allocations: 72.32 MB / 0.5535 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4264/0.561, allocations: 100.8 MB / 0.652 GB, free: 9.395 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.5612, allocations: 73.08 kB / 0.6521 GB, free: 9.355 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003071/0.5643, allocations: 1.076 MB / 0.6531 GB, free: 8.379 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5644, allocations: 4 kB / 0.6531 GB, free: 8.375 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.5644, allocations: 0 / 0.6531 GB, free: 8.375 MB / 458.7 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.0004396/0.5648, allocations: 378.1 kB / 0.6535 GB, free: 7.969 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.5649, allocations: 8.031 kB / 0.6535 GB, free: 7.961 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.5649, allocations: 11.86 kB / 0.6535 GB, free: 7.949 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.565, allocations: 167 kB / 0.6537 GB, free: 7.746 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.565, allocations: 4 kB / 0.6537 GB, free: 7.742 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.5651, allocations: 8.672 kB / 0.6537 GB, free: 7.734 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000109/0.5652, allocations: 30.61 kB / 0.6537 GB, free: 7.715 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.923e-05/0.5653, allocations: 52.3 kB / 0.6538 GB, free: 7.664 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.5653, allocations: 0 / 0.6538 GB, free: 7.664 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.5653, allocations: 4 kB / 0.6538 GB, free: 7.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.5653, allocations: 7.953 kB / 0.6538 GB, free: 7.652 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.5658, allocations: 291.2 kB / 0.654 GB, free: 7.348 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.081e-05/0.5659, allocations: 53.38 kB / 0.6541 GB, free: 7.297 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.835e-05/0.566, allocations: 24.5 kB / 0.6541 GB, free: 7.273 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.5662, allocations: 108.3 kB / 0.6542 GB, free: 7.152 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.5662, allocations: 37.3 kB / 0.6543 GB, free: 7.109 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.5662, allocations: 0 / 0.6543 GB, free: 7.109 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002393/0.5664, allocations: 75.92 kB / 0.6543 GB, free: 7.039 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.5665, allocations: 55.41 kB / 0.6544 GB, free: 6.973 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.641e-05/0.5666, allocations: 113.4 kB / 0.6545 GB, free: 6.863 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.5666, allocations: 25.7 kB / 0.6545 GB, free: 6.832 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.5667, allocations: 94.8 kB / 0.6546 GB, free: 6.742 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.5667, allocations: 3.906 kB / 0.6546 GB, free: 6.738 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.5667, allocations: 0 / 0.6546 GB, free: 6.738 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5668, allocations: 322 kB / 0.6549 GB, free: 6.418 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.897e-05/0.5669, allocations: 11.19 kB / 0.6549 GB, free: 6.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.861e-05/0.5669, allocations: 26.3 kB / 0.6549 GB, free: 6.391 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.187e-05/0.567, allocations: 22.36 kB / 0.655 GB, free: 6.375 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.567, allocations: 0 / 0.655 GB, free: 6.375 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001463/0.5671, allocations: 79.12 kB / 0.655 GB, free: 6.301 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5672, allocations: 4 kB / 0.6551 GB, free: 6.297 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5672, allocations: 0 / 0.6551 GB, free: 6.297 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.5672, allocations: 0 / 0.6551 GB, free: 6.297 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.5673, allocations: 19.98 kB / 0.6551 GB, free: 6.277 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.5673, allocations: 4 kB / 0.6551 GB, free: 6.273 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.815e-05/0.5674, allocations: 23.92 kB / 0.6551 GB, free: 6.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.5675, allocations: 4 kB / 0.6551 GB, free: 6.246 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.476e-05/0.5675, allocations: 101 kB / 0.6552 GB, free: 6.141 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.5676, allocations: 4 kB / 0.6552 GB, free: 6.137 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.5678, allocations: 92.03 kB / 0.6553 GB, free: 6.051 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5678, allocations: 7.938 kB / 0.6553 GB, free: 6.043 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5678, allocations: 0 / 0.6553 GB, free: 6.043 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.5678, allocations: 0 / 0.6553 GB, free: 6.043 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.568, allocations: 159 kB / 0.6554 GB, free: 5.859 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.568, allocations: 2.688 kB / 0.6554 GB, free: 5.859 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.5681, allocations: 23.97 kB / 0.6555 GB, free: 5.836 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.5681, allocations: 240 / 0.6555 GB, free: 5.836 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.5681, allocations: 0 / 0.6555 GB, free: 5.836 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.5681, allocations: 8 kB / 0.6555 GB, free: 5.828 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5681, allocations: 0 / 0.6555 GB, free: 5.828 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.5683, allocations: 176.9 kB / 0.6556 GB, free: 5.652 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.5684, allocations: 88.89 kB / 0.6557 GB, free: 5.547 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.5684, allocations: 0 / 0.6557 GB, free: 5.547 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.5685, allocations: 15.98 kB / 0.6557 GB, free: 5.531 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.5686, allocations: 11.98 kB / 0.6558 GB, free: 5.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.5686, allocations: 3.938 kB / 0.6558 GB, free: 5.516 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.251e-05/0.5687, allocations: 94.78 kB / 0.6559 GB, free: 5.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5687, allocations: 0 / 0.6559 GB, free: 5.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.5689, allocations: 11.98 kB / 0.6559 GB, free: 5.418 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001517/0.5691, allocations: 103.2 kB / 0.656 GB, free: 5.309 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.357e-05/0.5692, allocations: 28.38 kB / 0.656 GB, free: 5.289 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5692, allocations: 0 / 0.656 GB, free: 5.289 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.635e-05/0.5692, allocations: 26.17 kB / 0.656 GB, free: 5.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.5694, allocations: 7.891 kB / 0.656 GB, free: 5.262 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000234/0.5696, allocations: 92.36 kB / 0.6561 GB, free: 5.156 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.5699, allocations: 0.6885 MB / 0.6568 GB, free: 4.441 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.017e-05/0.5699, allocations: 0 / 0.6568 GB, free: 4.441 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.57, allocations: 11.44 kB / 0.6568 GB, free: 4.43 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.57, allocations: 7.938 kB / 0.6568 GB, free: 4.422 MB / 458.7 MB Notification: Performance of Templates: time 0.002392/0.5724, allocations: 0.6021 MB / 0.6574 GB, free: 3.84 MB / 458.7 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)