Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.393/1.393, allocations: 251.9 MB / 266.9 MB, free: 11 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.0012/0.0012, allocations: 174.4 kB / 326.5 MB, free: 2.215 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.85/1.85, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008491/0.0008488, allocations: 95.23 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 9.406 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.25, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003711/0.2538, allocations: 3.393 MB / 0.9035 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001487/0.2539, allocations: 127.7 kB / 0.9036 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.254, allocations: 4 kB / 0.9036 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.2541, allocations: 3.984 kB / 0.9036 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.061e-05/0.2541, allocations: 11.92 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.2544, allocations: 53.22 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.94e-05/0.2545, allocations: 15.97 kB / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.2545, allocations: 4 kB / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.2546, allocations: 15.92 kB / 0.9037 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.797e-05/0.2546, allocations: 7.984 kB / 0.9037 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.2547, allocations: 4 kB / 0.9037 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.2548, allocations: 35.97 kB / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.2548, allocations: 3.938 kB / 0.9037 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.2549, allocations: 29.7 kB / 0.9038 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.84e-05/0.255, allocations: 19.98 kB / 0.9038 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.255, allocations: 0 / 0.9038 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/0.255, allocations: 0 / 0.9038 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.255, allocations: 0 / 0.9038 GB, free: 60.08 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.0003348/0.2553, allocations: 331.6 kB / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.2554, allocations: 12.03 kB / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.2554, allocations: 34.55 kB / 0.9041 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.2555, allocations: 7.953 kB / 0.9041 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.518e-05/0.2556, allocations: 163.1 kB / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.619e-05/0.2556, allocations: 25.7 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.2557, allocations: 8 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.2558, allocations: 45.61 kB / 0.9044 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2558, allocations: 3.938 kB / 0.9044 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.2558, allocations: 0 / 0.9044 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.2559, allocations: 11.94 kB / 0.9044 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.03e-05/0.2559, allocations: 19.94 kB / 0.9044 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.2563, allocations: 330 kB / 0.9047 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.552e-05/0.2564, allocations: 22.58 kB / 0.9047 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.56e-05/0.2564, allocations: 85.16 kB / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.2565, allocations: 42.45 kB / 0.9049 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.2565, allocations: 0 / 0.9049 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001292/0.2566, allocations: 37.7 kB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.2566, allocations: 51.41 kB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.43e-05/0.2567, allocations: 101.8 kB / 0.9051 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.2567, allocations: 25.7 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.2568, allocations: 88.05 kB / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.09e-06/0.2568, allocations: 3.938 kB / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-06/0.2568, allocations: 128 / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.078e-05/0.2568, allocations: 322.8 kB / 0.9055 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.082e-05/0.2569, allocations: 0 / 0.9055 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.956e-05/0.2569, allocations: 21.66 kB / 0.9055 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.835e-05/0.2569, allocations: 4 kB / 0.9055 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2569, allocations: 0 / 0.9055 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.749e-05/0.257, allocations: 45.69 kB / 0.9055 GB, free: 58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.257, allocations: 12.06 kB / 0.9056 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.257, allocations: 3.953 kB / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.257, allocations: 0 / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.246e-05/0.2571, allocations: 11.92 kB / 0.9056 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.2571, allocations: 0 / 0.9056 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.2571, allocations: 7.906 kB / 0.9056 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.2571, allocations: 0 / 0.9056 GB, free: 57.96 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 5.531e-05/0.2572, allocations: 113.8 kB / 0.9057 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.2572, allocations: 0 / 0.9057 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.651e-05/0.2573, allocations: 125 kB / 0.9058 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/0.2573, allocations: 184.2 kB / 0.906 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.049e-05/0.2574, allocations: 176.3 kB / 0.9061 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.79e-05/0.2574, allocations: 188.2 kB / 0.9063 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.2575, allocations: 397.2 kB / 0.9067 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/0.2576, allocations: 113 kB / 0.9068 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.2576, allocations: 108.9 kB / 0.9069 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.968e-05/0.2576, allocations: 180.3 kB / 0.9071 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.2577, allocations: 184.1 kB / 0.9073 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.814e-05/0.2577, allocations: 180.3 kB / 0.9074 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.762e-05/0.2577, allocations: 184.2 kB / 0.9076 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.804e-05/0.2578, allocations: 311.7 kB / 0.9079 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.2579, allocations: 182 kB / 0.9081 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.2579, allocations: 184.2 kB / 0.9083 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.258, allocations: 105 kB / 0.9084 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.2581, allocations: 192.2 kB / 0.9085 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.2581, allocations: 101 kB / 0.9086 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.228e-05/0.2581, allocations: 83.27 kB / 0.9087 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2582, allocations: 0 / 0.9087 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002323/0.2584, allocations: 16 kB / 0.9087 GB, free: 54.5 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.000287/0.2587, allocations: 0.8281 MB / 0.9095 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.269e-05/0.2588, allocations: 11.98 kB / 0.9096 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2588, allocations: 0 / 0.9096 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.956e-06/0.2588, allocations: 7.938 kB / 0.9096 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.2591, allocations: 0.5241 MB / 0.9101 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.2594, allocations: 229.5 kB / 0.9103 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.2596, allocations: 0.677 MB / 0.911 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.152e-05/0.2596, allocations: 12.27 kB / 0.911 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.2597, allocations: 11.38 kB / 0.911 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/0.2597, allocations: 0 / 0.911 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.2736, allocations: 1.185 MB / 0.9121 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/0.2738, allocations: 204.1 kB / 0.9123 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/1.93, allocations: 0 / 0.9123 GB, free: 50.85 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)