Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.001416/0.001416, 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.002513/0.002514, allocations: 195.6 kB / 16.26 MB, free: 6.621 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.572/1.572, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.159/1.159, allocations: 135.1 MB / 425.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 64.19 kB / 0.505 GB, free: 5.543 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.168, allocations: 80.93 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00678/0.1748, allocations: 4.558 MB / 0.5885 GB, free: 192 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.176, allocations: 0.8226 MB / 0.5893 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1762, allocations: 0 / 0.5893 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.1764, allocations: 23.83 kB / 0.5893 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.351e-05/0.1765, allocations: 31.77 kB / 0.5893 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006153/0.1771, allocations: 155.5 kB / 0.5895 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.1773, allocations: 175.4 kB / 0.5896 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1774, allocations: 13.12 kB / 0.5896 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.1777, allocations: 87.69 kB / 0.5897 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.1779, allocations: 79.72 kB / 0.5898 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.1779, allocations: 12 kB / 0.5898 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004622/0.1784, allocations: 155.8 kB / 0.59 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.1785, allocations: 39.83 kB / 0.59 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.1786, allocations: 63.72 kB / 0.5901 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005637/0.1792, allocations: 239.5 kB / 0.5903 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1792, allocations: 0 / 0.5903 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1792, allocations: 0 / 0.5903 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.1792, allocations: 0 / 0.5903 GB, free: 14.3 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001264/0.1805, allocations: 482.9 kB / 0.5907 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.1806, allocations: 12.03 kB / 0.5908 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.204e-05/0.1806, allocations: 34.75 kB / 0.5908 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.1807, allocations: 16.75 kB / 0.5908 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.1809, allocations: 184.2 kB / 0.591 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.1809, allocations: 12.12 kB / 0.591 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.181, allocations: 15.98 kB / 0.591 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.1814, allocations: 117.6 kB / 0.5911 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1814, allocations: 4 kB / 0.5911 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.1814, allocations: 7.938 kB / 0.5911 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1814, allocations: 0 / 0.5911 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005365/0.182, allocations: 143.8 kB / 0.5913 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.1831, allocations: 464.4 kB / 0.5917 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.1835, allocations: 130.5 kB / 0.5918 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.1837, allocations: 68.81 kB / 0.5919 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001682/0.1854, allocations: 0.9648 MB / 0.5928 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.1854, allocations: 38.5 kB / 0.5929 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.1854, allocations: 4 kB / 0.5929 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0008088/0.1862, allocations: 209.3 kB / 0.5931 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.1863, allocations: 51.41 kB / 0.5931 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.1865, allocations: 174.5 kB / 0.5933 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.1865, allocations: 29.7 kB / 0.5933 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.634e-05/0.1866, allocations: 108.4 kB / 0.5934 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.1867, allocations: 35.45 kB / 0.5935 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-05/0.1868, allocations: 49.7 kB / 0.5935 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.187, allocations: 326.8 kB / 0.5938 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.1873, allocations: 75.94 kB / 0.5939 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.1875, allocations: 103.4 kB / 0.594 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.188, allocations: 175.3 kB / 0.5942 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.188, allocations: 0 / 0.5942 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005898/0.1886, allocations: 244 kB / 0.5944 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1886, allocations: 4.094 kB / 0.5944 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1886, allocations: 8 kB / 0.5944 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1887, allocations: 0 / 0.5944 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.189, allocations: 63.89 kB / 0.5945 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.189, allocations: 4 kB / 0.5945 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.1891, allocations: 35.67 kB / 0.5945 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.1892, allocations: 4 kB / 0.5945 GB, free: 9.582 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.0001104/0.1893, allocations: 125.8 kB / 0.5946 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.1893, allocations: 19.84 kB / 0.5947 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005332/0.1899, allocations: 182.6 kB / 0.5948 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1899, allocations: 4 kB / 0.5948 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1899, allocations: 0 / 0.5948 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1899, allocations: 0 / 0.5948 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.1902, allocations: 221.4 kB / 0.595 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1902, allocations: 4 kB / 0.595 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.1904, allocations: 39.84 kB / 0.5951 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1904, allocations: 0 / 0.5951 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1904, allocations: 0 / 0.5951 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1904, allocations: 0 / 0.5951 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1904, allocations: 0 / 0.5951 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004838/0.1909, allocations: 263.2 kB / 0.5953 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.992e-05/0.191, allocations: 100.8 kB / 0.5954 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.191, allocations: 3.984 kB / 0.5954 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1912, allocations: 11.98 kB / 0.5954 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.1912, allocations: 11.98 kB / 0.5955 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.1912, allocations: 4 kB / 0.5955 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.742e-05/0.1913, allocations: 117.8 kB / 0.5956 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.9e-07/0.1913, allocations: 4 kB / 0.5956 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000371/0.1917, allocations: 56.06 kB / 0.5956 GB, free: 8.344 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 12 * 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.001038/0.1928, allocations: 0.8526 MB / 0.5965 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000549/0.1933, allocations: 172 kB / 0.5966 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.1933, allocations: 4 kB / 0.5966 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.1935, allocations: 63.89 kB / 0.5967 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.194, allocations: 15.98 kB / 0.5967 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002887/0.1969, allocations: 1.976 MB / 0.5986 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.1972, allocations: 0.7006 MB / 0.5993 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.1973, allocations: 21.02 kB / 0.5993 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.1974, allocations: 43.03 kB / 0.5994 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1974, allocations: 0 / 0.5994 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2189/0.4163, allocations: 4.033 MB / 0.6033 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003712/0.4168, allocations: 218.5 kB / 0.6035 GB, free: 248 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.093/3.51, allocations: 0 / 0.6035 GB, free: 248 kB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)