Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.79/1.79, allocations: 288.4 MB / 303.3 MB, free: 8.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.001511, allocations: 186.7 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.4 MB / 0.6307 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000734/0.000734, allocations: 91.8 kB / 0.7441 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004434, allocations: 11.28 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2449, allocations: 115.3 MB / 0.9796 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004107/0.2491, allocations: 3.553 MB / 0.9831 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001688/0.2493, allocations: 147.6 kB / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.169e-05/0.2493, allocations: 0 / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.2495, allocations: 7.984 kB / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.414e-05/0.2496, allocations: 11.92 kB / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.2499, allocations: 51.78 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.544e-05/0.25, allocations: 43.84 kB / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.682e-05/0.25, allocations: 0 / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.312e-05/0.2501, allocations: 11.98 kB / 0.9834 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.93e-05/0.2502, allocations: 23.91 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.2502, allocations: 0 / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.2504, allocations: 27.92 kB / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.2505, allocations: 11.98 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.2505, allocations: 29.7 kB / 0.9835 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.608e-05/0.2506, allocations: 24.2 kB / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2506, allocations: 0 / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2506, allocations: 0 / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.2506, allocations: 0 / 0.9835 GB, free: 23.65 MB / 0.6198 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.0004018/0.251, allocations: 339.2 kB / 0.9838 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2511, allocations: 16.02 kB / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.2511, allocations: 34.55 kB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.2512, allocations: 3.953 kB / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.87e-05/0.2513, allocations: 163.1 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.053e-05/0.2513, allocations: 25.7 kB / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.2513, allocations: 0 / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.2515, allocations: 49.62 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.2515, allocations: 0 / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.2515, allocations: 7.984 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.2515, allocations: 0 / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.593e-05/0.2516, allocations: 15.89 kB / 0.9841 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.252, allocations: 338 kB / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.223e-05/0.252, allocations: 22.58 kB / 0.9844 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.529e-05/0.252, allocations: 4.859 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.304e-05/0.2521, allocations: 89.16 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.2521, allocations: 34.56 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.933e-06/0.2521, allocations: 3.984 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001344/0.2523, allocations: 37.59 kB / 0.9846 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.2523, allocations: 55.39 kB / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.414e-05/0.2524, allocations: 101.9 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.2524, allocations: 25.7 kB / 0.9848 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.2524, allocations: 92.17 kB / 0.9849 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.682e-06/0.2524, allocations: 7.891 kB / 0.9849 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.2525, allocations: 0 / 0.9849 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.288e-05/0.2525, allocations: 318.8 kB / 0.9852 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.2525, allocations: 0 / 0.9852 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.828e-05/0.2526, allocations: 17.72 kB / 0.9852 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.958e-05/0.2526, allocations: 7.984 kB / 0.9852 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2526, allocations: 4 kB / 0.9852 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.284e-05/0.2527, allocations: 49.64 kB / 0.9853 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.2527, allocations: 4 kB / 0.9853 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2527, allocations: 3.984 kB / 0.9853 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2527, allocations: 3.953 kB / 0.9853 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.353e-05/0.2528, allocations: 4 kB / 0.9853 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.2528, allocations: 4 kB / 0.9853 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.2528, allocations: 0 / 0.9853 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.2528, allocations: 0 / 0.9853 GB, free: 21.53 MB / 0.6198 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.419e-05/0.2529, allocations: 117.8 kB / 0.9854 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.2529, allocations: 0 / 0.9854 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.785e-05/0.253, allocations: 121 kB / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/0.253, allocations: 184.2 kB / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.088e-05/0.2531, allocations: 184.2 kB / 0.9859 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.308e-05/0.2531, allocations: 184.2 kB / 0.986 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.2532, allocations: 413.1 kB / 0.9864 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.2533, allocations: 105 kB / 0.9865 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.351e-05/0.2533, allocations: 104.9 kB / 0.9866 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.367e-05/0.2533, allocations: 176.3 kB / 0.9868 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.2533, allocations: 184.3 kB / 0.987 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.509e-05/0.2534, allocations: 184.2 kB / 0.9871 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.283e-05/0.2534, allocations: 184.2 kB / 0.9873 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.13e-05/0.2535, allocations: 307.8 kB / 0.9876 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.2535, allocations: 182.1 kB / 0.9878 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.2536, allocations: 188.2 kB / 0.988 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.2537, allocations: 109 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.2537, allocations: 180.2 kB / 0.9882 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.2537, allocations: 112.9 kB / 0.9883 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.767e-05/0.2538, allocations: 83.28 kB / 0.9884 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2538, allocations: 0 / 0.9884 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002434/0.254, allocations: 19.94 kB / 0.9884 GB, free: 18.05 MB / 0.6198 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.0002561/0.2543, allocations: 0.8204 MB / 0.9892 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.714e-05/0.2544, allocations: 12 kB / 0.9893 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2544, allocations: 0 / 0.9893 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.2544, allocations: 0 / 0.9893 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.2548, allocations: 0.5197 MB / 0.9898 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.2551, allocations: 233.4 kB / 0.99 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.2553, allocations: 0.6731 MB / 0.9906 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.944e-05/0.2553, allocations: 11.95 kB / 0.9907 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.2553, allocations: 11.42 kB / 0.9907 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2553, allocations: 0 / 0.9907 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0109/0.2662, allocations: 1.211 MB / 0.9919 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.2665, allocations: 199.6 kB / 0.992 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/1.884, allocations: 0 / 0.992 GB, free: 14.4 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)