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.001224/0.001224, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00104/0.00104, allocations: 193.9 kB / 16.25 MB, free: 6.621 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.29/1.29, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.9652/0.9652, allocations: 143 MB / 433.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.91 kB / 0.5138 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1358, allocations: 82.04 MB / 0.5939 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004023/0.1399, allocations: 3.334 MB / 0.5972 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 8.656e-05/0.14, allocations: 51.88 kB / 0.5972 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.75e-05/0.14, allocations: 0 / 0.5972 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.229e-05/0.1401, allocations: 7.922 kB / 0.5972 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.225e-05/0.1402, allocations: 15.92 kB / 0.5972 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.1406, allocations: 177.9 kB / 0.5974 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.29e-05/0.1407, allocations: 39.78 kB / 0.5974 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.993e-05/0.1407, allocations: 8 kB / 0.5974 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.247e-05/0.1408, allocations: 11.98 kB / 0.5975 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.923e-05/0.1408, allocations: 11.98 kB / 0.5975 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.1408, allocations: 0 / 0.5975 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.1411, allocations: 175.5 kB / 0.5976 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.433e-05/0.1412, allocations: 15.91 kB / 0.5976 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.1412, allocations: 8 kB / 0.5977 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.1414, allocations: 139.9 kB / 0.5978 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1414, allocations: 0 / 0.5978 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1414, allocations: 4 kB / 0.5978 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1415, allocations: 0 / 0.5978 GB, free: 5.805 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.0003135/0.1418, allocations: 349.3 kB / 0.5981 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.1418, allocations: 8.031 kB / 0.5981 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/0.1418, allocations: 38.75 kB / 0.5982 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.1419, allocations: 0.9375 kB / 0.5982 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.825e-05/0.142, allocations: 164.4 kB / 0.5983 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.142, allocations: 30.27 kB / 0.5984 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.142, allocations: 4.125 kB / 0.5984 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.975e-05/0.1421, allocations: 45.67 kB / 0.5984 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.1422, allocations: 0 / 0.5984 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1422, allocations: 7.984 kB / 0.5984 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.1422, allocations: 4 kB / 0.5984 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.721e-05/0.1422, allocations: 15.92 kB / 0.5984 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/0.1427, allocations: 0.5872 MB / 0.599 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.511e-05/0.1428, allocations: 22.58 kB / 0.599 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.291e-05/0.1428, allocations: 4.859 kB / 0.599 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/0.143, allocations: 348.4 kB / 0.5994 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.143, allocations: 30.56 kB / 0.5994 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 3.236e-06/0.1431, allocations: 0 / 0.5994 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001141/0.1432, allocations: 37.62 kB / 0.5994 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.1432, allocations: 55.41 kB / 0.5995 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.264e-05/0.1433, allocations: 102 kB / 0.5996 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1433, allocations: 25.7 kB / 0.5996 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.1433, allocations: 88.03 kB / 0.5997 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/0.1433, allocations: 7.906 kB / 0.5997 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.1434, allocations: 17.72 kB / 0.5997 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.942e-05/0.1435, allocations: 314.8 kB / 0.6 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.1435, allocations: 7.984 kB / 0.6 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.068e-05/0.1435, allocations: 17.66 kB / 0.6 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.889e-05/0.1435, allocations: 25.66 kB / 0.6001 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1436, allocations: 0 / 0.6001 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.025e-05/0.1436, allocations: 49.62 kB / 0.6001 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1436, allocations: 8 kB / 0.6001 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.1437, allocations: 0 / 0.6001 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.1437, allocations: 0 / 0.6001 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.81e-05/0.1437, allocations: 7.984 kB / 0.6001 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1437, allocations: 8.062 kB / 0.6001 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.786e-05/0.1437, allocations: 3.938 kB / 0.6001 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.1438, allocations: 4 kB / 0.6001 GB, free: 3.008 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.594e-05/0.1438, allocations: 117.8 kB / 0.6003 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.1439, allocations: 0 / 0.6003 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.144, allocations: 127.1 kB / 0.6004 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.682e-05/0.144, allocations: 184.3 kB / 0.6005 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-05/0.1441, allocations: 176.3 kB / 0.6007 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.496e-05/0.1441, allocations: 184.2 kB / 0.6009 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.1443, allocations: 405.2 kB / 0.6013 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.004e-05/0.1443, allocations: 108.9 kB / 0.6014 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.1444, allocations: 101 kB / 0.6015 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.525e-05/0.1444, allocations: 184.2 kB / 0.6017 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/0.1445, allocations: 180.2 kB / 0.6018 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-05/0.1445, allocations: 184.2 kB / 0.602 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.425e-05/0.1446, allocations: 180.2 kB / 0.6022 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.1447, allocations: 315.7 kB / 0.6025 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.1448, allocations: 182.1 kB / 0.6026 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.1448, allocations: 184.3 kB / 0.6028 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2229/0.3678, allocations: 107.4 kB / 0.6029 GB, free: 44.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.3678, allocations: 183.2 kB / 0.6031 GB, free: 44.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.3678, allocations: 102.4 kB / 0.6032 GB, free: 44.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.086e-05/0.3679, allocations: 84.28 kB / 0.6033 GB, free: 44.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3679, allocations: 0 / 0.6033 GB, free: 44.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003096/0.3682, allocations: 30.3 kB / 0.6033 GB, free: 44.26 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.0003329/0.3686, allocations: 0.8698 MB / 0.6042 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.692e-05/0.3686, allocations: 12.19 kB / 0.6042 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3687, allocations: 1.594 kB / 0.6042 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.3687, allocations: 0 / 0.6042 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.369, allocations: 461.6 kB / 0.6046 GB, free: 43.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00064/0.3696, allocations: 1.328 MB / 0.6059 GB, free: 41.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.583e-05/0.3697, allocations: 0.6739 MB / 0.6066 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.136e-05/0.3698, allocations: 5.328 kB / 0.6066 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/0.3698, allocations: 14.09 kB / 0.6066 GB, free: 41.03 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.3698, allocations: 3.656 kB / 0.6066 GB, free: 41.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.546/1.916, allocations: 2.112 MB / 0.6087 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/1.916, allocations: 271.7 kB / 0.6089 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/3.482, allocations: 3.75 kB / 0.6089 GB, free: 40.42 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)