Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001244/0.001244, allocations: 184.3 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.869/1.869, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008728/0.0008728, allocations: 109.9 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003478, allocations: 11.56 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1922, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.002949/0.1951, allocations: 3.16 MB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000112/0.1953, allocations: 127.6 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.673e-05/0.1953, allocations: 0 / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.549e-05/0.1954, allocations: 3.984 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.85e-05/0.1954, allocations: 11.98 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.1956, allocations: 43.86 kB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.415e-05/0.1957, allocations: 27.95 kB / 0.9034 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.1957, allocations: 7.938 kB / 0.9034 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.5e-05/0.1958, allocations: 4 kB / 0.9034 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.559e-05/0.1958, allocations: 15.92 kB / 0.9035 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.1958, allocations: 4 kB / 0.9035 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003495/0.1962, allocations: 143.7 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.1962, allocations: 3.984 kB / 0.9036 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.791e-05/0.1962, allocations: 29.7 kB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.455e-05/0.1963, allocations: 31.97 kB / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.1963, allocations: 0 / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1963, allocations: 0 / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.1963, allocations: 0 / 0.9037 GB, free: 60.2 MB / 0.6042 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.0002312/0.1966, allocations: 331.6 kB / 0.904 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.1966, allocations: 8.031 kB / 0.904 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.479e-05/0.1966, allocations: 34.56 kB / 0.904 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.347e-05/0.1967, allocations: 7.953 kB / 0.904 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.921e-05/0.1967, allocations: 159.1 kB / 0.9042 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/0.1968, allocations: 37.62 kB / 0.9042 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-06/0.1968, allocations: 4 kB / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.1969, allocations: 45.67 kB / 0.9043 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.1969, allocations: 0 / 0.9043 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.1969, allocations: 0 / 0.9043 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.197, allocations: 3.953 kB / 0.9043 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.375e-05/0.197, allocations: 15.98 kB / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.1973, allocations: 330.1 kB / 0.9046 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.605e-05/0.1973, allocations: 22.52 kB / 0.9046 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.643e-05/0.1974, allocations: 81.17 kB / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.1974, allocations: 42.52 kB / 0.9047 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1974, allocations: 0 / 0.9047 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001052/0.1975, allocations: 41.59 kB / 0.9048 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.1976, allocations: 55.53 kB / 0.9048 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.78e-05/0.1976, allocations: 109.8 kB / 0.9049 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.1977, allocations: 25.7 kB / 0.905 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.128e-05/0.1977, allocations: 84.05 kB / 0.905 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-06/0.1977, allocations: 3.938 kB / 0.905 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.1977, allocations: 0 / 0.905 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.858e-05/0.1977, allocations: 322.8 kB / 0.9053 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.1978, allocations: 0 / 0.9053 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.637e-05/0.1978, allocations: 21.7 kB / 0.9054 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.627e-05/0.1978, allocations: 8 kB / 0.9054 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1978, allocations: 0 / 0.9054 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.501e-05/0.1979, allocations: 45.62 kB / 0.9054 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.876e-06/0.1979, allocations: 8 kB / 0.9054 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1979, allocations: 3.953 kB / 0.9054 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.1979, allocations: 0 / 0.9054 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.736e-05/0.198, allocations: 4 kB / 0.9054 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.198, allocations: 4.062 kB / 0.9054 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.198, allocations: 11.94 kB / 0.9054 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.198, allocations: 0 / 0.9054 GB, free: 58.09 MB / 0.6042 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 3.87e-05/0.198, allocations: 113.8 kB / 0.9056 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.1981, allocations: 3.906 kB / 0.9056 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.914e-05/0.1981, allocations: 121.4 kB / 0.9057 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.1982, allocations: 180.2 kB / 0.9058 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.059e-05/0.1982, allocations: 184.3 kB / 0.906 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.1982, allocations: 188.2 kB / 0.9062 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.1983, allocations: 405.2 kB / 0.9066 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.1984, allocations: 108.9 kB / 0.9067 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-05/0.1984, allocations: 101 kB / 0.9068 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.176e-05/0.1984, allocations: 184.2 kB / 0.907 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.1984, allocations: 176.3 kB / 0.9071 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.006e-05/0.1985, allocations: 184.2 kB / 0.9073 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.077e-05/0.1985, allocations: 188.2 kB / 0.9075 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.57e-05/0.1985, allocations: 303.8 kB / 0.9078 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.1986, allocations: 186.1 kB / 0.908 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.1986, allocations: 180.3 kB / 0.9081 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.1987, allocations: 112.9 kB / 0.9082 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.1988, allocations: 180.2 kB / 0.9084 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.1988, allocations: 105.2 kB / 0.9085 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.486e-05/0.1988, allocations: 87.28 kB / 0.9086 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1988, allocations: 0 / 0.9086 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002347/0.1991, allocations: 19.98 kB / 0.9086 GB, free: 54.63 MB / 0.6042 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.0002061/0.1993, allocations: 0.8232 MB / 0.9094 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.841e-05/0.1993, allocations: 15.94 kB / 0.9094 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1993, allocations: 0 / 0.9094 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.1993, allocations: 0 / 0.9094 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.1996, allocations: 0.5341 MB / 0.9099 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.1999, allocations: 229.6 kB / 0.9102 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.223e-05/0.2, allocations: 0.677 MB / 0.9108 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.603e-05/0.2, allocations: 7.984 kB / 0.9108 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.2, allocations: 11.44 kB / 0.9108 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/0.2, allocations: 7.938 kB / 0.9109 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/0.2115, allocations: 1.191 MB / 0.912 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.2117, allocations: 232.5 kB / 0.9122 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/1.712, allocations: 0 / 0.9122 GB, free: 50.98 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)