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.001081/0.001081, allocations: 105.4 kB / 16.4 MB, free: 6.438 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.001122/0.001122, allocations: 193.2 kB / 17.34 MB, free: 5.707 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6982/0.6982, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.05 kB / 0.5572 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1537, allocations: 76.18 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00301/0.1567, allocations: 2.108 MB / 0.6337 GB, free: 2.781 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1582, allocations: 1.045 MB / 0.6347 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1584, allocations: 3.938 kB / 0.6347 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.831e-05/0.1585, allocations: 23.67 kB / 0.6347 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.1588, allocations: 87.27 kB / 0.6348 GB, free: 1.613 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.1592, allocations: 198 kB / 0.635 GB, free: 1.422 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.1595, allocations: 286.8 kB / 0.6352 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.1596, allocations: 67.5 kB / 0.6353 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.1598, allocations: 111.5 kB / 0.6354 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.16, allocations: 135.4 kB / 0.6355 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.16, allocations: 20 kB / 0.6356 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003618/0.1604, allocations: 303.6 kB / 0.6359 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.1604, allocations: 47.77 kB / 0.6359 GB, free: 484 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.525e-05/0.1605, allocations: 123.3 kB / 0.636 GB, free: 360 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.1608, allocations: 331.7 kB / 0.6363 GB, free: 28 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1609, allocations: 0 / 0.6363 GB, free: 28 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1609, allocations: 0 / 0.6363 GB, free: 28 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1609, allocations: 3.938 kB / 0.6363 GB, free: 24 kB / 478.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.001004/0.1619, allocations: 0.6232 MB / 0.6369 GB, free: 15.35 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1619, allocations: 11.97 kB / 0.637 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/0.162, allocations: 46.73 kB / 0.637 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.1622, allocations: 44.55 kB / 0.637 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.1625, allocations: 287.5 kB / 0.6373 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1625, allocations: 8.656 kB / 0.6373 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.1626, allocations: 16.38 kB / 0.6373 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004573/0.163, allocations: 232.7 kB / 0.6376 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1631, allocations: 7.938 kB / 0.6376 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1631, allocations: 4 kB / 0.6376 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1631, allocations: 4 kB / 0.6376 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005758/0.1637, allocations: 199.8 kB / 0.6378 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.1647, allocations: 0.9383 MB / 0.6387 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000692/0.1654, allocations: 245.2 kB / 0.6389 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.1657, allocations: 109.6 kB / 0.639 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1657, allocations: 4 kB / 0.639 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.1657, allocations: 30.56 kB / 0.6391 GB, free: 13.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.1658, allocations: 0 / 0.6391 GB, free: 13.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001003/0.1668, allocations: 337.4 kB / 0.6394 GB, free: 12.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.1668, allocations: 85.11 kB / 0.6395 GB, free: 12.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.167, allocations: 266.9 kB / 0.6397 GB, free: 12.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1671, allocations: 25.7 kB / 0.6397 GB, free: 12.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.1672, allocations: 164.1 kB / 0.6399 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.1672, allocations: 59.19 kB / 0.64 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.484e-05/0.1673, allocations: 41.7 kB / 0.64 GB, free: 12.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1674, allocations: 334.8 kB / 0.6403 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.1677, allocations: 91.91 kB / 0.6404 GB, free: 11.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.168, allocations: 152 kB / 0.6405 GB, free: 11.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005708/0.1686, allocations: 233.8 kB / 0.6408 GB, free: 11.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1686, allocations: 0 / 0.6408 GB, free: 11.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007225/0.1693, allocations: 296.9 kB / 0.6411 GB, free: 10.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1693, allocations: 8 kB / 0.6411 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1694, allocations: 0 / 0.6411 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1694, allocations: 4 kB / 0.6411 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.1697, allocations: 64.03 kB / 0.6411 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1697, allocations: 8.703 kB / 0.6411 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.1699, allocations: 35.72 kB / 0.6412 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.1699, allocations: 12 kB / 0.6412 GB, free: 10.74 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.17, allocations: 129.8 kB / 0.6413 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.1701, allocations: 35.64 kB / 0.6413 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007171/0.1709, allocations: 287.1 kB / 0.6416 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1709, allocations: 4 kB / 0.6416 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1709, allocations: 0 / 0.6416 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1709, allocations: 7.984 kB / 0.6416 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.1712, allocations: 301.3 kB / 0.6419 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1712, allocations: 0 / 0.6419 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.1715, allocations: 51.95 kB / 0.642 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1715, allocations: 4 kB / 0.642 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.1715, allocations: 0 / 0.642 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1715, allocations: 3.938 kB / 0.642 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1715, allocations: 4 kB / 0.642 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007127/0.1723, allocations: 436.7 kB / 0.6424 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.1723, allocations: 108.7 kB / 0.6425 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.1724, allocations: 4 kB / 0.6425 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.1726, allocations: 35.89 kB / 0.6425 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.1727, allocations: 15.98 kB / 0.6425 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1727, allocations: 4 kB / 0.6425 GB, free: 9.234 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.1729, allocations: 193.9 kB / 0.6427 GB, free: 9.043 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1729, allocations: 3.938 kB / 0.6427 GB, free: 9.039 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000333/0.1732, allocations: 59.98 kB / 0.6428 GB, free: 8.98 MB / 494.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 (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.001076/0.1743, allocations: 0.9926 MB / 0.6438 GB, free: 7.961 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006554/0.175, allocations: 227.9 kB / 0.644 GB, free: 7.738 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.175, allocations: 0 / 0.644 GB, free: 7.738 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.1753, allocations: 111.9 kB / 0.6441 GB, free: 7.629 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.1758, allocations: 78.23 kB / 0.6442 GB, free: 7.551 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/0.1794, allocations: 2.692 MB / 0.6468 GB, free: 4.723 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.1797, allocations: 0.7518 MB / 0.6475 GB, free: 3.945 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000125/0.1798, allocations: 30.3 kB / 0.6476 GB, free: 3.918 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.1799, allocations: 91.34 kB / 0.6476 GB, free: 3.828 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1799, allocations: 0 / 0.6476 GB, free: 3.828 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.2012, allocations: 6.696 MB / 0.6542 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/7.896, allocations: 5.531 kB / 0.6542 GB, free: 13.3 MB / 0.4981 GB (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/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)