Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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.001546/0.001546, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00127/0.001271, allocations: 190.7 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.1 MB / 222.1 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 292.3 MB / 0.5486 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 70.06 kB / 0.6711 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1845, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01429/0.1988, allocations: 13.09 MB / 0.7958 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002419/0.2012, allocations: 2.636 MB / 0.7983 GB, free: 14 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.707e-05/0.2013, allocations: 0 / 0.7983 GB, free: 14 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.2016, allocations: 39.8 kB / 0.7984 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.2018, allocations: 95.48 kB / 0.7985 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009489/0.2028, allocations: 444.1 kB / 0.7989 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.203, allocations: 235.9 kB / 0.7991 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.2031, allocations: 13.56 kB / 0.7991 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006381/0.2095, allocations: 3.352 MB / 0.8024 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.2096, allocations: 99.58 kB / 0.8025 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.2096, allocations: 8 kB / 0.8025 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.2115, allocations: 1.015 MB / 0.8035 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.2115, allocations: 39.89 kB / 0.8035 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 8.12e-05/0.2116, allocations: 79.64 kB / 0.8036 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004564/0.2121, allocations: 351.1 kB / 0.8039 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.2121, allocations: 8 kB / 0.8039 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.945e-06/0.2121, allocations: 0 / 0.8039 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.2121, allocations: 3.938 kB / 0.8039 GB, free: 8.234 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006289/0.2128, allocations: 0.4992 MB / 0.8044 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2128, allocations: 12.03 kB / 0.8044 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/0.2129, allocations: 46.73 kB / 0.8045 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.213, allocations: 24.75 kB / 0.8045 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.2132, allocations: 224.1 kB / 0.8047 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.2132, allocations: 12.69 kB / 0.8047 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.2132, allocations: 16.38 kB / 0.8048 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.2136, allocations: 247.9 kB / 0.805 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.2136, allocations: 0 / 0.805 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.2136, allocations: 16 kB / 0.805 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.2137, allocations: 4 kB / 0.805 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004368/0.2141, allocations: 431.5 kB / 0.8054 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009632/0.2151, allocations: 0.9565 MB / 0.8064 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.2153, allocations: 157.9 kB / 0.8065 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.2e-05/0.2154, allocations: 68.81 kB / 0.8066 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.2166, allocations: 1.833 MB / 0.8084 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.2166, allocations: 38.55 kB / 0.8084 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.2166, allocations: 0 / 0.8084 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0003006/0.2169, allocations: 141.4 kB / 0.8085 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.217, allocations: 63.34 kB / 0.8086 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.2171, allocations: 163.3 kB / 0.8087 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.2171, allocations: 29.7 kB / 0.8088 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.15e-05/0.2172, allocations: 143.8 kB / 0.8089 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.2172, allocations: 59.19 kB / 0.809 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.858e-05/0.2173, allocations: 49.7 kB / 0.809 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.2174, allocations: 326.8 kB / 0.8093 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.085e-05/0.2175, allocations: 31.98 kB / 0.8094 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.2176, allocations: 139.7 kB / 0.8095 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.2178, allocations: 197.5 kB / 0.8097 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2178, allocations: 4 kB / 0.8097 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002963/0.2181, allocations: 216.6 kB / 0.8099 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2181, allocations: 8 kB / 0.8099 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2181, allocations: 4 kB / 0.8099 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.2182, allocations: 7.938 kB / 0.8099 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.2183, allocations: 59.84 kB / 0.81 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.2183, allocations: 11.94 kB / 0.81 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.2185, allocations: 27.69 kB / 0.81 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.2185, allocations: 16.31 kB / 0.81 GB, free: 1.273 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 9.262e-05/0.2186, allocations: 133.8 kB / 0.8101 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.2186, allocations: 15.81 kB / 0.8102 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.2189, allocations: 147 kB / 0.8103 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.2189, allocations: 11.88 kB / 0.8103 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.219, allocations: 0 / 0.8103 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.219, allocations: 0 / 0.8103 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.2192, allocations: 221.4 kB / 0.8105 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2192, allocations: 3.984 kB / 0.8105 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.452e-05/0.2193, allocations: 31.92 kB / 0.8106 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2193, allocations: 0 / 0.8106 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.2193, allocations: 8 kB / 0.8106 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2193, allocations: 3.938 kB / 0.8106 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2193, allocations: 0 / 0.8106 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.2195, allocations: 215.3 kB / 0.8108 GB, free: 432 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.496e-05/0.2196, allocations: 112.9 kB / 0.8109 GB, free: 300 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.2197, allocations: 4 kB / 0.8109 GB, free: 296 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.2198, allocations: 23.91 kB / 0.8109 GB, free: 272 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.2199, allocations: 11.98 kB / 0.8109 GB, free: 260 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.2199, allocations: 8 kB / 0.8109 GB, free: 252 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.943e-05/0.22, allocations: 120 kB / 0.811 GB, free: 132 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.22, allocations: 0 / 0.811 GB, free: 132 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003473/0.2203, allocations: 75.92 kB / 0.8111 GB, free: 56 kB / 0.6231 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.000626/0.221, allocations: 0.8357 MB / 0.8119 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.2212, allocations: 123.8 kB / 0.8121 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2212, allocations: 4 kB / 0.8121 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.42e-05/0.2213, allocations: 47.86 kB / 0.8121 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.2217, allocations: 56.77 kB / 0.8122 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.2235, allocations: 2.066 MB / 0.8142 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.2238, allocations: 0.7168 MB / 0.8149 GB, free: 12 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001733/0.224, allocations: 49.73 kB / 0.8149 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.192e-05/0.224, allocations: 43.42 kB / 0.815 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of SimCode: time 2.3e-07/0.224, allocations: 0 / 0.815 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.316/0.5401, allocations: 5.29 MB / 0.8201 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002946/0.5404, allocations: 218.5 kB / 0.8203 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.304, allocations: 0 / 0.8203 GB, free: 6.523 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)