Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 103.2 kB / 16.4 MB, free: 6.508 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.001887/0.001887, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.405/1.405, 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.7772/0.7772, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.64 kB / 0.5577 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1421, allocations: 76.18 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002591/0.1447, allocations: 1.558 MB / 0.6336 GB, free: 2.84 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1462, allocations: 0.9123 MB / 0.6345 GB, free: 1.918 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/0.1462, allocations: 7.938 kB / 0.6345 GB, free: 1.91 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.804e-05/0.1463, allocations: 3.938 kB / 0.6345 GB, free: 1.906 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.1465, allocations: 27.78 kB / 0.6345 GB, free: 1.879 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.1469, allocations: 139.5 kB / 0.6347 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.147, allocations: 71.72 kB / 0.6347 GB, free: 1.672 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.1471, allocations: 15.97 kB / 0.6347 GB, free: 1.656 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.727e-05/0.1472, allocations: 39.86 kB / 0.6348 GB, free: 1.617 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.1473, allocations: 35.84 kB / 0.6348 GB, free: 1.582 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.1474, allocations: 4 kB / 0.6348 GB, free: 1.578 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003732/0.1477, allocations: 279.7 kB / 0.6351 GB, free: 1.305 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.1478, allocations: 19.91 kB / 0.6351 GB, free: 1.285 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.1478, allocations: 27.86 kB / 0.6351 GB, free: 1.258 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.148, allocations: 151.5 kB / 0.6353 GB, free: 1.109 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.1481, allocations: 4 kB / 0.6353 GB, free: 1.105 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1481, allocations: 0 / 0.6353 GB, free: 1.105 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1481, allocations: 0 / 0.6353 GB, free: 1.105 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005618/0.1487, allocations: 415.1 kB / 0.6357 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.1487, allocations: 8.031 kB / 0.6357 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.1488, allocations: 12.84 kB / 0.6357 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.149, allocations: 190.1 kB / 0.6359 GB, free: 420 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1491, allocations: 4.359 kB / 0.6359 GB, free: 416 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.1491, allocations: 4.375 kB / 0.6359 GB, free: 412 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1493, allocations: 69.97 kB / 0.636 GB, free: 336 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1493, allocations: 0 / 0.636 GB, free: 336 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1493, allocations: 0 / 0.636 GB, free: 336 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1493, allocations: 0 / 0.636 GB, free: 336 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.1495, allocations: 47.95 kB / 0.636 GB, free: 288 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.1499, allocations: 296.7 kB / 0.6363 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.1501, allocations: 54.55 kB / 0.6363 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.284e-05/0.1502, allocations: 32.97 kB / 0.6364 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.1502, allocations: 0 / 0.6364 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.1502, allocations: 30.56 kB / 0.6364 GB, free: 15.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1502, allocations: 0 / 0.6364 GB, free: 15.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003793/0.1506, allocations: 113.7 kB / 0.6365 GB, free: 15.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.1506, allocations: 55.41 kB / 0.6366 GB, free: 15.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.1508, allocations: 129.8 kB / 0.6367 GB, free: 15.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1508, allocations: 25.7 kB / 0.6367 GB, free: 15.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.1508, allocations: 92.14 kB / 0.6368 GB, free: 15.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.1509, allocations: 15.75 kB / 0.6368 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.1509, allocations: 25.64 kB / 0.6368 GB, free: 15.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.151, allocations: 330.8 kB / 0.6372 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.542e-05/0.1511, allocations: 20.05 kB / 0.6372 GB, free: 14.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.1512, allocations: 23.98 kB / 0.6372 GB, free: 14.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.1513, allocations: 56.77 kB / 0.6372 GB, free: 14.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1514, allocations: 3.938 kB / 0.6373 GB, free: 14.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002075/0.1516, allocations: 93.58 kB / 0.6373 GB, free: 14.78 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1516, allocations: 9.25 kB / 0.6373 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1516, allocations: 0 / 0.6373 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1516, allocations: 3.984 kB / 0.6374 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1517, allocations: 8 kB / 0.6374 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1518, allocations: 11.97 kB / 0.6374 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.1518, allocations: 0 / 0.6374 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1518, allocations: 4 kB / 0.6374 GB, free: 14.74 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 (6): * Single equations (assignments): 6 * 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 9.325e-05/0.1519, allocations: 118.4 kB / 0.6375 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.152, allocations: 11.91 kB / 0.6375 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.1522, allocations: 101.9 kB / 0.6376 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1522, allocations: 0 / 0.6376 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1523, allocations: 0 / 0.6376 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1523, allocations: 0 / 0.6376 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.1525, allocations: 193.5 kB / 0.6378 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1525, allocations: 0 / 0.6378 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.614e-05/0.1526, allocations: 16.23 kB / 0.6378 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1526, allocations: 4 kB / 0.6378 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1526, allocations: 7.984 kB / 0.6378 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1526, allocations: 0 / 0.6378 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1526, allocations: 0 / 0.6378 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.1528, allocations: 187.3 kB / 0.638 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.1529, allocations: 89.03 kB / 0.6381 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.1529, allocations: 0 / 0.6381 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/0.153, allocations: 8 kB / 0.6381 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.1531, allocations: 11.98 kB / 0.6381 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.1531, allocations: 0 / 0.6381 GB, free: 13.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.723e-05/0.1532, allocations: 101.4 kB / 0.6382 GB, free: 13.81 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1532, allocations: 0 / 0.6382 GB, free: 13.81 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1534, allocations: 24 kB / 0.6382 GB, free: 13.79 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 (6): * Single equations (assignments): 6 * 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.0001683/0.1536, allocations: 111.2 kB / 0.6383 GB, free: 13.67 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.1538, allocations: 67.84 kB / 0.6384 GB, free: 13.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1538, allocations: 0 / 0.6384 GB, free: 13.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.238e-05/0.1539, allocations: 23.98 kB / 0.6384 GB, free: 13.58 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.1542, allocations: 23.86 kB / 0.6384 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.1546, allocations: 180.4 kB / 0.6386 GB, free: 13.35 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.1549, allocations: 0.7 MB / 0.6393 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.597e-05/0.155, allocations: 7.969 kB / 0.6393 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.155, allocations: 11.44 kB / 0.6393 GB, free: 12.61 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.155, allocations: 0 / 0.6393 GB, free: 12.61 MB / 494.1 MB Notification: Performance of Templates: time 0.003486/0.1585, allocations: 1.093 MB / 0.6404 GB, free: 11.52 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)