Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_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.006175/0.006175, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001089/0.001089, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7882/0.7882, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 70.5 kB / 0.5851 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1394, allocations: 80.93 MB / 0.6642 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003157/0.1425, allocations: 2.111 MB / 0.6662 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.1442, allocations: 1.037 MB / 0.6672 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.1444, allocations: 11.88 kB / 0.6673 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.515e-05/0.1445, allocations: 27.66 kB / 0.6673 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003545/0.1449, allocations: 79.3 kB / 0.6674 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.1454, allocations: 195.5 kB / 0.6675 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.1457, allocations: 286.9 kB / 0.6678 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.1459, allocations: 75.38 kB / 0.6679 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.1461, allocations: 111.5 kB / 0.668 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.1463, allocations: 143.3 kB / 0.6681 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.173e-05/0.1464, allocations: 16 kB / 0.6681 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004258/0.1468, allocations: 291.7 kB / 0.6684 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/0.1469, allocations: 55.77 kB / 0.6685 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.147, allocations: 119.3 kB / 0.6686 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.1474, allocations: 331.6 kB / 0.6689 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1474, allocations: 0 / 0.6689 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.316e-06/0.1474, allocations: 0 / 0.6689 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.1474, allocations: 7.938 kB / 0.6689 GB, free: 1.395 MB / 0.4981 GB 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.001062/0.1485, allocations: 0.6232 MB / 0.6695 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1485, allocations: 13.09 kB / 0.6695 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.1486, allocations: 42.75 kB / 0.6696 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.1488, allocations: 36.64 kB / 0.6696 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.1492, allocations: 291.4 kB / 0.6699 GB, free: 308 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1492, allocations: 12.41 kB / 0.6699 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.1493, allocations: 16 kB / 0.6699 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/0.1498, allocations: 228.7 kB / 0.6701 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1498, allocations: 3.938 kB / 0.6701 GB, free: 24 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.1498, allocations: 4 kB / 0.6701 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.1498, allocations: 4 kB / 0.6701 GB, free: 16 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000688/0.1505, allocations: 199.8 kB / 0.6703 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.1517, allocations: 0.9382 MB / 0.6712 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007596/0.1524, allocations: 241.2 kB / 0.6715 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.1528, allocations: 106 kB / 0.6716 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.1528, allocations: 11.92 kB / 0.6716 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.1529, allocations: 34.56 kB / 0.6716 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.904e-06/0.1529, allocations: 0 / 0.6716 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.001181/0.1541, allocations: 337.1 kB / 0.6719 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.1541, allocations: 85.11 kB / 0.672 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.1544, allocations: 263 kB / 0.6723 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1544, allocations: 25.7 kB / 0.6723 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1545, allocations: 164.1 kB / 0.6725 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.1546, allocations: 55.2 kB / 0.6725 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.018e-05/0.1546, allocations: 41.7 kB / 0.6726 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1548, allocations: 338.8 kB / 0.6729 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.1551, allocations: 95.91 kB / 0.673 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.1555, allocations: 141.1 kB / 0.6731 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006654/0.1561, allocations: 242.3 kB / 0.6733 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1561, allocations: 0 / 0.6733 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008446/0.157, allocations: 297.1 kB / 0.6736 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.157, allocations: 8 kB / 0.6736 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.157, allocations: 0 / 0.6736 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1571, allocations: 4 kB / 0.6736 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.1574, allocations: 63.88 kB / 0.6737 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.1574, allocations: 4.125 kB / 0.6737 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.1576, allocations: 35.81 kB / 0.6737 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.1576, allocations: 12 kB / 0.6737 GB, free: 12.13 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.1578, allocations: 137.7 kB / 0.6739 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.1579, allocations: 31.62 kB / 0.6739 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008478/0.1587, allocations: 291.1 kB / 0.6742 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1587, allocations: 0 / 0.6742 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1587, allocations: 0 / 0.6742 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.1588, allocations: 4 kB / 0.6742 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.1591, allocations: 301.3 kB / 0.6745 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1591, allocations: 0 / 0.6745 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.1594, allocations: 47.95 kB / 0.6745 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1594, allocations: 7.938 kB / 0.6745 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.1594, allocations: 4 kB / 0.6745 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.1595, allocations: 7.984 kB / 0.6745 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1595, allocations: 0 / 0.6745 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000832/0.1603, allocations: 444.8 kB / 0.675 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.918e-05/0.1604, allocations: 112.7 kB / 0.6751 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.1604, allocations: 3.984 kB / 0.6751 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.1607, allocations: 31.97 kB / 0.6751 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.1608, allocations: 23.91 kB / 0.6751 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.1608, allocations: 4 kB / 0.6751 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001663/0.161, allocations: 190 kB / 0.6753 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.161, allocations: 0 / 0.6753 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003571/0.1613, allocations: 52 kB / 0.6754 GB, free: 10.37 MB / 0.5137 GB 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 (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.001191/0.1625, allocations: 0.9939 MB / 0.6763 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007723/0.1633, allocations: 223.9 kB / 0.6765 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1633, allocations: 4.062 kB / 0.6765 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.1637, allocations: 111.9 kB / 0.6767 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.1643, allocations: 77.33 kB / 0.6767 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/0.1683, allocations: 2.704 MB / 0.6794 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.1686, allocations: 0.748 MB / 0.6801 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.1688, allocations: 34.3 kB / 0.6801 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.1689, allocations: 87.41 kB / 0.6802 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.1689, allocations: 0 / 0.6802 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.1942, allocations: 6.669 MB / 0.6867 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.311, allocations: 11.72 kB / 0.6867 GB, free: 14.71 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)