Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006767/0.0006767, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007406/0.0007406, allocations: 175.6 kB / 16.58 MB, free: 6.852 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.181/1.181, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6156/0.6156, allocations: 113.7 MB / 405.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002691, allocations: 9.938 kB / 493.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1187, allocations: 77.12 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.001847/0.1206, allocations: 1.742 MB / 0.5586 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.1219, allocations: 0.9752 MB / 0.5596 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.227e-05/0.122, allocations: 4 kB / 0.5596 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.122, allocations: 19.78 kB / 0.5596 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.1222, allocations: 71.42 kB / 0.5597 GB, free: 8.863 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.1225, allocations: 131.8 kB / 0.5598 GB, free: 8.734 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.1227, allocations: 262.8 kB / 0.56 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1229, allocations: 48.66 kB / 0.5601 GB, free: 8.426 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.863e-05/0.123, allocations: 91.62 kB / 0.5602 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.1232, allocations: 119.4 kB / 0.5603 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.1232, allocations: 8 kB / 0.5603 GB, free: 8.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.1235, allocations: 283.6 kB / 0.5606 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/0.1236, allocations: 39.83 kB / 0.5606 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.1236, allocations: 61.58 kB / 0.5607 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.1239, allocations: 223.7 kB / 0.5609 GB, free: 7.609 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1239, allocations: 0 / 0.5609 GB, free: 7.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1239, allocations: 0 / 0.5609 GB, free: 7.609 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.1239, allocations: 0 / 0.5609 GB, free: 7.609 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008512/0.1247, allocations: 0.6232 MB / 0.5615 GB, free: 6.938 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.1248, allocations: 8.031 kB / 0.5615 GB, free: 6.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.1248, allocations: 46.55 kB / 0.5615 GB, free: 6.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.125, allocations: 31.72 kB / 0.5616 GB, free: 6.844 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.1253, allocations: 262.4 kB / 0.5618 GB, free: 6.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1253, allocations: 16.23 kB / 0.5618 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.1253, allocations: 12 kB / 0.5618 GB, free: 6.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.1258, allocations: 252.7 kB / 0.5621 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1258, allocations: 7.922 kB / 0.5621 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.1258, allocations: 8 kB / 0.5621 GB, free: 6.238 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1259, allocations: 4 kB / 0.5621 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005753/0.1264, allocations: 239.8 kB / 0.5623 GB, free: 6 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009516/0.1274, allocations: 0.9501 MB / 0.5632 GB, free: 4.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.1281, allocations: 265.3 kB / 0.5635 GB, free: 4.703 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/0.1284, allocations: 129.8 kB / 0.5636 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.1284, allocations: 4 kB / 0.5636 GB, free: 4.566 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.1284, allocations: 38.55 kB / 0.5637 GB, free: 4.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.1284, allocations: 3.938 kB / 0.5637 GB, free: 4.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001003/0.1294, allocations: 405 kB / 0.5641 GB, free: 4.113 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.1295, allocations: 77.11 kB / 0.5641 GB, free: 4.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.1297, allocations: 271 kB / 0.5644 GB, free: 3.754 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1297, allocations: 25.7 kB / 0.5644 GB, free: 3.723 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.1298, allocations: 160.1 kB / 0.5646 GB, free: 3.562 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.1299, allocations: 51.27 kB / 0.5646 GB, free: 3.512 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-06/0.1299, allocations: 0 / 0.5646 GB, free: 3.512 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.13, allocations: 342.8 kB / 0.5649 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.1303, allocations: 111.9 kB / 0.565 GB, free: 3.059 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.1306, allocations: 170.9 kB / 0.5652 GB, free: 2.871 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.1309, allocations: 115.9 kB / 0.5653 GB, free: 2.758 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1309, allocations: 0 / 0.5653 GB, free: 2.758 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000737/0.1316, allocations: 344.9 kB / 0.5657 GB, free: 2.414 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1317, allocations: 4 kB / 0.5657 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1317, allocations: 4 kB / 0.5657 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1317, allocations: 8.125 kB / 0.5657 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.132, allocations: 71.88 kB / 0.5657 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.132, allocations: 4 kB / 0.5657 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.1322, allocations: 55.69 kB / 0.5658 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.1322, allocations: 11.98 kB / 0.5658 GB, free: 2.258 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 0.0001043/0.1323, allocations: 130.4 kB / 0.5659 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.817e-05/0.1324, allocations: 27.67 kB / 0.566 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007108/0.1331, allocations: 339.2 kB / 0.5663 GB, free: 1.754 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1331, allocations: 4 kB / 0.5663 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.1332, allocations: 4 kB / 0.5663 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1332, allocations: 0 / 0.5663 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.1335, allocations: 293.3 kB / 0.5666 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1335, allocations: 0 / 0.5666 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.1337, allocations: 59.95 kB / 0.5666 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1337, allocations: 4 kB / 0.5666 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1338, allocations: 15.94 kB / 0.5666 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1338, allocations: 4 kB / 0.5666 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1338, allocations: 0 / 0.5666 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000728/0.1345, allocations: 482.2 kB / 0.5671 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.809e-05/0.1346, allocations: 100.8 kB / 0.5672 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.1346, allocations: 8 kB / 0.5672 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.1349, allocations: 35.97 kB / 0.5672 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.1349, allocations: 23.92 kB / 0.5673 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.1349, allocations: 4 kB / 0.5673 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.1351, allocations: 190 kB / 0.5675 GB, free: 480 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1351, allocations: 0 / 0.5675 GB, free: 480 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003281/0.1354, allocations: 59.84 kB / 0.5675 GB, free: 420 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001015/0.1365, allocations: 1.03 MB / 0.5685 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006212/0.1371, allocations: 267.9 kB / 0.5688 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1371, allocations: 0 / 0.5688 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.1374, allocations: 144.4 kB / 0.5689 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.1379, allocations: 72.78 kB / 0.569 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.1403, allocations: 1.564 MB / 0.5705 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.1406, allocations: 0.7599 MB / 0.5712 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.1407, allocations: 22.3 kB / 0.5713 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.1408, allocations: 83.41 kB / 0.5713 GB, free: 12.35 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1408, allocations: 4 kB / 0.5714 GB, free: 12.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.1559, allocations: 5.827 MB / 0.577 GB, free: 6.75 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/0.1562, allocations: 195.3 kB / 0.5772 GB, free: 6.508 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/1.725, allocations: 7.188 kB / 0.5772 GB, free: 6.504 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) Environment - environmentSimulation: