Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.0008341/0.0008341, allocations: 86.8 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.0009198/0.0009202, 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.431/1.431, allocations: 223.3 MB / 240 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9613/0.9613, allocations: 135.3 MB / 426.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003673, allocations: 8 kB / 0.5071 GB, free: 5.051 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1873, allocations: 82.3 MB / 0.5874 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004404/0.1918, allocations: 3.286 MB / 0.5907 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001906/0.192, allocations: 147.6 kB / 0.5908 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.1921, allocations: 0 / 0.5908 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.76e-05/0.1922, allocations: 4 kB / 0.5908 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.472e-05/0.1923, allocations: 11.91 kB / 0.5908 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.1926, allocations: 67.78 kB / 0.5909 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.695e-05/0.1927, allocations: 43.89 kB / 0.5909 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.1928, allocations: 0 / 0.5909 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.63e-05/0.1928, allocations: 19.92 kB / 0.5909 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.797e-05/0.1929, allocations: 15.91 kB / 0.591 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.1929, allocations: 4 kB / 0.591 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005404/0.1935, allocations: 147.7 kB / 0.5911 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.1935, allocations: 15.92 kB / 0.5911 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.1936, allocations: 25.7 kB / 0.5911 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.926e-05/0.1937, allocations: 24.27 kB / 0.5912 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.1937, allocations: 3.984 kB / 0.5912 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1937, allocations: 0 / 0.5912 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.1937, allocations: 0 / 0.5912 GB, free: 15.07 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003727/0.1941, allocations: 331.3 kB / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1941, allocations: 11.97 kB / 0.5915 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.009e-05/0.1942, allocations: 38.56 kB / 0.5915 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.1942, allocations: 4 kB / 0.5915 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.1944, allocations: 163 kB / 0.5917 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.09e-05/0.1944, allocations: 29.7 kB / 0.5917 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.1945, allocations: 0 / 0.5917 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.1946, allocations: 49.66 kB / 0.5918 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1946, allocations: 7.938 kB / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1946, allocations: 0 / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.1947, allocations: 3.938 kB / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.987e-05/0.1947, allocations: 19.98 kB / 0.5918 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.1952, allocations: 334 kB / 0.5921 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.953e-05/0.1952, allocations: 18.64 kB / 0.5921 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/0.1953, allocations: 4.859 kB / 0.5921 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-05/0.1954, allocations: 81.11 kB / 0.5922 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.1954, allocations: 38.5 kB / 0.5922 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.1954, allocations: 0 / 0.5922 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001634/0.1956, allocations: 45.64 kB / 0.5923 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.1956, allocations: 51.41 kB / 0.5923 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.84e-05/0.1957, allocations: 105.8 kB / 0.5924 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1957, allocations: 25.7 kB / 0.5925 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.1958, allocations: 92.03 kB / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.534e-06/0.1958, allocations: 3.906 kB / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.1958, allocations: 4.125 kB / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1959, allocations: 314.8 kB / 0.5929 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/0.196, allocations: 0 / 0.5929 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.908e-05/0.196, allocations: 25.64 kB / 0.5929 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.158e-05/0.196, allocations: 4 kB / 0.5929 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.196, allocations: 0 / 0.5929 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.049e-05/0.1961, allocations: 45.69 kB / 0.5929 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1962, allocations: 14.09 kB / 0.5929 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1962, allocations: 0 / 0.5929 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1962, allocations: 0 / 0.5929 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.292e-05/0.1962, allocations: 7.938 kB / 0.593 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.1963, allocations: 7.953 kB / 0.593 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.1963, allocations: 0 / 0.593 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1963, allocations: 3.938 kB / 0.593 GB, free: 12.95 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 8.918e-05/0.1964, allocations: 117.8 kB / 0.5931 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.1964, allocations: 0 / 0.5931 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.1965, allocations: 120.9 kB / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.629e-05/0.1966, allocations: 180.2 kB / 0.5934 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.319e-05/0.1967, allocations: 180.2 kB / 0.5935 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.956e-05/0.1968, allocations: 192.2 kB / 0.5937 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.197, allocations: 401.2 kB / 0.5941 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.598e-05/0.1971, allocations: 105 kB / 0.5942 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.1971, allocations: 104.9 kB / 0.5943 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.015e-05/0.1972, allocations: 180.3 kB / 0.5945 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/0.1972, allocations: 180.2 kB / 0.5946 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-05/0.1973, allocations: 184.2 kB / 0.5948 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.886e-05/0.1974, allocations: 184.2 kB / 0.595 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.1975, allocations: 307.8 kB / 0.5953 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/0.1976, allocations: 190 kB / 0.5955 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.906e-05/0.1977, allocations: 180.3 kB / 0.5956 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.1979, allocations: 117.2 kB / 0.5958 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.198, allocations: 184.2 kB / 0.5959 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.198, allocations: 101 kB / 0.596 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.62e-05/0.198, allocations: 79.28 kB / 0.5961 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1981, allocations: 4 kB / 0.5961 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002768/0.1983, allocations: 23.92 kB / 0.5961 GB, free: 9.488 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 (0): * Single equations (assignments): 0 * 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.0004351/0.1988, allocations: 0.8204 MB / 0.5969 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.416e-05/0.1989, allocations: 12 kB / 0.5969 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1989, allocations: 0 / 0.5969 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.258e-06/0.1989, allocations: 3.938 kB / 0.5969 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.1993, allocations: 0.5246 MB / 0.5975 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.1997, allocations: 229.5 kB / 0.5977 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.1999, allocations: 0.6847 MB / 0.5983 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.89e-05/0.2, allocations: 15.45 kB / 0.5984 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.2, allocations: 7.438 kB / 0.5984 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2, allocations: 0 / 0.5984 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01191/0.212, allocations: 1.238 MB / 0.5996 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.2122, allocations: 203.1 kB / 0.5998 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/1.975, allocations: 0 / 0.5998 GB, free: 5.816 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: