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.0008633/0.0008635, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0009401/0.0009401, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9361/0.9361, allocations: 135.3 MB / 426.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003292, allocations: 15.98 kB / 0.5071 GB, free: 5.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1616, allocations: 82.3 MB / 0.5875 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002236/0.1639, allocations: 1.761 MB / 0.5892 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.1654, allocations: 0.9558 MB / 0.5901 GB, free: 160 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.1656, allocations: 0 / 0.5901 GB, free: 160 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.059e-05/0.1657, allocations: 23.78 kB / 0.5901 GB, free: 136 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.1661, allocations: 71.41 kB / 0.5902 GB, free: 64 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.1665, allocations: 131.8 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.1668, allocations: 262.8 kB / 0.5906 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.167, allocations: 66.42 kB / 0.5907 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.1672, allocations: 91.58 kB / 0.5907 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.1674, allocations: 123.5 kB / 0.5909 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.1674, allocations: 8 kB / 0.5909 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000439/0.1679, allocations: 271.6 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.1679, allocations: 39.78 kB / 0.5912 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.02e-05/0.168, allocations: 65.58 kB / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.1683, allocations: 223.7 kB / 0.5914 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1683, allocations: 0 / 0.5914 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1683, allocations: 0 / 0.5914 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.138e-06/0.1683, allocations: 0 / 0.5914 GB, free: 14.8 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.001036/0.1694, allocations: 0.6193 MB / 0.592 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1694, allocations: 8.031 kB / 0.592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.542e-05/0.1695, allocations: 42.56 kB / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/0.1697, allocations: 47.56 kB / 0.5921 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.1701, allocations: 270.3 kB / 0.5924 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1701, allocations: 12.28 kB / 0.5924 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.1702, allocations: 12 kB / 0.5924 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.1707, allocations: 248.6 kB / 0.5927 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1707, allocations: 0 / 0.5927 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1707, allocations: 8 kB / 0.5927 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1707, allocations: 4 kB / 0.5927 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006182/0.1714, allocations: 251.7 kB / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.1725, allocations: 0.9501 MB / 0.5938 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007259/0.1732, allocations: 261.2 kB / 0.5941 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003077/0.1736, allocations: 121.6 kB / 0.5942 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.1736, allocations: 7.938 kB / 0.5942 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.1736, allocations: 38.56 kB / 0.5942 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.1736, allocations: 0 / 0.5942 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.00111/0.1748, allocations: 405.9 kB / 0.5946 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.1748, allocations: 77.11 kB / 0.5947 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.1751, allocations: 263 kB / 0.595 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1751, allocations: 29.7 kB / 0.595 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1752, allocations: 164 kB / 0.5951 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.1753, allocations: 55.25 kB / 0.5952 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.1753, allocations: 0 / 0.5952 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1754, allocations: 342.8 kB / 0.5955 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.1757, allocations: 115.9 kB / 0.5956 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.176, allocations: 165.2 kB / 0.5958 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.1763, allocations: 124 kB / 0.5959 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1763, allocations: 0 / 0.5959 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007755/0.1771, allocations: 341 kB / 0.5962 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.1772, allocations: 5.719 kB / 0.5962 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1772, allocations: 4 kB / 0.5962 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1772, allocations: 4 kB / 0.5962 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.1775, allocations: 67.94 kB / 0.5963 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1775, allocations: 8.062 kB / 0.5963 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.1777, allocations: 51.75 kB / 0.5964 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.1778, allocations: 8 kB / 0.5964 GB, free: 9.441 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.1779, allocations: 137.8 kB / 0.5965 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.178, allocations: 31.62 kB / 0.5965 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007682/0.1788, allocations: 339.1 kB / 0.5969 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1788, allocations: 3.984 kB / 0.5969 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1789, allocations: 4 kB / 0.5969 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1789, allocations: 0 / 0.5969 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.1792, allocations: 297.3 kB / 0.5971 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.1793, allocations: 0 / 0.5971 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.1795, allocations: 67.89 kB / 0.5972 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1795, allocations: 0 / 0.5972 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.1796, allocations: 8 kB / 0.5972 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1796, allocations: 0 / 0.5972 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1796, allocations: 3.984 kB / 0.5972 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000822/0.1804, allocations: 484.3 kB / 0.5977 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.172e-05/0.1805, allocations: 104.7 kB / 0.5978 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.1805, allocations: 11.98 kB / 0.5978 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.1808, allocations: 31.97 kB / 0.5978 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.1809, allocations: 15.97 kB / 0.5978 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.1809, allocations: 12.28 kB / 0.5979 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001731/0.1811, allocations: 186 kB / 0.598 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1811, allocations: 0 / 0.598 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003696/0.1814, allocations: 63.88 kB / 0.5981 GB, free: 7.574 MB / 0.4981 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 (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.001118/0.1826, allocations: 1.028 MB / 0.5991 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006734/0.1833, allocations: 275.9 kB / 0.5994 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1833, allocations: 0 / 0.5994 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.1836, allocations: 143.8 kB / 0.5995 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.1842, allocations: 69.33 kB / 0.5996 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.187, allocations: 1.563 MB / 0.6011 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.1873, allocations: 0.7518 MB / 0.6018 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001778/0.1875, allocations: 34.28 kB / 0.6019 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.1876, allocations: 83.41 kB / 0.6019 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of SimCode: time 4.6e-07/0.1876, allocations: 0 / 0.6019 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2971/0.4847, allocations: 5.815 MB / 0.6076 GB, free: 48.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001376/0.4849, allocations: 194 kB / 0.6078 GB, free: 48.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.327, allocations: 0 / 0.6078 GB, free: 48.59 MB / 0.4981 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/linux/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) Environment - environmentSimulation: