Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterProperties.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 103.2 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 292.3 MB / 0.5495 GB, free: 17.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 71.91 kB / 0.6721 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2528, allocations: 114.6 MB / 0.784 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.4039/0.6567, allocations: 4.693 MB / 0.7886 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.6589, allocations: 2.672 MB / 0.7912 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.097e-05/0.659, allocations: 1.156 kB / 0.7912 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.6593, allocations: 48.73 kB / 0.7913 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.6595, allocations: 94.39 kB / 0.7913 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000925/0.6605, allocations: 494.3 kB / 0.7918 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.6607, allocations: 232.2 kB / 0.792 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.557e-05/0.6607, allocations: 12.58 kB / 0.7921 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.6609, allocations: 112.9 kB / 0.7922 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.6611, allocations: 84.12 kB / 0.7922 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.6611, allocations: 7.031 kB / 0.7922 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005699/0.6617, allocations: 356.7 kB / 0.7926 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.609e-05/0.6617, allocations: 36 kB / 0.7926 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.906e-05/0.6618, allocations: 76.69 kB / 0.7927 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004872/0.6623, allocations: 344 kB / 0.793 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6623, allocations: 3.438 kB / 0.793 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6623, allocations: 0 / 0.793 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.6624, allocations: 2.469 kB / 0.793 GB, free: 44.88 MB / 0.6544 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.0006233/0.663, allocations: 0.495 MB / 0.7935 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.663, allocations: 10.36 kB / 0.7935 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.6632, allocations: 22.69 kB / 0.7935 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.6634, allocations: 207.8 kB / 0.7937 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.6634, allocations: 7.641 kB / 0.7937 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.6634, allocations: 18.73 kB / 0.7938 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.6637, allocations: 245.4 kB / 0.794 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.6638, allocations: 4.656 kB / 0.794 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.6638, allocations: 6.438 kB / 0.794 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.6638, allocations: 16.69 kB / 0.794 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003814/0.6642, allocations: 429.5 kB / 0.7944 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008755/0.6651, allocations: 0.9477 MB / 0.7954 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.6653, allocations: 162.2 kB / 0.7955 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.813e-05/0.6654, allocations: 70.16 kB / 0.7956 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009021/0.6663, allocations: 1.825 MB / 0.7974 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.6664, allocations: 30.56 kB / 0.7974 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.6664, allocations: 0.875 kB / 0.7974 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0003108/0.6667, allocations: 145.3 kB / 0.7975 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.6667, allocations: 61.78 kB / 0.7976 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.6669, allocations: 167.7 kB / 0.7978 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.6669, allocations: 32.3 kB / 0.7978 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.667, allocations: 143.9 kB / 0.7979 GB, free: 41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.667, allocations: 49.3 kB / 0.798 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.6671, allocations: 56.56 kB / 0.798 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.98e-05/0.6671, allocations: 325.9 kB / 0.7983 GB, free: 40.63 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.983e-05/0.6672, allocations: 39.48 kB / 0.7984 GB, free: 40.63 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.652e-05/0.6673, allocations: 139.7 kB / 0.7985 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.6675, allocations: 194.9 kB / 0.7987 GB, free: 40.37 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.6675, allocations: 7.5 kB / 0.7987 GB, free: 40.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002743/0.6678, allocations: 214.1 kB / 0.7989 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.6678, allocations: 6.844 kB / 0.7989 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6678, allocations: 3.75 kB / 0.7989 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.6678, allocations: 3.375 kB / 0.7989 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.668, allocations: 58.61 kB / 0.799 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.668, allocations: 14.22 kB / 0.799 GB, free: 40.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.6681, allocations: 26.45 kB / 0.799 GB, free: 40.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.6681, allocations: 13.91 kB / 0.799 GB, free: 40.3 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.587e-05/0.6682, allocations: 138.2 kB / 0.7992 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.6683, allocations: 14.66 kB / 0.7992 GB, free: 40.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.6685, allocations: 162.3 kB / 0.7993 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.6686, allocations: 6.25 kB / 0.7993 GB, free: 40.13 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6686, allocations: 3.938 kB / 0.7993 GB, free: 40.13 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.6686, allocations: 1.781 kB / 0.7993 GB, free: 40.13 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.6688, allocations: 219.1 kB / 0.7995 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.6688, allocations: 0 / 0.7995 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.425e-05/0.6689, allocations: 20.81 kB / 0.7996 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6689, allocations: 0 / 0.7996 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.6689, allocations: 6.75 kB / 0.7996 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.6689, allocations: 3.469 kB / 0.7996 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.6689, allocations: 7.875 kB / 0.7996 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.6691, allocations: 221.8 kB / 0.7998 GB, free: 39.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.6692, allocations: 108.3 kB / 0.7999 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.6692, allocations: 10.25 kB / 0.7999 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.6694, allocations: 3.344 kB / 0.7999 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.6694, allocations: 16.92 kB / 0.7999 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.6695, allocations: 17.16 kB / 0.7999 GB, free: 39.67 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.028e-05/0.6695, allocations: 116.3 kB / 0.8001 GB, free: 39.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6695, allocations: 4 kB / 0.8001 GB, free: 39.59 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003732/0.6699, allocations: 73.31 kB / 0.8001 GB, free: 39.59 MB / 0.6544 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 (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.000357/0.6703, allocations: 178.5 kB / 0.8003 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002475/0.6705, allocations: 120.4 kB / 0.8004 GB, free: 39.47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6705, allocations: 2.062 kB / 0.8004 GB, free: 39.47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.775e-05/0.6706, allocations: 44.3 kB / 0.8005 GB, free: 39.47 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.671, allocations: 50.73 kB / 0.8005 GB, free: 39.47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006236/0.6717, allocations: 378.5 kB / 0.8009 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.6718, allocations: 0.7099 MB / 0.8016 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.6719, allocations: 35.66 kB / 0.8016 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of SimCode: time 3.3e-07/0.6719, allocations: 0 / 0.8016 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of Templates: time 0.00554/0.6774, allocations: 3.109 MB / 0.8046 GB, free: 38.27 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_8_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1)