Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.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.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6998/0.6998, allocations: 117.9 MB / 133.9 MB, free: 4.508 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.001187/0.001187, allocations: 178.6 kB / 161.7 MB, free: 2.734 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.3 MB / 394.8 MB, free: 20.91 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.0009398/0.0009395, allocations: 98.98 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003977, allocations: 16 kB / 0.5423 GB, free: 6.855 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.406, allocations: 74.53 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7275/1.134, allocations: 322.4 MB / 0.93 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/1.134, allocations: 78.2 kB / 0.93 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.4923/1.626, allocations: 99.91 MB / 1.028 GB, free: 224.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.695e-06/1.626, allocations: 0 / 1.028 GB, free: 224.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.753e-05/1.626, allocations: 6.031 kB / 1.028 GB, free: 224.4 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007526/1.627, allocations: 0.5406 MB / 1.028 GB, free: 223.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/1.627, allocations: 11.38 kB / 1.028 GB, free: 223.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002909/1.627, allocations: 41.02 kB / 1.028 GB, free: 223.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/1.628, allocations: 267.2 kB / 1.028 GB, free: 223.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/1.628, allocations: 19.47 kB / 1.028 GB, free: 223.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/1.628, allocations: 30.28 kB / 1.028 GB, free: 223.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/1.628, allocations: 300.6 kB / 1.029 GB, free: 223.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/1.628, allocations: 192 / 1.029 GB, free: 223.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/1.628, allocations: 15.78 kB / 1.029 GB, free: 223.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/1.628, allocations: 14.61 kB / 1.029 GB, free: 223.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/1.628, allocations: 164 kB / 1.029 GB, free: 223.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/1.63, allocations: 1.844 MB / 1.031 GB, free: 221.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/1.63, allocations: 117.9 kB / 1.031 GB, free: 221.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.309e-05/1.63, allocations: 52 kB / 1.031 GB, free: 221.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/1.63, allocations: 7.578 kB / 1.031 GB, free: 221.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/1.63, allocations: 34.56 kB / 1.031 GB, free: 221.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/1.63, allocations: 0 / 1.031 GB, free: 221.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.001165/1.632, allocations: 0.6381 MB / 1.032 GB, free: 220.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/1.632, allocations: 55.34 kB / 1.032 GB, free: 220.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/1.632, allocations: 275.4 kB / 1.032 GB, free: 220.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/1.632, allocations: 33.08 kB / 1.032 GB, free: 220.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/1.632, allocations: 195.6 kB / 1.032 GB, free: 220.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/1.632, allocations: 58.75 kB / 1.032 GB, free: 220.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/1.632, allocations: 4 kB / 1.032 GB, free: 220.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.042e-05/1.632, allocations: 337 kB / 1.033 GB, free: 220 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.411e-05/1.632, allocations: 58.5 kB / 1.033 GB, free: 220 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/1.632, allocations: 162.6 kB / 1.033 GB, free: 219.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/1.633, allocations: 219.9 kB / 1.033 GB, free: 219.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.633, allocations: 4 kB / 1.033 GB, free: 219.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003495/1.633, allocations: 285.6 kB / 1.033 GB, free: 219.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.633, allocations: 9.344 kB / 1.033 GB, free: 219.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.633, allocations: 7.469 kB / 1.033 GB, free: 219.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.575e-05/1.633, allocations: 24.7 kB / 1.033 GB, free: 219.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/1.633, allocations: 72.11 kB / 1.033 GB, free: 219.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007722/1.634, allocations: 1.29 MB / 1.035 GB, free: 218.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/1.634, allocations: 15.48 kB / 1.035 GB, free: 218.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/1.634, allocations: 15.41 kB / 1.035 GB, free: 218 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001311/1.634, allocations: 149 kB / 1.035 GB, free: 217.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/1.634, allocations: 26.81 kB / 1.035 GB, free: 217.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/1.635, allocations: 29.95 kB / 1.035 GB, free: 217.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.635, allocations: 4.062 kB / 1.035 GB, free: 217.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/1.635, allocations: 0 / 1.035 GB, free: 217.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002499/1.635, allocations: 460.5 kB / 1.035 GB, free: 217.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007194/1.636, allocations: 0.5753 MB / 1.036 GB, free: 216.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.636, allocations: 4.156 kB / 1.036 GB, free: 216.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/1.636, allocations: 38.73 kB / 1.036 GB, free: 216.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/1.636, allocations: 3.5 kB / 1.036 GB, free: 216.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/1.636, allocations: 7.812 kB / 1.036 GB, free: 216.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/1.636, allocations: 3.984 kB / 1.036 GB, free: 216.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/1.636, allocations: 5.406 kB / 1.036 GB, free: 216.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/1.636, allocations: 326.5 kB / 1.036 GB, free: 216.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-05/1.636, allocations: 100.6 kB / 1.036 GB, free: 216.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/1.636, allocations: 7.984 kB / 1.036 GB, free: 216.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/1.636, allocations: 11.75 kB / 1.036 GB, free: 216.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/1.637, allocations: 23.86 kB / 1.036 GB, free: 216.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/1.637, allocations: 11.92 kB / 1.036 GB, free: 216.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000204/1.637, allocations: 192.4 kB / 1.037 GB, free: 216.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/1.637, allocations: 0 / 1.037 GB, free: 216.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004973/1.637, allocations: 79.75 kB / 1.037 GB, free: 216.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (volume.medium.T) * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * 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.0004353/1.638, allocations: 202.9 kB / 1.037 GB, free: 216.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005136/1.638, allocations: 268.1 kB / 1.037 GB, free: 216 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/1.638, allocations: 3.938 kB / 1.037 GB, free: 216 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.693e-05/1.638, allocations: 61.09 kB / 1.037 GB, free: 216 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009908/1.639, allocations: 149.1 kB / 1.037 GB, free: 215.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/1.64, allocations: 0.6945 MB / 1.038 GB, free: 215.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/1.641, allocations: 0.7516 MB / 1.039 GB, free: 214.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002548/1.641, allocations: 53.28 kB / 1.039 GB, free: 214.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/1.641, allocations: 27 kB / 1.039 GB, free: 214.6 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/1.641, allocations: 3.594 kB / 1.039 GB, free: 214.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.01101/1.652, allocations: 5.82 MB / 1.044 GB, free: 209.1 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe 2>&1)