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.001537/0.001538, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001983/0.001984, allocations: 192.7 kB / 16.25 MB, free: 6.625 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.52/1.52, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.1/1.1, allocations: 135.1 MB / 425.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 72.05 kB / 0.505 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1736, allocations: 80.94 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003176/0.1768, allocations: 2.165 MB / 0.5861 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.1783, allocations: 1.018 MB / 0.5871 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1784, allocations: 4 kB / 0.5871 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.892e-05/0.1785, allocations: 15.8 kB / 0.5871 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.1788, allocations: 71.41 kB / 0.5872 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.1792, allocations: 167.8 kB / 0.5874 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.1795, allocations: 290.8 kB / 0.5876 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.1797, allocations: 76.84 kB / 0.5877 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.1798, allocations: 111.5 kB / 0.5878 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.18, allocations: 143.3 kB / 0.588 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.18, allocations: 16 kB / 0.588 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003701/0.1804, allocations: 299.6 kB / 0.5883 GB, free: 404 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.1804, allocations: 39.84 kB / 0.5883 GB, free: 364 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.13e-05/0.1805, allocations: 127.3 kB / 0.5884 GB, free: 236 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.1809, allocations: 322.9 kB / 0.5887 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1809, allocations: 0 / 0.5887 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1809, allocations: 0 / 0.5887 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.1809, allocations: 0 / 0.5887 GB, free: 15.91 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.0009995/0.1819, allocations: 0.6272 MB / 0.5893 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.182, allocations: 8.031 kB / 0.5893 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.182, allocations: 50.73 kB / 0.5894 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.1822, allocations: 36.56 kB / 0.5894 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.1825, allocations: 275.5 kB / 0.5897 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1826, allocations: 16.66 kB / 0.5897 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.1826, allocations: 15.94 kB / 0.5897 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.1831, allocations: 228.6 kB / 0.5899 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1831, allocations: 8 kB / 0.5899 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.1832, allocations: 4 kB / 0.5899 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1832, allocations: 7.938 kB / 0.59 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009599/0.1841, allocations: 195.8 kB / 0.5901 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.1858, allocations: 0.9461 MB / 0.5911 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.187, allocations: 237.2 kB / 0.5913 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005369/0.1876, allocations: 109.6 kB / 0.5914 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.1876, allocations: 4 kB / 0.5914 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.1876, allocations: 38.5 kB / 0.5914 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.923e-06/0.1877, allocations: 0 / 0.5914 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001822/0.1895, allocations: 337.4 kB / 0.5918 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.1896, allocations: 81.05 kB / 0.5918 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.19, allocations: 271 kB / 0.5921 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.19, allocations: 29.7 kB / 0.5921 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.1902, allocations: 160.2 kB / 0.5923 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.062e-05/0.1903, allocations: 51.19 kB / 0.5923 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.1904, allocations: 45.7 kB / 0.5924 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1906, allocations: 330.8 kB / 0.5927 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/0.1911, allocations: 95.92 kB / 0.5928 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005696/0.1917, allocations: 145.8 kB / 0.5929 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.1928, allocations: 249.6 kB / 0.5931 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/0.1928, allocations: 4 kB / 0.5932 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001335/0.1941, allocations: 289 kB / 0.5934 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.1942, allocations: 8 kB / 0.5934 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.1942, allocations: 0 / 0.5934 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.1942, allocations: 4 kB / 0.5934 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/0.1947, allocations: 59.95 kB / 0.5935 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.1947, allocations: 3.938 kB / 0.5935 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.1951, allocations: 47.92 kB / 0.5935 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.1952, allocations: 4 kB / 0.5936 GB, free: 10.64 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.0001839/0.1953, allocations: 129.8 kB / 0.5937 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.1956, allocations: 27.72 kB / 0.5937 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.1967, allocations: 291.1 kB / 0.594 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.1967, allocations: 0 / 0.594 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1967, allocations: 0 / 0.594 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1967, allocations: 7.984 kB / 0.594 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/0.1971, allocations: 297.3 kB / 0.5943 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1971, allocations: 4.281 kB / 0.5943 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.1974, allocations: 55.83 kB / 0.5943 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1974, allocations: 4 kB / 0.5943 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.1974, allocations: 11.94 kB / 0.5943 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1974, allocations: 4 kB / 0.5943 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1974, allocations: 0 / 0.5943 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008036/0.1982, allocations: 446.1 kB / 0.5948 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.1983, allocations: 100.8 kB / 0.5949 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.1984, allocations: 8 kB / 0.5949 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.1986, allocations: 31.95 kB / 0.5949 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/0.1987, allocations: 15.98 kB / 0.5949 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.1987, allocations: 7.984 kB / 0.5949 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001612/0.1989, allocations: 190 kB / 0.5951 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1989, allocations: 0 / 0.5951 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003663/0.1993, allocations: 60.16 kB / 0.5952 GB, free: 8.875 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.001147/0.2004, allocations: 0.9866 MB / 0.5961 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007221/0.2012, allocations: 240.3 kB / 0.5964 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2012, allocations: 4.312 kB / 0.5964 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.2015, allocations: 115.9 kB / 0.5965 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006158/0.2021, allocations: 73.48 kB / 0.5965 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/0.2059, allocations: 2.783 MB / 0.5993 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.2062, allocations: 0.748 MB / 0.6 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001535/0.2063, allocations: 30.28 kB / 0.6 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.2065, allocations: 87.41 kB / 0.6001 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.2065, allocations: 0 / 0.6001 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6529/0.8594, allocations: 6.157 MB / 0.6061 GB, free: 52.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/0.8597, allocations: 203.8 kB / 0.6063 GB, free: 52.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.892/3.752, allocations: 0 / 0.6063 GB, free: 52.33 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/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)