Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7598/0.7598, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 180.8 kB / 169.7 MB, free: 1.758 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.862/1.862, allocations: 205.1 MB / 404.5 MB, free: 1.668 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009613/0.0009611, allocations: 90.17 kB / 481.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.125e-05/5.169e-05, allocations: 3.984 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1867, allocations: 76.76 MB / 0.6283 GB, free: 9.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.461/1.647, allocations: 397.5 MB / 1.016 GB, free: 117.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/1.648, allocations: 86.5 kB / 1.017 GB, free: 117.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.2099/1.858, allocations: 86.19 MB / 1.101 GB, free: 35.94 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.925e-06/1.858, allocations: 0 / 1.101 GB, free: 35.94 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.859e-06/1.858, allocations: 7.938 kB / 1.101 GB, free: 35.93 MB / 0.6355 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.002739/1.86, allocations: 0.7331 MB / 1.101 GB, free: 35.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/1.86, allocations: 12.03 kB / 1.101 GB, free: 35.14 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.52e-05/1.861, allocations: 46.55 kB / 1.102 GB, free: 35.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/1.861, allocations: 15.91 kB / 1.102 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/1.861, allocations: 214.8 kB / 1.102 GB, free: 34.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/1.861, allocations: 16.33 kB / 1.102 GB, free: 34.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/1.861, allocations: 16 kB / 1.102 GB, free: 34.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/1.861, allocations: 236.9 kB / 1.102 GB, free: 34.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/1.861, allocations: 0 / 1.102 GB, free: 34.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/1.861, allocations: 19.94 kB / 1.102 GB, free: 34.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/1.861, allocations: 7.984 kB / 1.102 GB, free: 34.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003753/1.862, allocations: 427.4 kB / 1.102 GB, free: 34.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008782/1.863, allocations: 1.051 MB / 1.103 GB, free: 32.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/1.863, allocations: 156 kB / 1.104 GB, free: 32.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.824e-05/1.863, allocations: 61.27 kB / 1.104 GB, free: 32.72 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/1.864, allocations: 1.982 MB / 1.106 GB, free: 30.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/1.864, allocations: 38.55 kB / 1.106 GB, free: 30.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/1.864, allocations: 0 / 1.106 GB, free: 30.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0002496/1.864, allocations: 115 kB / 1.106 GB, free: 30.22 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/1.864, allocations: 59.34 kB / 1.106 GB, free: 30.15 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/1.865, allocations: 146.5 kB / 1.106 GB, free: 29.99 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/1.865, allocations: 29.7 kB / 1.106 GB, free: 29.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/1.865, allocations: 147.7 kB / 1.106 GB, free: 29.81 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/1.865, allocations: 55.28 kB / 1.106 GB, free: 29.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/1.865, allocations: 8 kB / 1.106 GB, free: 29.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.158e-05/1.865, allocations: 318.8 kB / 1.106 GB, free: 29.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-05/1.865, allocations: 32.5 kB / 1.107 GB, free: 29.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.412e-05/1.865, allocations: 137.7 kB / 1.107 GB, free: 29.21 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.268e-05/1.865, allocations: 56.56 kB / 1.107 GB, free: 29.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.865, allocations: 4 kB / 1.107 GB, free: 29.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002655/1.865, allocations: 215.9 kB / 1.107 GB, free: 28.94 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.865, allocations: 7.938 kB / 1.107 GB, free: 28.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/1.865, allocations: 4 kB / 1.107 GB, free: 28.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/1.865, allocations: 7.938 kB / 1.107 GB, free: 28.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/1.866, allocations: 63.91 kB / 1.107 GB, free: 28.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.866, allocations: 4.469 kB / 1.107 GB, free: 28.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/1.866, allocations: 31.69 kB / 1.107 GB, free: 28.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/1.866, allocations: 16 kB / 1.107 GB, free: 28.8 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.335e-05/1.866, allocations: 124.9 kB / 1.107 GB, free: 28.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/1.866, allocations: 11.91 kB / 1.107 GB, free: 28.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/1.866, allocations: 161.1 kB / 1.107 GB, free: 28.51 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/1.866, allocations: 4 kB / 1.107 GB, free: 28.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.866, allocations: 0 / 1.107 GB, free: 28.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.866, allocations: 4 kB / 1.107 GB, free: 28.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/1.866, allocations: 221.4 kB / 1.108 GB, free: 28.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/1.866, allocations: 3.953 kB / 1.108 GB, free: 28.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/1.866, allocations: 27.98 kB / 1.108 GB, free: 28.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-06/1.867, allocations: 0 / 1.108 GB, free: 28.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/1.867, allocations: 0 / 1.108 GB, free: 28.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.867, allocations: 4 kB / 1.108 GB, free: 28.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/1.867, allocations: 0 / 1.108 GB, free: 28.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/1.867, allocations: 215.4 kB / 1.108 GB, free: 27.97 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-05/1.867, allocations: 128.8 kB / 1.108 GB, free: 27.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/1.867, allocations: 4 kB / 1.108 GB, free: 27.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/1.867, allocations: 11.98 kB / 1.108 GB, free: 27.81 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/1.867, allocations: 11.92 kB / 1.108 GB, free: 27.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/1.867, allocations: 8 kB / 1.108 GB, free: 27.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.587e-05/1.867, allocations: 116.9 kB / 1.108 GB, free: 27.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/1.867, allocations: 0 / 1.108 GB, free: 27.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000415/1.868, allocations: 91.91 kB / 1.108 GB, free: 27.59 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006089/1.868, allocations: 0.8752 MB / 1.109 GB, free: 26.69 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002051/1.868, allocations: 119.8 kB / 1.109 GB, free: 26.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.868, allocations: 0 / 1.109 GB, free: 26.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.078e-05/1.868, allocations: 43.92 kB / 1.109 GB, free: 26.53 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/1.869, allocations: 44.78 kB / 1.109 GB, free: 26.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006089/1.869, allocations: 243.8 kB / 1.109 GB, free: 26.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/1.87, allocations: 0.7169 MB / 1.11 GB, free: 25.47 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001733/1.87, allocations: 57.59 kB / 1.11 GB, free: 25.42 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/1.87, allocations: 39.42 kB / 1.11 GB, free: 25.38 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/1.87, allocations: 0 / 1.11 GB, free: 25.38 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/1.887, allocations: 6.154 MB / 1.116 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/1.888, allocations: 176.8 kB / 1.116 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/3.854, allocations: 0 / 1.116 GB, free: 19.11 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)