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/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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") [/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.6979/0.6979, allocations: 117.9 MB / 133.9 MB, free: 4.516 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.001087/0.001087, allocations: 180.9 kB / 161.7 MB, free: 2.742 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.303/2.303, allocations: 205.4 MB / 394.8 MB, free: 20.93 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.001018/0.001018, allocations: 101.3 kB / 470.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005137/0.000514, allocations: 15.98 kB / 0.5423 GB, free: 6.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.476/0.4766, allocations: 74.54 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7835/1.26, allocations: 338.9 MB / 0.946 GB, free: 8.945 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/1.26, allocations: 79.2 kB / 0.9461 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.04649/1.307, allocations: 19.54 MB / 0.9652 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.626e-06/1.307, allocations: 4 kB / 0.9652 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.374e-05/1.307, allocations: 4 kB / 0.9652 GB, free: 9.012 MB / 0.6198 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.001102/1.308, allocations: 477 kB / 0.9657 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/1.308, allocations: 12.03 kB / 0.9657 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/1.308, allocations: 24.2 kB / 0.9657 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/1.309, allocations: 210.2 kB / 0.9659 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/1.309, allocations: 8.203 kB / 0.9659 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/1.309, allocations: 15.56 kB / 0.9659 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005274/1.309, allocations: 257.2 kB / 0.9662 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/1.309, allocations: 12.11 kB / 0.9662 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/1.31, allocations: 7.562 kB / 0.9662 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-05/1.31, allocations: 15.61 kB / 0.9662 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006422/1.31, allocations: 426.2 kB / 0.9666 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/1.312, allocations: 0.9955 MB / 0.9676 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/1.312, allocations: 160.7 kB / 0.9677 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/1.312, allocations: 62.38 kB / 0.9678 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001918/1.314, allocations: 1.835 MB / 0.9696 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/1.314, allocations: 34.56 kB / 0.9696 GB, free: 4.254 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.044e-06/1.314, allocations: 0 / 0.9696 GB, free: 4.254 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0004566/1.315, allocations: 139.7 kB / 0.9697 GB, free: 4.137 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/1.315, allocations: 58.97 kB / 0.9698 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/1.315, allocations: 175 kB / 0.97 GB, free: 3.898 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/1.315, allocations: 25.7 kB / 0.97 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/1.315, allocations: 138 kB / 0.9701 GB, free: 3.738 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/1.315, allocations: 57.47 kB / 0.9702 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-06/1.315, allocations: 3.375 kB / 0.9702 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001876/1.316, allocations: 326.4 kB / 0.9705 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.208e-05/1.316, allocations: 42.34 kB / 0.9705 GB, free: 3.336 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/1.316, allocations: 136 kB / 0.9707 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/1.316, allocations: 194.2 kB / 0.9709 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/1.316, allocations: 0 / 0.9709 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003982/1.317, allocations: 213.9 kB / 0.9711 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.317, allocations: 8.469 kB / 0.9711 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.317, allocations: 8 kB / 0.9711 GB, free: 2.766 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.317, allocations: 4 kB / 0.9711 GB, free: 2.762 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/1.317, allocations: 55.91 kB / 0.9711 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/1.317, allocations: 8 kB / 0.9711 GB, free: 2.699 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/1.317, allocations: 34.81 kB / 0.9712 GB, free: 2.672 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/1.317, allocations: 12 kB / 0.9712 GB, free: 2.66 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001419/1.317, allocations: 140.5 kB / 0.9713 GB, free: 2.523 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/1.317, allocations: 15.81 kB / 0.9713 GB, free: 2.508 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/1.318, allocations: 151.9 kB / 0.9715 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/1.318, allocations: 4 kB / 0.9715 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.318, allocations: 4 kB / 0.9715 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/1.318, allocations: 3.938 kB / 0.9715 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/1.318, allocations: 222.4 kB / 0.9717 GB, free: 2.133 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.318, allocations: 0 / 0.9717 GB, free: 2.133 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/1.318, allocations: 31.92 kB / 0.9717 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/1.318, allocations: 0 / 0.9717 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/1.318, allocations: 3.625 kB / 0.9717 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.318, allocations: 7.938 kB / 0.9717 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.318, allocations: 4 kB / 0.9717 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/1.318, allocations: 220.7 kB / 0.972 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/1.319, allocations: 108.2 kB / 0.9721 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/1.319, allocations: 3.875 kB / 0.9721 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/1.319, allocations: 4 kB / 0.9721 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/1.319, allocations: 19.09 kB / 0.9721 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/1.319, allocations: 15.98 kB / 0.9721 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001176/1.319, allocations: 122.8 kB / 0.9722 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/1.319, allocations: 0 / 0.9722 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004921/1.319, allocations: 79.12 kB / 0.9723 GB, free: 1.551 MB / 0.6198 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 (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.0004546/1.32, allocations: 190.4 kB / 0.9725 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002663/1.32, allocations: 121.4 kB / 0.9726 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.32, allocations: 0 / 0.9726 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.37e-05/1.32, allocations: 39.48 kB / 0.9726 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/1.321, allocations: 57.92 kB / 0.9727 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007825/1.322, allocations: 429.9 kB / 0.9731 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/1.322, allocations: 0.7131 MB / 0.9738 GB, free: 16 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002371/1.322, allocations: 49.73 kB / 0.9738 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/1.322, allocations: 26.81 kB / 0.9739 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of SimCode: time 3.3e-07/1.322, allocations: 0 / 0.9739 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of Templates: time 0.00899/1.331, allocations: 3.43 MB / 0.9772 GB, free: 12.55 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1)