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.7537/0.7537, allocations: 127.4 MB / 134.9 MB, free: 3.742 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 184.8 kB / 164.7 MB, free: 6.52 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.891/1.891, allocations: 205.2 MB / 399.5 MB, free: 5.926 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.0008826/0.0008826, allocations: 99.42 kB / 476.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.189e-05/2.193e-05, allocations: 4 kB / 0.5467 GB, free: 60.41 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2035, allocations: 76.77 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.513/1.716, allocations: 397.1 MB / 1.009 GB, free: 123.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003854/1.717, allocations: 87.89 kB / 1.01 GB, free: 123.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.2106/1.927, allocations: 85.25 MB / 1.093 GB, free: 45.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.134e-06/1.927, allocations: 0 / 1.093 GB, free: 45.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.055e-05/1.927, allocations: 4 kB / 1.093 GB, free: 45.88 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.003357/1.931, allocations: 0.733 MB / 1.094 GB, free: 45.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/1.931, allocations: 8.031 kB / 1.094 GB, free: 45.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/1.931, allocations: 19.91 kB / 1.094 GB, free: 45.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/1.931, allocations: 214.8 kB / 1.094 GB, free: 44.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/1.931, allocations: 8 kB / 1.094 GB, free: 44.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/1.931, allocations: 12 kB / 1.094 GB, free: 44.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004775/1.932, allocations: 408.2 kB / 1.094 GB, free: 44.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/1.932, allocations: 216.7 kB / 1.094 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/1.932, allocations: 7.938 kB / 1.094 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/1.932, allocations: 4 kB / 1.094 GB, free: 44.15 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/1.932, allocations: 4 kB / 1.094 GB, free: 44.15 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000944/1.933, allocations: 1.02 MB / 1.095 GB, free: 43.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/1.933, allocations: 140 kB / 1.096 GB, free: 42.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.672e-05/1.934, allocations: 49.95 kB / 1.096 GB, free: 42.85 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/1.935, allocations: 1.973 MB / 1.097 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/1.935, allocations: 34.56 kB / 1.098 GB, free: 40.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.482e-06/1.935, allocations: 0 / 1.098 GB, free: 40.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004772/1.935, allocations: 127.7 kB / 1.098 GB, free: 40.35 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/1.935, allocations: 59.41 kB / 1.098 GB, free: 40.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/1.936, allocations: 141.7 kB / 1.098 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/1.936, allocations: 25.7 kB / 1.098 GB, free: 40.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/1.936, allocations: 139.9 kB / 1.098 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/1.936, allocations: 55.2 kB / 1.098 GB, free: 39.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/1.936, allocations: 0 / 1.098 GB, free: 39.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.367e-05/1.936, allocations: 318.8 kB / 1.098 GB, free: 39.58 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.887e-05/1.936, allocations: 28 kB / 1.098 GB, free: 39.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.941e-05/1.936, allocations: 129.7 kB / 1.098 GB, free: 39.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/1.936, allocations: 71.89 kB / 1.099 GB, free: 39.31 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.936, allocations: 0 / 1.099 GB, free: 39.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004227/1.937, allocations: 213.1 kB / 1.099 GB, free: 39.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.937, allocations: 4 kB / 1.099 GB, free: 39.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.937, allocations: 7.938 kB / 1.099 GB, free: 39.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/1.937, allocations: 8.469 kB / 1.099 GB, free: 39.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/1.937, allocations: 67.84 kB / 1.099 GB, free: 39.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.937, allocations: 7.938 kB / 1.099 GB, free: 39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.993e-05/1.937, allocations: 19.75 kB / 1.099 GB, free: 38.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/1.937, allocations: 15.98 kB / 1.099 GB, free: 38.96 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 8.942e-05/1.937, allocations: 120.8 kB / 1.099 GB, free: 38.84 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003508/1.937, allocations: 136.2 kB / 1.099 GB, free: 38.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/1.938, allocations: 7.906 kB / 1.099 GB, free: 38.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004684/1.938, allocations: 184.6 kB / 1.099 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/1.938, allocations: 0 / 1.099 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.938, allocations: 3.984 kB / 1.099 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/1.938, allocations: 0 / 1.099 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/1.938, allocations: 174.2 kB / 1.099 GB, free: 38.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.938, allocations: 0 / 1.099 GB, free: 38.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/1.938, allocations: 35.94 kB / 1.1 GB, free: 38.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/1.938, allocations: 0 / 1.1 GB, free: 38.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/1.938, allocations: 4 kB / 1.1 GB, free: 38.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.938, allocations: 0 / 1.1 GB, free: 38.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.938, allocations: 3.938 kB / 1.1 GB, free: 38.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/1.939, allocations: 243.2 kB / 1.1 GB, free: 38.01 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-05/1.939, allocations: 117 kB / 1.1 GB, free: 37.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/1.939, allocations: 3.953 kB / 1.1 GB, free: 37.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/1.939, allocations: 7.984 kB / 1.1 GB, free: 37.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/1.939, allocations: 19.91 kB / 1.1 GB, free: 37.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/1.939, allocations: 8 kB / 1.1 GB, free: 37.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.121e-05/1.939, allocations: 103.8 kB / 1.1 GB, free: 37.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/1.939, allocations: 4 kB / 1.1 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004881/1.94, allocations: 79.83 kB / 1.1 GB, free: 37.66 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.0008652/1.941, allocations: 0.8821 MB / 1.101 GB, free: 36.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002171/1.941, allocations: 103.8 kB / 1.101 GB, free: 36.64 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.941, allocations: 3.938 kB / 1.101 GB, free: 36.64 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.894e-05/1.941, allocations: 38.25 kB / 1.101 GB, free: 36.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/1.941, allocations: 32.91 kB / 1.101 GB, free: 36.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007149/1.942, allocations: 223.1 kB / 1.101 GB, free: 36.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/1.942, allocations: 0.7167 MB / 1.102 GB, free: 35.58 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001754/1.942, allocations: 53.38 kB / 1.102 GB, free: 35.53 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/1.942, allocations: 43.42 kB / 1.102 GB, free: 35.49 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.942, allocations: 0 / 1.102 GB, free: 35.49 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/1.974, allocations: 4.699 MB / 1.107 GB, free: 30.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/1.974, allocations: 165.3 kB / 1.107 GB, free: 30.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/3.753, allocations: 0 / 1.107 GB, free: 30.6 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)