Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 115.9 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8521/0.8521, allocations: 133.9 MB / 443.5 MB, free: 13.81 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 65.98 kB / 0.6141 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.142, allocations: 85.86 MB / 0.698 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003401/0.1454, allocations: 2.145 MB / 0.7001 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1471, allocations: 1.073 MB / 0.7011 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1472, allocations: 6.688 kB / 0.7011 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.521e-05/0.1473, allocations: 23.67 kB / 0.7011 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.1476, allocations: 86.22 kB / 0.7012 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.148, allocations: 193.2 kB / 0.7014 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.1483, allocations: 293 kB / 0.7017 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.1484, allocations: 49.2 kB / 0.7017 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1486, allocations: 118.1 kB / 0.7018 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.1488, allocations: 138.2 kB / 0.702 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.1488, allocations: 22.31 kB / 0.702 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/0.1492, allocations: 294.2 kB / 0.7023 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.1493, allocations: 49.64 kB / 0.7023 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.1494, allocations: 117.7 kB / 0.7024 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.1498, allocations: 338.4 kB / 0.7028 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1498, allocations: 0 / 0.7028 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1498, allocations: 0 / 0.7028 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.1498, allocations: 0 / 0.7028 GB, free: 9.992 MB / 0.5137 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.001121/0.1509, allocations: 0.6324 MB / 0.7034 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.151, allocations: 17.7 kB / 0.7034 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.135e-05/0.151, allocations: 480 / 0.7034 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.179e-05/0.1511, allocations: 50.73 kB / 0.7034 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.1513, allocations: 44.69 kB / 0.7035 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.1517, allocations: 279.7 kB / 0.7037 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1517, allocations: 20.22 kB / 0.7038 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.1517, allocations: 12 kB / 0.7038 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.1522, allocations: 228.6 kB / 0.704 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.1522, allocations: 4 kB / 0.704 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.1523, allocations: 8 kB / 0.704 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1523, allocations: 4 kB / 0.704 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006675/0.1529, allocations: 191.8 kB / 0.7042 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.1541, allocations: 0.9501 MB / 0.7051 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007682/0.1549, allocations: 233.2 kB / 0.7053 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.1552, allocations: 93.64 kB / 0.7054 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.1552, allocations: 8 kB / 0.7054 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.1553, allocations: 38.5 kB / 0.7055 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.1553, allocations: 0 / 0.7055 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.001214/0.1565, allocations: 342.1 kB / 0.7058 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.1565, allocations: 81.05 kB / 0.7059 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.1568, allocations: 259 kB / 0.7061 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.1568, allocations: 29.7 kB / 0.7062 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.157, allocations: 168.3 kB / 0.7063 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.157, allocations: 59.48 kB / 0.7064 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.063e-05/0.1571, allocations: 41.7 kB / 0.7064 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.1572, allocations: 342.7 kB / 0.7067 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.1576, allocations: 91.91 kB / 0.7068 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.1579, allocations: 137.9 kB / 0.707 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006792/0.1586, allocations: 245.7 kB / 0.7072 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1586, allocations: 8 kB / 0.7072 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008628/0.1595, allocations: 285.2 kB / 0.7075 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1595, allocations: 13.56 kB / 0.7075 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1595, allocations: 0 / 0.7075 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1595, allocations: 4 kB / 0.7075 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.1598, allocations: 59.94 kB / 0.7075 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1598, allocations: 3.938 kB / 0.7075 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.1601, allocations: 43.81 kB / 0.7076 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.1601, allocations: 4 kB / 0.7076 GB, free: 4.707 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.000123/0.1602, allocations: 138.4 kB / 0.7077 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.1603, allocations: 27.86 kB / 0.7078 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000841/0.1611, allocations: 299 kB / 0.708 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1611, allocations: 0 / 0.708 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.1612, allocations: 7.984 kB / 0.708 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.1612, allocations: 3.984 kB / 0.708 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.1615, allocations: 289.4 kB / 0.7083 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1615, allocations: 0 / 0.7083 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.1618, allocations: 55.89 kB / 0.7084 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1618, allocations: 4.281 kB / 0.7084 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.1618, allocations: 4 kB / 0.7084 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1618, allocations: 4 kB / 0.7084 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1618, allocations: 3.938 kB / 0.7084 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008849/0.1627, allocations: 446.3 kB / 0.7088 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.549e-05/0.1628, allocations: 104.9 kB / 0.7089 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.1628, allocations: 8 kB / 0.7089 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.1631, allocations: 27.95 kB / 0.709 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.1632, allocations: 15.98 kB / 0.709 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.1632, allocations: 8 kB / 0.709 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001855/0.1634, allocations: 190 kB / 0.7092 GB, free: 3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1634, allocations: 0 / 0.7092 GB, free: 3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003513/0.1637, allocations: 59.92 kB / 0.7092 GB, free: 2.941 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.001248/0.165, allocations: 0.9896 MB / 0.7102 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007611/0.1657, allocations: 223.7 kB / 0.7104 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1657, allocations: 0 / 0.7104 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003628/0.1661, allocations: 116.1 kB / 0.7105 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/0.1666, allocations: 73.06 kB / 0.7106 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/0.1708, allocations: 2.716 MB / 0.7132 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1712, allocations: 0.7599 MB / 0.714 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.1713, allocations: 30.3 kB / 0.714 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.1715, allocations: 83.41 kB / 0.7141 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of SimCode: time 7.22e-07/0.1715, allocations: 0 / 0.7141 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.1959, allocations: 6.623 MB / 0.7205 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.448/8.644, allocations: 18.38 kB / 0.7206 GB, free: 7.383 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.405245539965108] Failed to read output from testmodel.py, exit status != 0: 9.048226932005491 8.78987319 8.635793154 Calling exit ...