Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",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.007875/0.007875, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001848/0.001848, allocations: 188.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.007/1.007, allocations: 143 MB / 433.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 60.05 kB / 0.595 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4392/0.4405, allocations: 82.03 MB / 0.6751 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1496/0.5901, allocations: 135.4 MB / 0.8074 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001595/0.5903, allocations: 55.88 kB / 0.8075 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.5904, allocations: 0 / 0.8075 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 9.933e-05/0.5905, allocations: 3.984 kB / 0.8075 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.569e-05/0.5906, allocations: 11.92 kB / 0.8075 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000789/0.5914, allocations: 246.9 kB / 0.8077 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 7.286e-05/0.5914, allocations: 27.92 kB / 0.8077 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.425e-05/0.5915, allocations: 3.984 kB / 0.8077 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.622e-05/0.5915, allocations: 27.86 kB / 0.8078 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.883e-05/0.5916, allocations: 8 kB / 0.8078 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.5916, allocations: 0 / 0.8078 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004435/0.5921, allocations: 243.5 kB / 0.808 GB, free: 14 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/0.5921, allocations: 11.97 kB / 0.808 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.5921, allocations: 11.88 kB / 0.808 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.5925, allocations: 185.9 kB / 0.8082 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.5925, allocations: 0 / 0.8082 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.946e-06/0.5925, allocations: 0 / 0.8082 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.5925, allocations: 7.938 kB / 0.8082 GB, free: 13.79 MB / 0.6387 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.0003625/0.5929, allocations: 363.5 kB / 0.8086 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.5929, allocations: 8.031 kB / 0.8086 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.014e-05/0.5929, allocations: 34.75 kB / 0.8086 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.593, allocations: 8.844 kB / 0.8086 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.5931, allocations: 164.3 kB / 0.8088 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.182e-05/0.5931, allocations: 30.02 kB / 0.8088 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.5931, allocations: 4 kB / 0.8088 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.5933, allocations: 37.69 kB / 0.8088 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.5933, allocations: 0 / 0.8088 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.5933, allocations: 8 kB / 0.8088 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.5933, allocations: 3.984 kB / 0.8088 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.092e-05/0.5934, allocations: 12 kB / 0.8089 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006882/0.5941, allocations: 0.5988 MB / 0.8094 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 3.677e-05/0.5941, allocations: 18.58 kB / 0.8095 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.5941, allocations: 12.92 kB / 0.8095 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/0.5943, allocations: 332.4 kB / 0.8098 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.5944, allocations: 30.56 kB / 0.8098 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.5944, allocations: 0 / 0.8098 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001297/0.5945, allocations: 41.64 kB / 0.8099 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.5945, allocations: 51.41 kB / 0.8099 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.394e-05/0.5946, allocations: 101.8 kB / 0.81 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.5946, allocations: 33.83 kB / 0.81 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.5947, allocations: 84.05 kB / 0.8101 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.454e-06/0.5947, allocations: 7.844 kB / 0.8101 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.5947, allocations: 17.7 kB / 0.8101 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5948, allocations: 326.7 kB / 0.8104 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.249e-05/0.5949, allocations: 0 / 0.8104 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.305e-05/0.5949, allocations: 17.7 kB / 0.8105 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.501e-05/0.5949, allocations: 29.66 kB / 0.8105 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.5949, allocations: 0 / 0.8105 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.969e-05/0.595, allocations: 45.69 kB / 0.8105 GB, free: 11 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.595, allocations: 4 kB / 0.8105 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.595, allocations: 4 kB / 0.8105 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.595, allocations: 0 / 0.8105 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.124e-05/0.5951, allocations: 4 kB / 0.8106 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.5951, allocations: 3.938 kB / 0.8106 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.804e-05/0.5951, allocations: 8 kB / 0.8106 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.5951, allocations: 4 kB / 0.8106 GB, free: 10.98 MB / 0.6387 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 7.55e-05/0.5952, allocations: 109.8 kB / 0.8107 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.5953, allocations: 8.266 kB / 0.8107 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.182e-05/0.5954, allocations: 117 kB / 0.8108 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.893e-05/0.5954, allocations: 184.2 kB / 0.811 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-05/0.5955, allocations: 180.3 kB / 0.8111 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.836e-05/0.5955, allocations: 184.2 kB / 0.8113 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.5958, allocations: 409.2 kB / 0.8117 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.242e-05/0.5958, allocations: 105 kB / 0.8118 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.149e-05/0.5958, allocations: 108.9 kB / 0.8119 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.642e-05/0.5959, allocations: 184.3 kB / 0.8121 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-05/0.596, allocations: 184.2 kB / 0.8123 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.882e-05/0.596, allocations: 180.2 kB / 0.8124 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.998e-05/0.5961, allocations: 180.3 kB / 0.8126 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.5962, allocations: 311.8 kB / 0.8129 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/0.5963, allocations: 186 kB / 0.8131 GB, free: 8.211 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.349e-05/0.5964, allocations: 184.3 kB / 0.8133 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.5965, allocations: 105 kB / 0.8134 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.5966, allocations: 180.2 kB / 0.8135 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.5966, allocations: 112.9 kB / 0.8136 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.853e-05/0.5967, allocations: 87.28 kB / 0.8137 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5967, allocations: 0 / 0.8137 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002899/0.597, allocations: 59.92 kB / 0.8138 GB, free: 7.469 MB / 0.6387 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.0005727/0.5976, allocations: 0.8867 MB / 0.8146 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 6.134e-05/0.5976, allocations: 4 kB / 0.8146 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5976, allocations: 4 kB / 0.8146 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.5977, allocations: 0 / 0.8146 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.598, allocations: 477.7 kB / 0.8151 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009316/0.599, allocations: 1.332 MB / 0.8164 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.5993, allocations: 0.6807 MB / 0.8171 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.071e-05/0.5993, allocations: 11.86 kB / 0.8171 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.913e-05/0.5994, allocations: 15.44 kB / 0.8171 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of SimCode: time 2.81e-07/0.5995, allocations: 0 / 0.8171 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.6181, allocations: 2.289 MB / 0.8193 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.34/7.958, allocations: 0 / 0.8193 GB, free: 1.754 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)