Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.WaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties",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.006406/0.006406, allocations: 98.75 kB / 15.73 MB, free: 6.059 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.001462/0.001462, allocations: 189.1 kB / 16.67 MB, free: 5.969 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.073/1.073, allocations: 143.3 MB / 433.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002528, allocations: 63.89 kB / 0.5953 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.487, allocations: 82.03 MB / 0.6754 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.006677/0.4937, allocations: 4.726 MB / 0.6801 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003258/0.497, allocations: 2.709 MB / 0.6827 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.4972, allocations: 1.094 kB / 0.6827 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.4975, allocations: 46.48 kB / 0.6828 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.4978, allocations: 99.08 kB / 0.6828 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.4992, allocations: 0.4977 MB / 0.6833 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.4996, allocations: 228.1 kB / 0.6835 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.431e-05/0.4996, allocations: 17.38 kB / 0.6836 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.4999, allocations: 121.5 kB / 0.6837 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.5, allocations: 89.47 kB / 0.6838 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.5001, allocations: 8.75 kB / 0.6838 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007703/0.5008, allocations: 368.1 kB / 0.6841 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.14e-05/0.5009, allocations: 33.52 kB / 0.6842 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.501, allocations: 84.64 kB / 0.6842 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006926/0.5017, allocations: 364.5 kB / 0.6846 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.5018, allocations: 0 / 0.6846 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5018, allocations: 1.25 kB / 0.6846 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.5018, allocations: 0 / 0.6846 GB, free: 9.816 MB / 0.5137 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.0008632/0.5026, allocations: 0.5088 MB / 0.6851 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.5027, allocations: 9.781 kB / 0.6851 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.318e-05/0.5028, allocations: 49.77 kB / 0.6851 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.503, allocations: 32.86 kB / 0.6852 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.5033, allocations: 214.3 kB / 0.6854 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.5033, allocations: 10.61 kB / 0.6854 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.5034, allocations: 18.28 kB / 0.6854 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.5038, allocations: 251.2 kB / 0.6856 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5038, allocations: 0 / 0.6856 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.5038, allocations: 10.75 kB / 0.6857 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.5039, allocations: 5.5 kB / 0.6857 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/0.5044, allocations: 425.8 kB / 0.6861 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.5057, allocations: 0.965 MB / 0.687 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.506, allocations: 161.3 kB / 0.6872 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.5061, allocations: 65.58 kB / 0.6872 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001609/0.5077, allocations: 1.828 MB / 0.689 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.5078, allocations: 39.88 kB / 0.689 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.5078, allocations: 1.344 kB / 0.689 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003667/0.5082, allocations: 143.4 kB / 0.6892 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.5082, allocations: 56.69 kB / 0.6892 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.5084, allocations: 173.4 kB / 0.6894 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.5085, allocations: 32.17 kB / 0.6894 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.5086, allocations: 139.8 kB / 0.6896 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.5086, allocations: 54.78 kB / 0.6896 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/0.5087, allocations: 56.62 kB / 0.6897 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.5089, allocations: 325.6 kB / 0.69 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-05/0.509, allocations: 33.3 kB / 0.69 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.5091, allocations: 143.3 kB / 0.6902 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.5094, allocations: 206.4 kB / 0.6904 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5094, allocations: 1.5 kB / 0.6904 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003573/0.5098, allocations: 223.5 kB / 0.6906 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.5098, allocations: 11.12 kB / 0.6906 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.5098, allocations: 3.938 kB / 0.6906 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.5098, allocations: 8.875 kB / 0.6906 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.51, allocations: 53.08 kB / 0.6906 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.51, allocations: 9.406 kB / 0.6906 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.5102, allocations: 28.06 kB / 0.6907 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.5102, allocations: 18.08 kB / 0.6907 GB, free: 4.039 MB / 0.5137 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 0.0001311/0.5103, allocations: 134.6 kB / 0.6908 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.306e-05/0.5104, allocations: 16.84 kB / 0.6908 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.5107, allocations: 153.6 kB / 0.691 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.5108, allocations: 5.562 kB / 0.691 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.5108, allocations: 0 / 0.691 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.5108, allocations: 7.984 kB / 0.691 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.5111, allocations: 214.3 kB / 0.6912 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5111, allocations: 0 / 0.6912 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.646e-05/0.5112, allocations: 23.48 kB / 0.6912 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.5112, allocations: 1.406 kB / 0.6912 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.5112, allocations: 9.25 kB / 0.6912 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.5112, allocations: 5.062 kB / 0.6912 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.5112, allocations: 3.938 kB / 0.6912 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.5115, allocations: 227.2 kB / 0.6915 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.5116, allocations: 106.5 kB / 0.6916 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.5116, allocations: 1.125 kB / 0.6916 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.5118, allocations: 18.77 kB / 0.6916 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.5119, allocations: 9.203 kB / 0.6916 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.5119, allocations: 15.77 kB / 0.6916 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.924e-05/0.512, allocations: 118.2 kB / 0.6917 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.512, allocations: 1.219 kB / 0.6917 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004075/0.5124, allocations: 77.19 kB / 0.6918 GB, free: 3.105 MB / 0.5137 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.0008434/0.5133, allocations: 0.8429 MB / 0.6926 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.5135, allocations: 119.9 kB / 0.6927 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5136, allocations: 1.344 kB / 0.6927 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.841e-05/0.5136, allocations: 43.77 kB / 0.6928 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.5141, allocations: 68.88 kB / 0.6928 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.5165, allocations: 2.039 MB / 0.6948 GB, free: 472 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.5169, allocations: 0.712 MB / 0.6955 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001711/0.5171, allocations: 51.38 kB / 0.6956 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/0.5171, allocations: 48.58 kB / 0.6956 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.5171, allocations: 0 / 0.6956 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.5459, allocations: 5.358 MB / 0.7009 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.305/8.851, allocations: 4 kB / 0.7009 GB, free: 11.23 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1)