Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9445/0.9445, allocations: 143.4 MB / 159.2 MB, free: 4.852 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 187.6 kB / 191.9 MB, free: 5.711 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 447.3 MB, free: 5.824 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 103.2 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001835/0.001835, allocations: 282.4 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 87.86 kB / 0.6885 GB, free: 3.867 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4382, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.004959/0.4432, allocations: 4.744 MB / 0.7725 GB, free: 22.91 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.4453, allocations: 2.726 MB / 0.7752 GB, free: 20.18 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.366e-05/0.4454, allocations: 0 / 0.7752 GB, free: 20.18 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.4457, allocations: 51.66 kB / 0.7753 GB, free: 20.13 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.446, allocations: 87.5 kB / 0.7753 GB, free: 20.04 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.4471, allocations: 458.4 kB / 0.7758 GB, free: 19.6 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.4473, allocations: 307.8 kB / 0.7761 GB, free: 19.3 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.4474, allocations: 9.562 kB / 0.7761 GB, free: 19.29 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.4475, allocations: 115.6 kB / 0.7762 GB, free: 19.18 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.4476, allocations: 91.61 kB / 0.7763 GB, free: 19.09 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.4477, allocations: 8 kB / 0.7763 GB, free: 19.08 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005452/0.4482, allocations: 371.1 kB / 0.7766 GB, free: 18.71 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.893e-05/0.4483, allocations: 39.83 kB / 0.7767 GB, free: 18.68 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.218e-05/0.4484, allocations: 79.64 kB / 0.7768 GB, free: 18.6 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.4488, allocations: 361.8 kB / 0.7771 GB, free: 18.25 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4489, allocations: 0 / 0.7771 GB, free: 18.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4489, allocations: 0 / 0.7771 GB, free: 18.25 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.4489, allocations: 0 / 0.7771 GB, free: 18.25 MB / 458.7 MB 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.0006275/0.4495, allocations: 0.5032 MB / 0.7776 GB, free: 17.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.4496, allocations: 8.031 kB / 0.7776 GB, free: 17.69 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.4497, allocations: 24.69 kB / 0.7776 GB, free: 17.66 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.4499, allocations: 212.1 kB / 0.7778 GB, free: 17.42 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.4499, allocations: 16.69 kB / 0.7778 GB, free: 17.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.4499, allocations: 20.36 kB / 0.7779 GB, free: 17.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.4502, allocations: 252.1 kB / 0.7781 GB, free: 17.12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4503, allocations: 0 / 0.7781 GB, free: 17.12 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.4503, allocations: 8 kB / 0.7781 GB, free: 17.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.4503, allocations: 8 kB / 0.7781 GB, free: 17.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003969/0.4507, allocations: 427.5 kB / 0.7785 GB, free: 16.68 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008695/0.4516, allocations: 0.9526 MB / 0.7795 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.4518, allocations: 156.1 kB / 0.7796 GB, free: 15.48 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/0.4519, allocations: 60.88 kB / 0.7797 GB, free: 15.42 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000866/0.4528, allocations: 1.829 MB / 0.7814 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.4528, allocations: 38.55 kB / 0.7815 GB, free: 13.18 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.4528, allocations: 0 / 0.7815 GB, free: 13.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002898/0.4531, allocations: 142.3 kB / 0.7816 GB, free: 13.04 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.4532, allocations: 55.34 kB / 0.7817 GB, free: 12.97 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.4533, allocations: 175.3 kB / 0.7818 GB, free: 12.79 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.4533, allocations: 29.7 kB / 0.7819 GB, free: 12.75 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.4534, allocations: 139.8 kB / 0.782 GB, free: 12.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.4534, allocations: 59.19 kB / 0.7821 GB, free: 12.55 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.4534, allocations: 49.7 kB / 0.7821 GB, free: 12.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.253e-05/0.4535, allocations: 326.8 kB / 0.7824 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.534e-05/0.4536, allocations: 31.98 kB / 0.7824 GB, free: 12.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.319e-05/0.4537, allocations: 147.1 kB / 0.7826 GB, free: 11.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.4538, allocations: 196.2 kB / 0.7828 GB, free: 11.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4538, allocations: 4 kB / 0.7828 GB, free: 11.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002482/0.4541, allocations: 217 kB / 0.783 GB, free: 11.49 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4541, allocations: 11.98 kB / 0.783 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.4541, allocations: 4 kB / 0.783 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4542, allocations: 4 kB / 0.783 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.4543, allocations: 60.33 kB / 0.7831 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.4543, allocations: 4 kB / 0.7831 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.733e-05/0.4544, allocations: 27.75 kB / 0.7831 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.4545, allocations: 15.98 kB / 0.7831 GB, free: 11.36 MB / 458.7 MB 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 0.0001212/0.4546, allocations: 133.7 kB / 0.7832 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.4546, allocations: 15.81 kB / 0.7833 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.4549, allocations: 154.9 kB / 0.7834 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.455, allocations: 3.938 kB / 0.7834 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.455, allocations: 4 kB / 0.7834 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.455, allocations: 3.984 kB / 0.7834 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.4552, allocations: 221.5 kB / 0.7836 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4552, allocations: 3.938 kB / 0.7836 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.69e-05/0.4553, allocations: 19.98 kB / 0.7836 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4553, allocations: 4 kB / 0.7836 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.4553, allocations: 4 kB / 0.7837 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.4553, allocations: 3.938 kB / 0.7837 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4553, allocations: 0 / 0.7837 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.4557, allocations: 0.8236 MB / 0.7845 GB, free: 9.855 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.4558, allocations: 104.9 kB / 0.7846 GB, free: 9.734 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.4558, allocations: 4 kB / 0.7846 GB, free: 9.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.456, allocations: 15.98 kB / 0.7846 GB, free: 9.715 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.456, allocations: 7.984 kB / 0.7846 GB, free: 9.707 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.456, allocations: 15.98 kB / 0.7846 GB, free: 9.691 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.2e-05/0.4561, allocations: 128.9 kB / 0.7847 GB, free: 9.566 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4561, allocations: 0 / 0.7847 GB, free: 9.566 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004328/0.4566, allocations: 75.91 kB / 0.7848 GB, free: 9.492 MB / 458.7 MB 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.0003328/0.4569, allocations: 187.6 kB / 0.785 GB, free: 9.297 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.4571, allocations: 111.8 kB / 0.7851 GB, free: 9.188 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4571, allocations: 0 / 0.7851 GB, free: 9.188 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.364e-05/0.4572, allocations: 46.03 kB / 0.7851 GB, free: 9.145 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.4576, allocations: 62.48 kB / 0.7852 GB, free: 9.086 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006667/0.4583, allocations: 0.5227 MB / 0.7857 GB, free: 8.523 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.4584, allocations: 0.717 MB / 0.7864 GB, free: 7.777 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000158/0.4586, allocations: 45.75 kB / 0.7864 GB, free: 7.734 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.4586, allocations: 27.44 kB / 0.7865 GB, free: 7.707 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4586, allocations: 0 / 0.7865 GB, free: 7.707 MB / 458.7 MB Notification: Performance of Templates: time 0.005844/0.4645, allocations: 3.392 MB / 0.7898 GB, free: 4.355 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1)