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.00531/0.00531, allocations: 99.66 kB / 15.73 MB, free: 5.949 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.0013/0.0013, allocations: 193.1 kB / 16.67 MB, free: 5.875 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.164 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 0.994/0.994, allocations: 143 MB / 433.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 67.89 kB / 0.595 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4215, allocations: 82.03 MB / 0.6751 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1466/0.5682, allocations: 135.4 MB / 0.8074 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001792/0.5684, allocations: 63.84 kB / 0.8075 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.59e-05/0.5685, allocations: 0 / 0.8075 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.5686, allocations: 3.938 kB / 0.8075 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.321e-05/0.5687, allocations: 11.97 kB / 0.8075 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008426/0.5695, allocations: 250.9 kB / 0.8077 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 8.052e-05/0.5696, allocations: 27.91 kB / 0.8077 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.5697, allocations: 4 kB / 0.8077 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.928e-05/0.5697, allocations: 27.84 kB / 0.8078 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.145e-05/0.5698, allocations: 4 kB / 0.8078 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.5698, allocations: 4 kB / 0.8078 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005012/0.5703, allocations: 247.3 kB / 0.808 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.754e-05/0.5704, allocations: 11.98 kB / 0.808 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.5704, allocations: 11.94 kB / 0.808 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003938/0.5708, allocations: 189.9 kB / 0.8082 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5708, allocations: 0 / 0.8082 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5708, allocations: 0 / 0.8082 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.5708, allocations: 0 / 0.8082 GB, free: 13.69 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.0004845/0.5713, allocations: 355.5 kB / 0.8086 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.5714, allocations: 8.031 kB / 0.8086 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.5714, allocations: 42.67 kB / 0.8086 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.5715, allocations: 4.844 kB / 0.8086 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.5716, allocations: 164.4 kB / 0.8088 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-05/0.5716, allocations: 34.02 kB / 0.8088 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.5716, allocations: 0 / 0.8088 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.5718, allocations: 45.67 kB / 0.8088 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.5718, allocations: 0 / 0.8088 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.5718, allocations: 0 / 0.8088 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.5718, allocations: 4 kB / 0.8088 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.359e-05/0.5719, allocations: 15.92 kB / 0.8089 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007465/0.5726, allocations: 0.6028 MB / 0.8094 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 3.955e-05/0.5727, allocations: 18.58 kB / 0.8095 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.5727, allocations: 8.844 kB / 0.8095 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/0.5729, allocations: 336.5 kB / 0.8098 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.5729, allocations: 38.56 kB / 0.8098 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.5729, allocations: 0 / 0.8098 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001404/0.5731, allocations: 33.64 kB / 0.8099 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.5731, allocations: 55.41 kB / 0.8099 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.418e-05/0.5732, allocations: 101.8 kB / 0.81 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.5732, allocations: 25.7 kB / 0.81 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.5733, allocations: 91.98 kB / 0.8101 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.154e-06/0.5733, allocations: 7.844 kB / 0.8101 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.5733, allocations: 21.84 kB / 0.8102 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.5734, allocations: 318.8 kB / 0.8105 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.5735, allocations: 4 kB / 0.8105 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.326e-05/0.5735, allocations: 17.72 kB / 0.8105 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.484e-05/0.5735, allocations: 21.64 kB / 0.8105 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5735, allocations: 0 / 0.8105 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.437e-05/0.5736, allocations: 49.7 kB / 0.8105 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.5736, allocations: 4 kB / 0.8106 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5737, allocations: 3.984 kB / 0.8106 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.5737, allocations: 0 / 0.8106 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-05/0.5737, allocations: 11.88 kB / 0.8106 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.5737, allocations: 4 kB / 0.8106 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.879e-05/0.5738, allocations: 3.938 kB / 0.8106 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.5738, allocations: 0 / 0.8106 GB, free: 10.88 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 6.289e-05/0.5738, allocations: 113.9 kB / 0.8107 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.5739, allocations: 4 kB / 0.8107 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.574, allocations: 117 kB / 0.8108 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.349e-05/0.574, allocations: 180.2 kB / 0.811 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-05/0.5741, allocations: 184.3 kB / 0.8111 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-05/0.5742, allocations: 184.1 kB / 0.8113 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.5744, allocations: 405.2 kB / 0.8117 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.814e-05/0.5744, allocations: 109 kB / 0.8118 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.5745, allocations: 108.9 kB / 0.8119 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.692e-05/0.5745, allocations: 176.3 kB / 0.8121 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/0.5746, allocations: 188.2 kB / 0.8123 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.013e-05/0.5746, allocations: 176.3 kB / 0.8124 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.406e-05/0.5747, allocations: 180.3 kB / 0.8126 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.5748, allocations: 315.8 kB / 0.8129 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.559e-05/0.5749, allocations: 182.3 kB / 0.8131 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.998e-05/0.575, allocations: 188.3 kB / 0.8133 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.5751, allocations: 109 kB / 0.8134 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.5753, allocations: 188.2 kB / 0.8135 GB, free: 7.625 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.5753, allocations: 104.9 kB / 0.8136 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.279e-05/0.5754, allocations: 83.27 kB / 0.8137 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5754, allocations: 3.938 kB / 0.8137 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003171/0.5757, allocations: 59.94 kB / 0.8138 GB, free: 7.371 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.0005941/0.5763, allocations: 0.8828 MB / 0.8146 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 6.758e-05/0.5764, allocations: 12 kB / 0.8147 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5764, allocations: 0 / 0.8147 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.867e-06/0.5764, allocations: 3.938 kB / 0.8147 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.5767, allocations: 459.6 kB / 0.8151 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.5778, allocations: 1.352 MB / 0.8164 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.578, allocations: 0.6807 MB / 0.8171 GB, free: 3.844 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.833e-05/0.578, allocations: 7.859 kB / 0.8171 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.5781, allocations: 7.438 kB / 0.8171 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of SimCode: time 2.51e-07/0.5781, allocations: 0 / 0.8171 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.595, allocations: 2.285 MB / 0.8193 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.104/7.699, allocations: 0 / 0.8193 GB, free: 1.664 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)