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.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/package.mo", uses=false) 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.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_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_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.005297/0.005297, allocations: 102.3 kB / 15.73 MB, free: 6.012 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.001924/0.001924, allocations: 195.2 kB / 16.67 MB, free: 5.949 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7552/0.7552, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 71.77 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1601, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.004116/0.1643, allocations: 2.111 MB / 0.6613 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00229/0.1666, allocations: 1.029 MB / 0.6623 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003063/0.167, allocations: 7.938 kB / 0.6623 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.1671, allocations: 27.61 kB / 0.6623 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004723/0.1676, allocations: 91.27 kB / 0.6624 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005284/0.1682, allocations: 197.6 kB / 0.6626 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004537/0.1686, allocations: 290.9 kB / 0.6629 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.1688, allocations: 67.36 kB / 0.6629 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.1691, allocations: 111.5 kB / 0.663 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.1694, allocations: 139.4 kB / 0.6632 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.46e-05/0.1695, allocations: 20 kB / 0.6632 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005546/0.17, allocations: 291.6 kB / 0.6635 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.829e-05/0.1701, allocations: 55.7 kB / 0.6635 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.1703, allocations: 115.3 kB / 0.6636 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004919/0.1708, allocations: 335.7 kB / 0.6639 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1708, allocations: 0 / 0.6639 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1708, allocations: 0 / 0.6639 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.1708, allocations: 0 / 0.6639 GB, free: 9.141 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.001099/0.1719, allocations: 0.6193 MB / 0.6645 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.172, allocations: 8.031 kB / 0.6646 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.329e-05/0.1721, allocations: 62.67 kB / 0.6646 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.1723, allocations: 40.55 kB / 0.6647 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.1727, allocations: 279.6 kB / 0.6649 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.1727, allocations: 16.34 kB / 0.6649 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.1728, allocations: 16 kB / 0.665 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.1733, allocations: 224.7 kB / 0.6652 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1733, allocations: 0 / 0.6652 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.1733, allocations: 11.94 kB / 0.6652 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1733, allocations: 4 kB / 0.6652 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000594/0.1739, allocations: 199.8 kB / 0.6654 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.1751, allocations: 0.95 MB / 0.6663 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007352/0.1759, allocations: 241.1 kB / 0.6665 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.1762, allocations: 105.6 kB / 0.6666 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1762, allocations: 0 / 0.6666 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1762, allocations: 46.5 kB / 0.6667 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.522e-06/0.1762, allocations: 0 / 0.6667 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001081/0.1773, allocations: 333.4 kB / 0.667 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1774, allocations: 77.11 kB / 0.6671 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.1777, allocations: 263 kB / 0.6673 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.1777, allocations: 33.7 kB / 0.6674 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.684e-05/0.1778, allocations: 160.1 kB / 0.6675 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.1778, allocations: 55.17 kB / 0.6676 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.217e-05/0.1779, allocations: 45.7 kB / 0.6676 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.178, allocations: 338.8 kB / 0.6679 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.1783, allocations: 91.92 kB / 0.668 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.1787, allocations: 145.8 kB / 0.6681 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005792/0.1792, allocations: 237.7 kB / 0.6684 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1793, allocations: 0 / 0.6684 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007639/0.18, allocations: 293.7 kB / 0.6687 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1801, allocations: 6.188 kB / 0.6687 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1801, allocations: 0 / 0.6687 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1801, allocations: 8.156 kB / 0.6687 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.1804, allocations: 59.89 kB / 0.6687 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.1804, allocations: 4 kB / 0.6687 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.1806, allocations: 39.8 kB / 0.6688 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.1806, allocations: 4 kB / 0.6688 GB, free: 3.875 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.1808, allocations: 137.7 kB / 0.6689 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.1809, allocations: 31.62 kB / 0.6689 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007576/0.1817, allocations: 295.1 kB / 0.6692 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1817, allocations: 4 kB / 0.6692 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1817, allocations: 0 / 0.6692 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.1817, allocations: 288 / 0.6692 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003467/0.1821, allocations: 301.3 kB / 0.6695 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1821, allocations: 0 / 0.6695 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.1823, allocations: 55.89 kB / 0.6696 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1823, allocations: 0 / 0.6696 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.1824, allocations: 8 kB / 0.6696 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1824, allocations: 4.078 kB / 0.6696 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1824, allocations: 7.922 kB / 0.6696 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000771/0.1832, allocations: 442.3 kB / 0.67 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.121e-05/0.1832, allocations: 104.6 kB / 0.6701 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.1833, allocations: 8 kB / 0.6701 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.1835, allocations: 27.95 kB / 0.6701 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/0.1836, allocations: 15.98 kB / 0.6701 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1836, allocations: 4 kB / 0.6702 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001618/0.1838, allocations: 190 kB / 0.6703 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.154e-06/0.1838, allocations: 4 kB / 0.6703 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003549/0.1842, allocations: 55.94 kB / 0.6704 GB, free: 2.109 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 (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.001114/0.1853, allocations: 0.9985 MB / 0.6714 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006831/0.186, allocations: 223.9 kB / 0.6716 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.186, allocations: 0 / 0.6716 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.1863, allocations: 115.8 kB / 0.6717 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.1869, allocations: 69.47 kB / 0.6718 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/0.1907, allocations: 2.702 MB / 0.6744 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.191, allocations: 0.748 MB / 0.6751 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.1912, allocations: 34.27 kB / 0.6752 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.1913, allocations: 87.41 kB / 0.6752 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.1913, allocations: 0 / 0.6752 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.2161, allocations: 6.676 MB / 0.6818 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.106, allocations: 10.28 kB / 0.6818 GB, free: 6.508 MB / 0.5137 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)