Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_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.0008718/0.0008719, allocations: 86.41 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.0008556/0.0008556, 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 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005261/0.0005265, allocations: 14.72 kB / 0.6738 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2138, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004216/0.218, allocations: 3.289 MB / 0.7906 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001833/0.2183, allocations: 143.6 kB / 0.7907 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.2183, allocations: 0 / 0.7907 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.2184, allocations: 11.92 kB / 0.7908 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.891e-05/0.2185, allocations: 7.984 kB / 0.7908 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.2188, allocations: 51.8 kB / 0.7908 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.31e-05/0.2189, allocations: 43.83 kB / 0.7909 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.2189, allocations: 3.984 kB / 0.7909 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.408e-05/0.219, allocations: 12 kB / 0.7909 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.262e-05/0.2191, allocations: 19.91 kB / 0.7909 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.2191, allocations: 0 / 0.7909 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004563/0.2196, allocations: 147.6 kB / 0.791 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.2196, allocations: 7.984 kB / 0.791 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.2196, allocations: 29.7 kB / 0.7911 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.202e-05/0.2197, allocations: 28.2 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2197, allocations: 0 / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2197, allocations: 0 / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.2197, allocations: 0 / 0.7911 GB, free: 8.031 MB / 0.6075 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.0003487/0.2201, allocations: 323.4 kB / 0.7914 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2201, allocations: 12.03 kB / 0.7914 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/0.2202, allocations: 38.55 kB / 0.7914 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.2202, allocations: 11.86 kB / 0.7915 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.2204, allocations: 171 kB / 0.7916 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-05/0.2204, allocations: 25.7 kB / 0.7916 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.2204, allocations: 0 / 0.7916 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.2206, allocations: 41.69 kB / 0.7917 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.2206, allocations: 3.938 kB / 0.7917 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.2206, allocations: 0 / 0.7917 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.2206, allocations: 3.984 kB / 0.7917 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.24e-05/0.2207, allocations: 23.95 kB / 0.7917 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.2211, allocations: 337.9 kB / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.606e-05/0.2211, allocations: 22.58 kB / 0.7921 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.42e-05/0.2211, allocations: 4.859 kB / 0.7921 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.858e-05/0.2212, allocations: 85.16 kB / 0.7921 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.2212, allocations: 42.56 kB / 0.7922 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2213, allocations: 0 / 0.7922 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.000127/0.2214, allocations: 37.59 kB / 0.7922 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.2214, allocations: 51.41 kB / 0.7923 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.785e-05/0.2215, allocations: 109.8 kB / 0.7924 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.2215, allocations: 25.7 kB / 0.7924 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/0.2216, allocations: 84.05 kB / 0.7925 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.702e-06/0.2216, allocations: 7.891 kB / 0.7925 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.2216, allocations: 8.125 kB / 0.7925 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.173e-05/0.2217, allocations: 314.8 kB / 0.7928 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.2217, allocations: 0 / 0.7928 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.129e-05/0.2217, allocations: 13.72 kB / 0.7928 GB, free: 6 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.144e-05/0.2217, allocations: 11.98 kB / 0.7928 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2218, allocations: 0 / 0.7928 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.208e-05/0.2218, allocations: 45.7 kB / 0.7929 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.2219, allocations: 8 kB / 0.7929 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2219, allocations: 0 / 0.7929 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2219, allocations: 7.938 kB / 0.7929 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.288e-05/0.2219, allocations: 8 kB / 0.7929 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2219, allocations: 0 / 0.7929 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.222, allocations: 8 kB / 0.7929 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-06/0.222, allocations: 0 / 0.7929 GB, free: 5.906 MB / 0.6075 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 6.388e-05/0.222, allocations: 109.8 kB / 0.793 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.2221, allocations: 0 / 0.793 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.644e-05/0.2222, allocations: 128.8 kB / 0.7931 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.694e-05/0.2222, allocations: 184.2 kB / 0.7933 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.325e-05/0.2223, allocations: 184.2 kB / 0.7935 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.735e-05/0.2224, allocations: 176.3 kB / 0.7936 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.2226, allocations: 413.2 kB / 0.794 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.998e-05/0.2226, allocations: 101 kB / 0.7941 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.2226, allocations: 105 kB / 0.7942 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.638e-05/0.2227, allocations: 180.2 kB / 0.7944 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.889e-05/0.2228, allocations: 180.3 kB / 0.7946 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-05/0.2228, allocations: 180.2 kB / 0.7948 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.742e-05/0.2229, allocations: 188.2 kB / 0.7949 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.223, allocations: 311.7 kB / 0.7952 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.879e-05/0.2231, allocations: 186.1 kB / 0.7954 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.462e-05/0.2232, allocations: 188.2 kB / 0.7956 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.2233, allocations: 109 kB / 0.7957 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.2234, allocations: 176.3 kB / 0.7959 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.2234, allocations: 108.9 kB / 0.796 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.262e-05/0.2235, allocations: 91.27 kB / 0.796 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2235, allocations: 0 / 0.796 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002292/0.2237, allocations: 15.94 kB / 0.7961 GB, free: 2.438 MB / 0.6075 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.0003599/0.2241, allocations: 0.8244 MB / 0.7969 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.531e-05/0.2242, allocations: 11.94 kB / 0.7969 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2242, allocations: 0 / 0.7969 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.2242, allocations: 0 / 0.7969 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.2246, allocations: 0.5265 MB / 0.7974 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003611/0.225, allocations: 221.2 kB / 0.7976 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.2252, allocations: 0.677 MB / 0.7983 GB, free: 88 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.39e-05/0.2252, allocations: 11.95 kB / 0.7983 GB, free: 76 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.2253, allocations: 15.42 kB / 0.7983 GB, free: 60 kB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.2253, allocations: 0 / 0.7983 GB, free: 60 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01055/0.2358, allocations: 1.207 MB / 0.7995 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/0.236, allocations: 207.6 kB / 0.7997 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/1.985, allocations: 1.5 kB / 0.7997 GB, free: 14.8 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: