Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.001423/0.001423, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 192.8 kB / 16.53 MB, free: 6.699 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.245/1.245, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.8748/0.8748, allocations: 143 MB / 433.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 67.89 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.133, allocations: 82.03 MB / 0.5944 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004224/0.1373, allocations: 3.282 MB / 0.5976 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 9.784e-05/0.1374, allocations: 59.88 kB / 0.5976 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.215e-05/0.1374, allocations: 0 / 0.5976 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.978e-05/0.1375, allocations: 7.922 kB / 0.5977 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.979e-05/0.1376, allocations: 11.92 kB / 0.5977 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.1381, allocations: 179.3 kB / 0.5978 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.561e-05/0.1382, allocations: 43.78 kB / 0.5979 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.054e-05/0.1382, allocations: 0 / 0.5979 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.494e-05/0.1383, allocations: 15.98 kB / 0.5979 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.711e-05/0.1383, allocations: 11.98 kB / 0.5979 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.1383, allocations: 0 / 0.5979 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.1387, allocations: 167.6 kB / 0.5981 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.1387, allocations: 15.91 kB / 0.5981 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.1387, allocations: 8 kB / 0.5981 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.139, allocations: 135.9 kB / 0.5982 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.139, allocations: 8 kB / 0.5982 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.139, allocations: 0 / 0.5982 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.139, allocations: 0 / 0.5982 GB, free: 5.586 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.0003295/0.1394, allocations: 350.7 kB / 0.5986 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.1394, allocations: 8.031 kB / 0.5986 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.036e-05/0.1394, allocations: 34.73 kB / 0.5986 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.1395, allocations: 4.938 kB / 0.5986 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.337e-05/0.1395, allocations: 164.3 kB / 0.5988 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.579e-05/0.1396, allocations: 38.2 kB / 0.5988 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.1396, allocations: 8.125 kB / 0.5988 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.1397, allocations: 37.69 kB / 0.5988 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1398, allocations: 7.984 kB / 0.5988 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1398, allocations: 0 / 0.5988 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.1398, allocations: 0 / 0.5988 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.075e-05/0.1398, allocations: 19.98 kB / 0.5989 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.1404, allocations: 0.5794 MB / 0.5994 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.828e-05/0.1404, allocations: 34.52 kB / 0.5995 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.1404, allocations: 8.844 kB / 0.5995 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.1406, allocations: 340.4 kB / 0.5998 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1407, allocations: 38.56 kB / 0.5998 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.1407, allocations: 0 / 0.5998 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001199/0.1408, allocations: 29.7 kB / 0.5999 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.1408, allocations: 59.47 kB / 0.5999 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.109e-05/0.1409, allocations: 105.8 kB / 0.6 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1409, allocations: 25.7 kB / 0.6 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.141, allocations: 84.05 kB / 0.6001 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.273e-06/0.141, allocations: 7.891 kB / 0.6001 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.141, allocations: 17.72 kB / 0.6002 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.526e-05/0.1411, allocations: 318.8 kB / 0.6005 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/0.1411, allocations: 0 / 0.6005 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.359e-05/0.1411, allocations: 25.7 kB / 0.6005 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.992e-05/0.1412, allocations: 17.72 kB / 0.6005 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1412, allocations: 0 / 0.6005 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.293e-05/0.1413, allocations: 49.62 kB / 0.6005 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1413, allocations: 10.66 kB / 0.6006 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1413, allocations: 0 / 0.6006 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1413, allocations: 4.062 kB / 0.6006 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.81e-05/0.1414, allocations: 4 kB / 0.6006 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.1414, allocations: 0 / 0.6006 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.1414, allocations: 7.938 kB / 0.6006 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.1414, allocations: 0 / 0.6006 GB, free: 2.793 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 6.294e-05/0.1415, allocations: 125.7 kB / 0.6007 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.1415, allocations: 0 / 0.6007 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.849e-05/0.1416, allocations: 116.9 kB / 0.6008 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.297e-05/0.1416, allocations: 180.3 kB / 0.601 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-05/0.1417, allocations: 184.2 kB / 0.6011 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-05/0.1417, allocations: 180.3 kB / 0.6013 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1419, allocations: 409.1 kB / 0.6017 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.789e-05/0.1419, allocations: 101 kB / 0.6018 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.142, allocations: 120.9 kB / 0.6019 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.161e-05/0.142, allocations: 176.3 kB / 0.6021 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.1421, allocations: 176.3 kB / 0.6023 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.316e-05/0.1421, allocations: 188.1 kB / 0.6024 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.324e-05/0.1422, allocations: 180.3 kB / 0.6026 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.1423, allocations: 311.7 kB / 0.6029 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.1423, allocations: 186.1 kB / 0.6031 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.21/0.3524, allocations: 179.2 kB / 0.6033 GB, free: 44.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.3526, allocations: 104.2 kB / 0.6034 GB, free: 44.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.3526, allocations: 187.6 kB / 0.6035 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3526, allocations: 102.3 kB / 0.6036 GB, free: 44.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.042e-05/0.3527, allocations: 87.06 kB / 0.6037 GB, free: 44.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.3527, allocations: 1.125 kB / 0.6037 GB, free: 44.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000292/0.353, allocations: 30.06 kB / 0.6037 GB, free: 44.21 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.0003567/0.3533, allocations: 0.8659 MB / 0.6046 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.92e-05/0.3534, allocations: 11.2 kB / 0.6046 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3534, allocations: 0.6562 kB / 0.6046 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.3534, allocations: 3.656 kB / 0.6046 GB, free: 43.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.3538, allocations: 461 kB / 0.605 GB, free: 42.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006968/0.3545, allocations: 1.33 MB / 0.6063 GB, free: 41.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.343e-05/0.3546, allocations: 0.6755 MB / 0.607 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.339e-05/0.3546, allocations: 5.469 kB / 0.607 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.3547, allocations: 8.984 kB / 0.607 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.3547, allocations: 2.844 kB / 0.607 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.239/1.593, allocations: 2.19 MB / 0.6092 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/16.39, allocations: 9.438 kB / 0.6092 GB, free: 40.61 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)