Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",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.0008267/0.0008267, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005225/0.005225, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.218/1.218, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.8832/0.8832, allocations: 143.2 MB / 434.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002664/0.0002664, allocations: 8 kB / 0.5165 GB, free: 11.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1266, allocations: 83.42 MB / 0.5979 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003743/0.1304, allocations: 3.686 MB / 0.6015 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001648/0.1306, allocations: 155.5 kB / 0.6017 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.206e-05/0.1306, allocations: 0 / 0.6017 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.976e-05/0.1307, allocations: 3.938 kB / 0.6017 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.523e-05/0.1307, allocations: 11.98 kB / 0.6017 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.131, allocations: 81.62 kB / 0.6018 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.895e-05/0.1311, allocations: 63.8 kB / 0.6019 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.943e-05/0.1311, allocations: 0 / 0.6019 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.031e-05/0.1312, allocations: 11.94 kB / 0.6019 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.276e-05/0.1312, allocations: 15.97 kB / 0.6019 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.1312, allocations: 0 / 0.6019 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.1314, allocations: 75.8 kB / 0.602 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.549e-05/0.1314, allocations: 11.98 kB / 0.602 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.1315, allocations: 37.62 kB / 0.602 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.1316, allocations: 48.17 kB / 0.602 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1316, allocations: 3.984 kB / 0.602 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1316, allocations: 0 / 0.602 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.584e-06/0.1316, allocations: 0 / 0.602 GB, free: 3.387 MB / 0.4981 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.0002767/0.1319, allocations: 327.4 kB / 0.6024 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.1319, allocations: 12.03 kB / 0.6024 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.932e-05/0.132, allocations: 46.73 kB / 0.6024 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.158e-05/0.132, allocations: 0.9375 kB / 0.6024 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.489e-05/0.1321, allocations: 164.4 kB / 0.6026 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/0.1322, allocations: 26.27 kB / 0.6026 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.1322, allocations: 4.125 kB / 0.6026 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.806e-05/0.1323, allocations: 45.69 kB / 0.6026 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.1323, allocations: 0 / 0.6026 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.1323, allocations: 0 / 0.6026 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.1323, allocations: 3.938 kB / 0.6026 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.448e-05/0.1324, allocations: 15.98 kB / 0.6027 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.1327, allocations: 334 kB / 0.603 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.883e-05/0.1328, allocations: 18.58 kB / 0.603 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.265e-05/0.1328, allocations: 8.859 kB / 0.603 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.27e-05/0.1329, allocations: 85.16 kB / 0.6031 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1329, allocations: 42.5 kB / 0.6031 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1329, allocations: 0 / 0.6031 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001089/0.133, allocations: 33.64 kB / 0.6032 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.1331, allocations: 51.41 kB / 0.6032 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.254e-05/0.1331, allocations: 109.8 kB / 0.6033 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.1331, allocations: 25.7 kB / 0.6033 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.1332, allocations: 84.08 kB / 0.6034 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.432e-06/0.1332, allocations: 7.906 kB / 0.6034 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.1332, allocations: 17.83 kB / 0.6034 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.928e-05/0.1333, allocations: 318.8 kB / 0.6038 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.1333, allocations: 4 kB / 0.6038 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.066e-05/0.1334, allocations: 17.72 kB / 0.6038 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.863e-05/0.1334, allocations: 21.64 kB / 0.6038 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1334, allocations: 0 / 0.6038 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.526e-05/0.1335, allocations: 53.64 kB / 0.6038 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.1335, allocations: 7.984 kB / 0.6039 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.1335, allocations: 0 / 0.6039 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/0.1335, allocations: 0 / 0.6039 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.376e-05/0.1336, allocations: 4 kB / 0.6039 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1336, allocations: 4 kB / 0.6039 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.1336, allocations: 3.938 kB / 0.6039 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1336, allocations: 0 / 0.6039 GB, free: 1.242 MB / 0.4981 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 5.979e-05/0.1337, allocations: 121.8 kB / 0.604 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.1337, allocations: 4.062 kB / 0.604 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.536e-05/0.1338, allocations: 124.8 kB / 0.6041 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.274e-05/0.1338, allocations: 176.3 kB / 0.6043 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.858e-05/0.1339, allocations: 184.3 kB / 0.6044 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-05/0.134, allocations: 184.3 kB / 0.6046 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2323/0.3663, allocations: 406.5 kB / 0.605 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.828e-05/0.3664, allocations: 106.6 kB / 0.6051 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.931e-05/0.3664, allocations: 103.4 kB / 0.6052 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.42e-05/0.3664, allocations: 182.3 kB / 0.6054 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/0.3665, allocations: 181.7 kB / 0.6056 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.573e-05/0.3665, allocations: 178.4 kB / 0.6057 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.583e-05/0.3665, allocations: 181.1 kB / 0.6059 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.3667, allocations: 311.9 kB / 0.6062 GB, free: 39.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.3667, allocations: 180.8 kB / 0.6064 GB, free: 39.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.3668, allocations: 181.4 kB / 0.6065 GB, free: 39.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.3669, allocations: 113.1 kB / 0.6066 GB, free: 39.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.367, allocations: 183 kB / 0.6068 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.367, allocations: 106.1 kB / 0.6069 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.354e-05/0.3671, allocations: 86.42 kB / 0.607 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3671, allocations: 0 / 0.607 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003104/0.3674, allocations: 17.25 kB / 0.607 GB, free: 38.86 MB / 0.4981 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.0003732/0.3678, allocations: 0.8289 MB / 0.6078 GB, free: 38.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.573e-05/0.3679, allocations: 15.81 kB / 0.6078 GB, free: 38.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3679, allocations: 0.5312 kB / 0.6078 GB, free: 38.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.754e-06/0.3679, allocations: 1.469 kB / 0.6078 GB, free: 38.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.3682, allocations: 0.5286 MB / 0.6084 GB, free: 37.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006831/0.3689, allocations: 1.329 MB / 0.6097 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.144e-05/0.369, allocations: 0.6728 MB / 0.6103 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.96e-05/0.369, allocations: 11.98 kB / 0.6103 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.3691, allocations: 9.219 kB / 0.6103 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.3691, allocations: 0 / 0.6103 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5351/0.9042, allocations: 1.327 MB / 0.6116 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.9044, allocations: 218.4 kB / 0.6118 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.507, allocations: 5.969 kB / 0.6119 GB, free: 35.23 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)