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/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.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.0011/0.0011, allocations: 105.4 kB / 15.7 MB, free: 24 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.001142/0.001142, allocations: 192.2 kB / 16.64 MB, free: 6.594 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.363/1.363, allocations: 222.9 MB / 240.3 MB, free: 4.375 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 1.004/1.004, allocations: 143 MB / 433.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001349, allocations: 63.91 kB / 0.5144 GB, free: 11.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.18, allocations: 82.05 MB / 0.5945 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.007364/0.1874, allocations: 4.709 MB / 0.5991 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003182/0.1907, allocations: 2.706 MB / 0.6018 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.1909, allocations: 0 / 0.6018 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.1912, allocations: 51.67 kB / 0.6018 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.1916, allocations: 95.36 kB / 0.6019 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.1931, allocations: 0.4934 MB / 0.6024 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.1934, allocations: 240 kB / 0.6026 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.819e-05/0.1935, allocations: 13.55 kB / 0.6026 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.1938, allocations: 115.5 kB / 0.6027 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.194, allocations: 95.59 kB / 0.6028 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.1941, allocations: 8 kB / 0.6028 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009562/0.195, allocations: 367.3 kB / 0.6032 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.758e-05/0.1951, allocations: 39.84 kB / 0.6032 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.1953, allocations: 79.59 kB / 0.6033 GB, free: 360 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.3168/0.5121, allocations: 363 kB / 0.6037 GB, free: 38.53 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.5121, allocations: 0.6094 kB / 0.6037 GB, free: 38.53 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.464e-06/0.5121, allocations: 0 / 0.6037 GB, free: 38.53 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.5122, allocations: 0 / 0.6037 GB, free: 38.53 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008594/0.513, allocations: 0.4987 MB / 0.6041 GB, free: 38.15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.5131, allocations: 7.938 kB / 0.6042 GB, free: 38.15 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.893e-05/0.5131, allocations: 56.3 kB / 0.6042 GB, free: 38.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.5133, allocations: 21.88 kB / 0.6042 GB, free: 38.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.5136, allocations: 213.1 kB / 0.6044 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.5137, allocations: 17.67 kB / 0.6044 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.5137, allocations: 13.67 kB / 0.6045 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.514, allocations: 252 kB / 0.6047 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.5141, allocations: 1.719 kB / 0.6047 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.5141, allocations: 13.22 kB / 0.6047 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.5141, allocations: 3.938 kB / 0.6047 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003983/0.5145, allocations: 432.1 kB / 0.6051 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009382/0.5155, allocations: 0.9564 MB / 0.6061 GB, free: 37.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.5157, allocations: 160.9 kB / 0.6062 GB, free: 37.06 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.669e-05/0.5158, allocations: 63.55 kB / 0.6063 GB, free: 37.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009646/0.5168, allocations: 1.828 MB / 0.6081 GB, free: 35.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.5168, allocations: 39.34 kB / 0.6081 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.5168, allocations: 0 / 0.6081 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003137/0.5172, allocations: 147.5 kB / 0.6082 GB, free: 34.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.5172, allocations: 55.34 kB / 0.6083 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.5173, allocations: 168.8 kB / 0.6085 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.5174, allocations: 32.11 kB / 0.6085 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.5174, allocations: 147.3 kB / 0.6086 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.5174, allocations: 51.02 kB / 0.6087 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.5175, allocations: 57.17 kB / 0.6087 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.135e-05/0.5176, allocations: 325.5 kB / 0.609 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.853e-05/0.5176, allocations: 33.81 kB / 0.6091 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.16e-05/0.5177, allocations: 145.8 kB / 0.6092 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.5179, allocations: 195.6 kB / 0.6094 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5179, allocations: 2.906 kB / 0.6094 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002836/0.5182, allocations: 215.9 kB / 0.6096 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5182, allocations: 6.188 kB / 0.6096 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.5182, allocations: 3.344 kB / 0.6096 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.5183, allocations: 9.75 kB / 0.6096 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.5184, allocations: 59.09 kB / 0.6097 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.5185, allocations: 8.625 kB / 0.6097 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.5186, allocations: 23.06 kB / 0.6097 GB, free: 34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.5186, allocations: 12.31 kB / 0.6097 GB, free: 34 MB / 0.4981 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 8.904e-05/0.5187, allocations: 139.3 kB / 0.6099 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.5187, allocations: 16.25 kB / 0.6099 GB, free: 33.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.519, allocations: 156 kB / 0.61 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.5191, allocations: 14.41 kB / 0.61 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5191, allocations: 0 / 0.61 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5191, allocations: 0 / 0.61 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.5193, allocations: 219.3 kB / 0.6102 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5193, allocations: 0 / 0.6102 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.383e-05/0.5194, allocations: 25.23 kB / 0.6103 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.5194, allocations: 0 / 0.6103 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.5194, allocations: 6.5 kB / 0.6103 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.5194, allocations: 3.938 kB / 0.6103 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5194, allocations: 0 / 0.6103 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.5196, allocations: 230 kB / 0.6105 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.5197, allocations: 106.9 kB / 0.6106 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.5197, allocations: 0.5156 kB / 0.6106 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.5199, allocations: 19.23 kB / 0.6106 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.5199, allocations: 12.44 kB / 0.6106 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.52, allocations: 9.016 kB / 0.6106 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.807e-05/0.52, allocations: 125.2 kB / 0.6108 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.32e-07/0.52, allocations: 4 kB / 0.6108 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003978/0.5204, allocations: 78.12 kB / 0.6108 GB, free: 33.29 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 (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.0005834/0.521, allocations: 0.8315 MB / 0.6116 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.5213, allocations: 120.3 kB / 0.6118 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.5213, allocations: 3.531 kB / 0.6118 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.879e-05/0.5214, allocations: 43.66 kB / 0.6118 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.5218, allocations: 63.83 kB / 0.6119 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.5236, allocations: 2.044 MB / 0.6139 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.5237, allocations: 0.7156 MB / 0.6146 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001431/0.5239, allocations: 44.95 kB / 0.6146 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.478e-05/0.524, allocations: 48.69 kB / 0.6147 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of SimCode: time 7.51e-07/0.524, allocations: 0 / 0.6147 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.5453, allocations: 5.32 MB / 0.6198 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.811/8.357, allocations: 13.64 kB / 0.6199 GB, free: 29.75 MB / 0.4981 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)