Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",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.001453/0.001453, allocations: 109.4 kB / 15.69 MB, free: 128 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.001657/0.001657, allocations: 188.4 kB / 16.62 MB, free: 6.582 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.39/1.39, allocations: 222.9 MB / 240.3 MB, free: 4.312 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.9748/0.9748, allocations: 143 MB / 433.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 59.91 kB / 0.5144 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1803, allocations: 82.04 MB / 0.5945 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.005952/0.1863, allocations: 4.43 MB / 0.5988 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002805/0.1892, allocations: 2.687 MB / 0.6015 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1893, allocations: 4 kB / 0.6015 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.1896, allocations: 47.66 kB / 0.6015 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.1899, allocations: 99.36 kB / 0.6016 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.1911, allocations: 497.1 kB / 0.6021 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003159/0.1914, allocations: 228 kB / 0.6023 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.141e-05/0.1915, allocations: 13.56 kB / 0.6023 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009708/0.1925, allocations: 426.6 kB / 0.6027 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1926, allocations: 83.67 kB / 0.6028 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.1926, allocations: 8 kB / 0.6028 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.1937, allocations: 0.4915 MB / 0.6033 GB, free: 360 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.766e-05/0.1938, allocations: 43.83 kB / 0.6033 GB, free: 316 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.104e-05/0.1939, allocations: 75.67 kB / 0.6034 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.2924/0.4863, allocations: 349.9 kB / 0.6037 GB, free: 38.37 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.4864, allocations: 4.031 kB / 0.6037 GB, free: 38.37 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4864, allocations: 0 / 0.6037 GB, free: 38.37 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.4864, allocations: 0 / 0.6037 GB, free: 38.37 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.0007556/0.4871, allocations: 0.492 MB / 0.6042 GB, free: 37.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4872, allocations: 11.34 kB / 0.6042 GB, free: 37.99 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.135e-05/0.4872, allocations: 50.25 kB / 0.6043 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.4875, allocations: 25.41 kB / 0.6043 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.4877, allocations: 214.7 kB / 0.6045 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.4877, allocations: 14.11 kB / 0.6045 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.4878, allocations: 14.62 kB / 0.6045 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.4881, allocations: 253 kB / 0.6048 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4881, allocations: 0 / 0.6048 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.4882, allocations: 12.84 kB / 0.6048 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.4882, allocations: 8.125 kB / 0.6048 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.4886, allocations: 432.3 kB / 0.6052 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008397/0.4894, allocations: 1.001 MB / 0.6062 GB, free: 36.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.4897, allocations: 160.6 kB / 0.6063 GB, free: 36.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.439e-05/0.4898, allocations: 65 kB / 0.6064 GB, free: 36.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009302/0.4907, allocations: 1.825 MB / 0.6082 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.4907, allocations: 41.72 kB / 0.6082 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.4908, allocations: 0 / 0.6082 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002911/0.4911, allocations: 141.4 kB / 0.6084 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.4911, allocations: 62.78 kB / 0.6084 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.4912, allocations: 166.5 kB / 0.6086 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.4912, allocations: 26.27 kB / 0.6086 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.4913, allocations: 150.2 kB / 0.6088 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.4913, allocations: 55.88 kB / 0.6088 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/0.4914, allocations: 50.25 kB / 0.6089 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.4914, allocations: 324.3 kB / 0.6092 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.858e-05/0.4915, allocations: 36.86 kB / 0.6092 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.4916, allocations: 145.2 kB / 0.6093 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.4918, allocations: 194.6 kB / 0.6095 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4918, allocations: 0 / 0.6095 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002939/0.4921, allocations: 215.9 kB / 0.6097 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4922, allocations: 8.469 kB / 0.6097 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.4922, allocations: 2.75 kB / 0.6097 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4922, allocations: 5.062 kB / 0.6097 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.4924, allocations: 62.17 kB / 0.6098 GB, free: 33.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.4924, allocations: 8.047 kB / 0.6098 GB, free: 33.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.4925, allocations: 25.72 kB / 0.6098 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.4925, allocations: 10.53 kB / 0.6098 GB, free: 33.75 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.425e-05/0.4926, allocations: 146.5 kB / 0.61 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.4926, allocations: 15.92 kB / 0.61 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.4929, allocations: 158.6 kB / 0.6102 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.4929, allocations: 5.344 kB / 0.6102 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4929, allocations: 3.219 kB / 0.6102 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4929, allocations: 0 / 0.6102 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.4931, allocations: 215.9 kB / 0.6104 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4932, allocations: 1.422 kB / 0.6104 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.803e-05/0.4932, allocations: 32.44 kB / 0.6104 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4933, allocations: 0 / 0.6104 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.4933, allocations: 6.844 kB / 0.6104 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.4933, allocations: 4.812 kB / 0.6104 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4933, allocations: 0 / 0.6104 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.4935, allocations: 215.9 kB / 0.6106 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/0.4936, allocations: 113.6 kB / 0.6107 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.4936, allocations: 10.88 kB / 0.6107 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.4938, allocations: 19.36 kB / 0.6108 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.4938, allocations: 10.69 kB / 0.6108 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.4938, allocations: 12.36 kB / 0.6108 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.629e-05/0.4939, allocations: 118.4 kB / 0.6109 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4939, allocations: 2.844 kB / 0.6109 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003916/0.4943, allocations: 75.81 kB / 0.611 GB, free: 33.05 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.000584/0.4949, allocations: 0.8318 MB / 0.6118 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.4952, allocations: 122.2 kB / 0.6119 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4952, allocations: 0 / 0.6119 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.14e-05/0.4952, allocations: 43.8 kB / 0.6119 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.4957, allocations: 60.98 kB / 0.612 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.4975, allocations: 2.04 MB / 0.614 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.4976, allocations: 0.7171 MB / 0.6147 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001599/0.4978, allocations: 48.5 kB / 0.6147 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.108e-05/0.4979, allocations: 43.89 kB / 0.6148 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4979, allocations: 2.781 kB / 0.6148 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.5191, allocations: 5.263 MB / 0.6199 GB, free: 29.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.623/8.142, allocations: 6.688 kB / 0.6199 GB, free: 29.55 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)