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.0009632/0.0009632, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 173.1 kB / 16.58 MB, free: 6.848 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.369/1.369, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6902/0.6902, allocations: 115.5 MB / 407.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.00031, allocations: 8 kB / 495.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1351, allocations: 77.54 MB / 0.5593 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.001544/0.1367, allocations: 1.182 MB / 0.5605 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002546/0.137, allocations: 108.5 kB / 0.5606 GB, free: 8.086 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.137, allocations: 0 / 0.5606 GB, free: 8.086 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.137, allocations: 0 / 0.5606 GB, free: 8.086 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.874e-05/0.1371, allocations: 15.92 kB / 0.5606 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.1373, allocations: 15.98 kB / 0.5606 GB, free: 8.055 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.514e-05/0.1373, allocations: 39.84 kB / 0.5607 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.373e-05/0.1374, allocations: 15.98 kB / 0.5607 GB, free: 8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.082e-05/0.1375, allocations: 15.92 kB / 0.5607 GB, free: 7.984 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.382e-05/0.1375, allocations: 19.92 kB / 0.5607 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.1375, allocations: 0 / 0.5607 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.677e-05/0.1376, allocations: 15.98 kB / 0.5607 GB, free: 7.949 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.1376, allocations: 15.92 kB / 0.5607 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.1377, allocations: 33.7 kB / 0.5608 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.124e-05/0.1378, allocations: 35.92 kB / 0.5608 GB, free: 7.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1378, allocations: 0 / 0.5608 GB, free: 7.859 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1378, allocations: 4 kB / 0.5608 GB, free: 7.855 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.1378, allocations: 0 / 0.5608 GB, free: 7.855 MB / 430.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.0004739/0.1383, allocations: 387.3 kB / 0.5612 GB, free: 7.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1383, allocations: 12.03 kB / 0.5612 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.1383, allocations: 0 / 0.5612 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.1384, allocations: 167 kB / 0.5613 GB, free: 7.215 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1385, allocations: 4 kB / 0.5613 GB, free: 7.211 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.1385, allocations: 0 / 0.5613 GB, free: 7.211 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.1387, allocations: 93.58 kB / 0.5614 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1388, allocations: 7.891 kB / 0.5614 GB, free: 7.105 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1388, allocations: 0 / 0.5614 GB, free: 7.105 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1388, allocations: 0 / 0.5614 GB, free: 7.105 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.1391, allocations: 99.92 kB / 0.5615 GB, free: 7.008 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.1394, allocations: 277 kB / 0.5618 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.1396, allocations: 86.42 kB / 0.5619 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.1398, allocations: 64.84 kB / 0.5619 GB, free: 6.527 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002216/0.14, allocations: 105.1 kB / 0.562 GB, free: 6.406 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.1401, allocations: 30.56 kB / 0.5621 GB, free: 6.367 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1401, allocations: 0 / 0.5621 GB, free: 6.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005488/0.1406, allocations: 185.5 kB / 0.5623 GB, free: 6.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.1407, allocations: 55.34 kB / 0.5623 GB, free: 6.113 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.854e-05/0.1408, allocations: 125.8 kB / 0.5624 GB, free: 5.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.1408, allocations: 25.7 kB / 0.5625 GB, free: 5.949 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.1408, allocations: 100.1 kB / 0.5625 GB, free: 5.848 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.1409, allocations: 7.812 kB / 0.5626 GB, free: 5.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.1409, allocations: 0 / 0.5626 GB, free: 5.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.141, allocations: 318.8 kB / 0.5629 GB, free: 5.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.1412, allocations: 47.95 kB / 0.5629 GB, free: 5.473 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.1413, allocations: 51.95 kB / 0.563 GB, free: 5.422 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1414, allocations: 43.97 kB / 0.563 GB, free: 5.379 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1415, allocations: 0 / 0.563 GB, free: 5.379 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003255/0.1418, allocations: 133.6 kB / 0.5631 GB, free: 5.242 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1418, allocations: 4 kB / 0.5631 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1418, allocations: 4 kB / 0.5631 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1418, allocations: 0 / 0.5631 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.142, allocations: 23.98 kB / 0.5632 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.142, allocations: 3.938 kB / 0.5632 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.06e-05/0.1421, allocations: 23.88 kB / 0.5632 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.1421, allocations: 4 kB / 0.5632 GB, free: 5.18 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.674e-05/0.1422, allocations: 113.8 kB / 0.5633 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.1422, allocations: 7.953 kB / 0.5633 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003923/0.1426, allocations: 141.5 kB / 0.5634 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1426, allocations: 0 / 0.5634 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1426, allocations: 4 kB / 0.5634 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1426, allocations: 0 / 0.5634 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.1428, allocations: 181.6 kB / 0.5636 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1428, allocations: 0 / 0.5636 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.602e-05/0.1429, allocations: 23.98 kB / 0.5636 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1429, allocations: 0 / 0.5636 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1429, allocations: 3.953 kB / 0.5636 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1429, allocations: 3.938 kB / 0.5636 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1429, allocations: 3.984 kB / 0.5636 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.1433, allocations: 227.4 kB / 0.5639 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.1434, allocations: 85.02 kB / 0.5639 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.1434, allocations: 8 kB / 0.564 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1435, allocations: 19.94 kB / 0.564 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.1435, allocations: 4.406 kB / 0.564 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.1436, allocations: 7.938 kB / 0.564 GB, free: 4.258 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.849e-05/0.1436, allocations: 102.1 kB / 0.5641 GB, free: 4.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1436, allocations: 0 / 0.5641 GB, free: 4.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.1439, allocations: 8 kB / 0.5641 GB, free: 4.152 MB / 430.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 (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.0001371/0.144, allocations: 111.2 kB / 0.5642 GB, free: 4.035 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003308/0.1443, allocations: 103.8 kB / 0.5643 GB, free: 3.934 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1444, allocations: 0 / 0.5643 GB, free: 3.934 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.1445, allocations: 55.95 kB / 0.5643 GB, free: 3.879 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.1448, allocations: 4 kB / 0.5644 GB, free: 3.875 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.1451, allocations: 160.6 kB / 0.5645 GB, free: 3.695 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.1453, allocations: 0.6887 MB / 0.5652 GB, free: 2.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.168e-05/0.1453, allocations: 4 kB / 0.5652 GB, free: 2.977 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.1454, allocations: 7.438 kB / 0.5652 GB, free: 2.969 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1454, allocations: 7.938 kB / 0.5652 GB, free: 2.961 MB / 430.1 MB Notification: Performance of Templates: time 0.002715/0.1481, allocations: 0.6463 MB / 0.5658 GB, free: 2.32 MB / 430.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)