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 2.146/2.146, allocations: 252 MB / 267.3 MB, free: 10.86 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.001559/0.001559, allocations: 184.4 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.458/2.458, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0009374/0.0009376, allocations: 94.25 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004516/0.0004517, allocations: 8.438 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2362, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005255/0.2415, allocations: 3.427 MB / 0.9042 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002744/0.2418, allocations: 159.4 kB / 0.9044 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.2419, allocations: 0 / 0.9044 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.242, allocations: 7.922 kB / 0.9044 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.922e-05/0.2422, allocations: 4 kB / 0.9044 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.2426, allocations: 77.44 kB / 0.9045 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.2427, allocations: 55.83 kB / 0.9045 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.175e-05/0.2428, allocations: 4 kB / 0.9045 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.331e-05/0.2429, allocations: 8 kB / 0.9045 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.243, allocations: 19.91 kB / 0.9046 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.243, allocations: 4 kB / 0.9046 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007533/0.2438, allocations: 187.5 kB / 0.9047 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.718e-05/0.2439, allocations: 4 kB / 0.9048 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.2439, allocations: 45.62 kB / 0.9048 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.2441, allocations: 39.95 kB / 0.9048 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2441, allocations: 4 kB / 0.9048 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.845e-06/0.2441, allocations: 0 / 0.9048 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.2442, allocations: 0 / 0.9048 GB, free: 59.34 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.0004371/0.2446, allocations: 328.5 kB / 0.9051 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/0.2447, allocations: 12.03 kB / 0.9052 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.46e-05/0.2447, allocations: 30.75 kB / 0.9052 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.2448, allocations: 4.844 kB / 0.9052 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.2449, allocations: 168.4 kB / 0.9054 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.231e-05/0.245, allocations: 38.2 kB / 0.9054 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.245, allocations: 4.125 kB / 0.9054 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.2452, allocations: 45.67 kB / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2453, allocations: 0 / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.2453, allocations: 0 / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/0.2453, allocations: 0 / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.013e-05/0.2454, allocations: 23.92 kB / 0.9055 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.2459, allocations: 330 kB / 0.9058 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.565e-05/0.246, allocations: 22.61 kB / 0.9058 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.246, allocations: 4.859 kB / 0.9058 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.169e-05/0.2461, allocations: 81.17 kB / 0.9059 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.2462, allocations: 34.56 kB / 0.9059 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 2.144e-06/0.2462, allocations: 0 / 0.9059 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001945/0.2464, allocations: 45.62 kB / 0.906 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.2464, allocations: 51.41 kB / 0.906 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/0.2465, allocations: 101.9 kB / 0.9061 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.2465, allocations: 25.7 kB / 0.9061 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.2466, allocations: 91.97 kB / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.2466, allocations: 7.906 kB / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.2466, allocations: 3.938 kB / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.62e-05/0.2467, allocations: 318.8 kB / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.964e-05/0.2468, allocations: 8.125 kB / 0.9065 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.921e-05/0.2468, allocations: 17.7 kB / 0.9066 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.129e-05/0.2468, allocations: 21.66 kB / 0.9066 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2469, allocations: 0 / 0.9066 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.662e-05/0.247, allocations: 49.69 kB / 0.9066 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.247, allocations: 4 kB / 0.9066 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.247, allocations: 4.062 kB / 0.9066 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.247, allocations: 3.938 kB / 0.9066 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.2471, allocations: 4.281 kB / 0.9066 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2471, allocations: 4 kB / 0.9066 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.788e-05/0.2472, allocations: 0 / 0.9066 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.2472, allocations: 0 / 0.9066 GB, free: 57.21 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.831e-05/0.2473, allocations: 113.8 kB / 0.9068 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.2473, allocations: 3.984 kB / 0.9068 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.2474, allocations: 125 kB / 0.9069 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.38e-05/0.2475, allocations: 184.1 kB / 0.907 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-05/0.2475, allocations: 184.2 kB / 0.9072 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.922e-05/0.2476, allocations: 180.2 kB / 0.9074 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.2478, allocations: 413.2 kB / 0.9078 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/0.2478, allocations: 109 kB / 0.9079 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-05/0.2478, allocations: 108.9 kB / 0.908 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.272e-05/0.2479, allocations: 176.3 kB / 0.9082 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.2479, allocations: 180.2 kB / 0.9083 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.993e-05/0.248, allocations: 184.3 kB / 0.9085 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-05/0.248, allocations: 184.2 kB / 0.9087 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.173e-05/0.2481, allocations: 307.7 kB / 0.909 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.2482, allocations: 190 kB / 0.9092 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.2482, allocations: 180.3 kB / 0.9093 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.2484, allocations: 108.9 kB / 0.9094 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.2485, allocations: 184.2 kB / 0.9096 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.2485, allocations: 105 kB / 0.9097 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.805e-05/0.2486, allocations: 87.28 kB / 0.9098 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2486, allocations: 0 / 0.9098 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004108/0.249, allocations: 19.94 kB / 0.9098 GB, free: 53.74 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 (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.0004803/0.2495, allocations: 0.8321 MB / 0.9106 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.912e-05/0.2496, allocations: 8 kB / 0.9106 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2496, allocations: 0 / 0.9106 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.266e-06/0.2496, allocations: 3.938 kB / 0.9106 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.2501, allocations: 0.5336 MB / 0.9112 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009447/0.2511, allocations: 1.334 MB / 0.9125 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.2512, allocations: 0.6731 MB / 0.9131 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.215e-05/0.2513, allocations: 14.73 kB / 0.9131 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.2513, allocations: 7.438 kB / 0.9131 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of SimCode: time 3.6e-07/0.2513, allocations: 0 / 0.9131 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04806/0.2994, allocations: 1.285 MB / 0.9144 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002743/0.2997, allocations: 238.8 kB / 0.9146 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/2.887, allocations: 0 / 0.9146 GB, free: 48.84 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)