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.001442/0.001442, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001692/0.001692, allocations: 192.7 kB / 16.14 MB, free: 6.703 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.203/1.203, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.8481/0.8481, allocations: 143 MB / 433 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001134, allocations: 59.91 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1232, allocations: 82.04 MB / 0.5937 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004307/0.1276, allocations: 4.052 MB / 0.5977 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000159/0.1278, allocations: 159.4 kB / 0.5978 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.283e-05/0.1278, allocations: 0 / 0.5978 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.792e-05/0.1279, allocations: 4 kB / 0.5978 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.902e-05/0.1279, allocations: 15.91 kB / 0.5978 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.1282, allocations: 75.75 kB / 0.5979 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.03e-05/0.1283, allocations: 59.88 kB / 0.598 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.048e-05/0.1283, allocations: 0 / 0.598 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.132e-05/0.1283, allocations: 23.86 kB / 0.598 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.027e-05/0.1284, allocations: 15.98 kB / 0.598 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.1284, allocations: 0 / 0.598 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.1286, allocations: 71.78 kB / 0.5981 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.1286, allocations: 4 kB / 0.5981 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.1287, allocations: 19.91 kB / 0.5981 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.1288, allocations: 40.25 kB / 0.5981 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1288, allocations: 0 / 0.5981 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.22e-07/0.1288, allocations: 0 / 0.5981 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.855e-06/0.1288, allocations: 0 / 0.5981 GB, free: 5.43 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.0002921/0.1291, allocations: 343.4 kB / 0.5985 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.1291, allocations: 11.97 kB / 0.5985 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.666e-05/0.1292, allocations: 38.69 kB / 0.5985 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.1292, allocations: 0.9375 kB / 0.5985 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.913e-05/0.1293, allocations: 164.4 kB / 0.5987 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/0.1293, allocations: 30.27 kB / 0.5987 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.1293, allocations: 4.125 kB / 0.5987 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.1294, allocations: 41.69 kB / 0.5987 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.1295, allocations: 4 kB / 0.5988 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1295, allocations: 4 kB / 0.5988 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.1295, allocations: 0 / 0.5988 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.707e-05/0.1295, allocations: 15.98 kB / 0.5988 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.1299, allocations: 338 kB / 0.5991 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.679e-05/0.1299, allocations: 14.58 kB / 0.5991 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.1299, allocations: 8.922 kB / 0.5991 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.891e-05/0.13, allocations: 89.09 kB / 0.5992 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.13, allocations: 30.56 kB / 0.5992 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.13, allocations: 0 / 0.5992 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001116/0.1301, allocations: 45.55 kB / 0.5993 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.1302, allocations: 51.41 kB / 0.5993 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.713e-05/0.1302, allocations: 105.8 kB / 0.5994 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1303, allocations: 25.83 kB / 0.5994 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.1303, allocations: 88.08 kB / 0.5995 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.531e-06/0.1303, allocations: 3.906 kB / 0.5995 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.1303, allocations: 21.64 kB / 0.5996 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.519e-05/0.1304, allocations: 318.8 kB / 0.5999 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.1304, allocations: 8 kB / 0.5999 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.826e-05/0.1305, allocations: 13.72 kB / 0.5999 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.312e-05/0.1305, allocations: 33.64 kB / 0.5999 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1305, allocations: 0 / 0.5999 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.55e-05/0.1306, allocations: 41.7 kB / 0.6 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.1306, allocations: 7.984 kB / 0.6 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.1306, allocations: 288 / 0.6 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.1306, allocations: 4 kB / 0.6 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.578e-05/0.1307, allocations: 7.938 kB / 0.6 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-06/0.1307, allocations: 0 / 0.6 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.1307, allocations: 4.062 kB / 0.6 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1307, allocations: 7.938 kB / 0.6 GB, free: 3.258 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.131e-05/0.1308, allocations: 109.8 kB / 0.6001 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.1308, allocations: 11.89 kB / 0.6001 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.427e-05/0.1309, allocations: 117 kB / 0.6002 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-05/0.1309, allocations: 184.2 kB / 0.6004 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.264e-05/0.131, allocations: 180.3 kB / 0.6006 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-05/0.131, allocations: 184.2 kB / 0.6007 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.1312, allocations: 409.2 kB / 0.6011 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.482e-05/0.1312, allocations: 105 kB / 0.6012 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.862e-05/0.1313, allocations: 108.9 kB / 0.6013 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.406e-05/0.1313, allocations: 184.3 kB / 0.6015 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/0.1314, allocations: 184.2 kB / 0.6017 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.153e-05/0.1314, allocations: 176.3 kB / 0.6018 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.153e-05/0.1315, allocations: 180.2 kB / 0.602 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.689e-05/0.1316, allocations: 311.7 kB / 0.6023 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.1316, allocations: 186 kB / 0.6025 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.1317, allocations: 180.2 kB / 0.6027 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.1318, allocations: 109 kB / 0.6028 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.1319, allocations: 180.2 kB / 0.6029 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2021/0.334, allocations: 101 kB / 0.603 GB, free: 44.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.421e-05/0.3341, allocations: 88.36 kB / 0.6031 GB, free: 44.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3341, allocations: 1.062 kB / 0.6031 GB, free: 44.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000259/0.3344, allocations: 16.44 kB / 0.6031 GB, free: 44.87 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.0003138/0.3347, allocations: 0.828 MB / 0.6039 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.991e-05/0.3348, allocations: 14.56 kB / 0.604 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3348, allocations: 0.625 kB / 0.604 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.3348, allocations: 4.719 kB / 0.604 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.3351, allocations: 0.5233 MB / 0.6045 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006108/0.3357, allocations: 1.317 MB / 0.6058 GB, free: 42.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.147e-05/0.3358, allocations: 0.6739 MB / 0.6064 GB, free: 41.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.565e-05/0.3358, allocations: 9.594 kB / 0.6064 GB, free: 41.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.3358, allocations: 14.55 kB / 0.6064 GB, free: 41.56 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.3358, allocations: 1.406 kB / 0.6064 GB, free: 41.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/0.4388, allocations: 1.384 MB / 0.6078 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/0.4389, allocations: 221.1 kB / 0.608 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.059, allocations: 0.6562 kB / 0.608 GB, free: 41.15 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)