Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.178/2.178, allocations: 251.1 MB / 266.7 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001308/0.001307, allocations: 172.7 kB / 326.3 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.401/2.401, allocations: 205.4 MB / 0.5772 GB, free: 20.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008591/0.0008589, allocations: 90.44 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004668, allocations: 9.188 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1948, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005462/0.2003, allocations: 4.203 MB / 0.9036 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003163/0.2035, allocations: 2.459 MB / 0.906 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.2037, allocations: 3.938 kB / 0.906 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.204, allocations: 31.8 kB / 0.906 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.2043, allocations: 91.48 kB / 0.9061 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.2057, allocations: 363.9 kB / 0.9065 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.206, allocations: 267.8 kB / 0.9067 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.419e-05/0.2061, allocations: 13.55 kB / 0.9067 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.2064, allocations: 107.6 kB / 0.9068 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.2065, allocations: 91.66 kB / 0.9069 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.2066, allocations: 4 kB / 0.9069 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008963/0.2075, allocations: 247.4 kB / 0.9072 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.783e-05/0.2076, allocations: 35.88 kB / 0.9072 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.22e-05/0.2076, allocations: 53.64 kB / 0.9072 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.208, allocations: 211.8 kB / 0.9074 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.2081, allocations: 0 / 0.9074 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2081, allocations: 0 / 0.9074 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2081, allocations: 0 / 0.9074 GB, free: 57.33 MB / 0.6042 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.0007062/0.2088, allocations: 463.3 kB / 0.9079 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.2089, allocations: 12.03 kB / 0.9079 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.2091, allocations: 24.73 kB / 0.9079 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.2093, allocations: 200.2 kB / 0.9081 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.2093, allocations: 12.7 kB / 0.9081 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.2094, allocations: 28.25 kB / 0.9082 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.2098, allocations: 249.8 kB / 0.9084 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2098, allocations: 0 / 0.9084 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.2099, allocations: 8 kB / 0.9084 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.2099, allocations: 15.92 kB / 0.9084 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005923/0.2105, allocations: 423.5 kB / 0.9088 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.2118, allocations: 1.011 MB / 0.9098 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.2122, allocations: 156.2 kB / 0.91 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.2124, allocations: 64.78 kB / 0.91 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/0.2137, allocations: 1.817 MB / 0.9118 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.2137, allocations: 34.56 kB / 0.9118 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.334e-06/0.2138, allocations: 0 / 0.9118 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0004168/0.2142, allocations: 151.5 kB / 0.912 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.2142, allocations: 59.34 kB / 0.912 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.2144, allocations: 164.8 kB / 0.9122 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.2144, allocations: 29.7 kB / 0.9122 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/0.2145, allocations: 143.7 kB / 0.9123 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.2146, allocations: 47.36 kB / 0.9124 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.2146, allocations: 7.984 kB / 0.9124 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.277e-05/0.2146, allocations: 326.8 kB / 0.9127 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.436e-05/0.2147, allocations: 35.97 kB / 0.9127 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.2149, allocations: 137.7 kB / 0.9129 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.2151, allocations: 60.91 kB / 0.9129 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.2151, allocations: 4 kB / 0.9129 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004192/0.2155, allocations: 205.1 kB / 0.9131 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2155, allocations: 4.469 kB / 0.9131 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.2156, allocations: 8 kB / 0.9131 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.2156, allocations: 8 kB / 0.9132 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.2159, allocations: 59.84 kB / 0.9132 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.2159, allocations: 11.88 kB / 0.9132 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.2161, allocations: 27.69 kB / 0.9132 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.2162, allocations: 12 kB / 0.9133 GB, free: 50.69 MB / 0.6042 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.0001154/0.2163, allocations: 129.7 kB / 0.9134 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.2163, allocations: 15.81 kB / 0.9134 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004012/0.2168, allocations: 169.1 kB / 0.9136 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.2168, allocations: 0 / 0.9136 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2168, allocations: 3.938 kB / 0.9136 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.351e-05/0.2169, allocations: 104.9 kB / 0.9137 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.2169, allocations: 0 / 0.9137 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.2172, allocations: 11.98 kB / 0.9137 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.2173, allocations: 11.98 kB / 0.9137 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002777/0.2176, allocations: 196.9 kB / 0.9139 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002829/0.2179, allocations: 304.6 kB / 0.9142 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.638e-05/0.218, allocations: 35.97 kB / 0.9142 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.072e-05/0.2181, allocations: 121.8 kB / 0.9143 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of Backend: time 7.12e-07/0.2181, allocations: 0 / 0.9143 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009856/0.2191, allocations: 306.9 kB / 0.9146 GB, free: 49.25 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0008871/0.22, allocations: 0.8716 MB / 0.9155 GB, free: 48.33 MB / 0.6042 GB Notification: Performance of Templates: time 0.01102/0.231, allocations: 4.359 MB / 0.9197 GB, free: 44 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_7.0.0_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.pipe 2>&1)