Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.32/2.32, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 178.1 kB / 325.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.66/2.66, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008953/0.0008953, allocations: 87.25 kB / 0.6813 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004795/0.0004798, allocations: 9.938 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2011, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005437/0.2066, allocations: 4.211 MB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003169/0.2098, allocations: 2.459 MB / 0.9055 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.21, allocations: 3.938 kB / 0.9055 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.2103, allocations: 31.81 kB / 0.9056 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.2106, allocations: 87.48 kB / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.212, allocations: 376.2 kB / 0.906 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.2123, allocations: 263.8 kB / 0.9063 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.751e-05/0.2124, allocations: 5.562 kB / 0.9063 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.2126, allocations: 107.6 kB / 0.9064 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.2128, allocations: 95.66 kB / 0.9065 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.2128, allocations: 4 kB / 0.9065 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008916/0.2137, allocations: 243.5 kB / 0.9067 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.686e-05/0.2138, allocations: 35.88 kB / 0.9067 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.451e-05/0.2139, allocations: 53.64 kB / 0.9068 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.2143, allocations: 211.8 kB / 0.907 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2143, allocations: 0 / 0.907 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2143, allocations: 0 / 0.907 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2143, allocations: 0 / 0.907 GB, free: 57.19 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.0007097/0.2151, allocations: 467.3 kB / 0.9074 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.2151, allocations: 12.03 kB / 0.9074 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.2153, allocations: 24.75 kB / 0.9075 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.2155, allocations: 204.2 kB / 0.9077 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.2156, allocations: 8.703 kB / 0.9077 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.2156, allocations: 16.38 kB / 0.9077 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/0.2161, allocations: 257.7 kB / 0.9079 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.2161, allocations: 0 / 0.9079 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.2161, allocations: 8 kB / 0.9079 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.2162, allocations: 4 kB / 0.9079 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005943/0.2168, allocations: 431.4 kB / 0.9084 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.2181, allocations: 1.008 MB / 0.9093 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.2185, allocations: 151.9 kB / 0.9095 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.2186, allocations: 68.88 kB / 0.9095 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/0.2201, allocations: 1.825 MB / 0.9113 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.2202, allocations: 34.56 kB / 0.9114 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.796e-06/0.2202, allocations: 0 / 0.9114 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0004184/0.2206, allocations: 147 kB / 0.9115 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.2207, allocations: 59.34 kB / 0.9116 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.2208, allocations: 172.8 kB / 0.9117 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.2209, allocations: 25.7 kB / 0.9117 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.2209, allocations: 147.7 kB / 0.9119 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/0.221, allocations: 51.34 kB / 0.9119 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.221, allocations: 4 kB / 0.9119 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.45e-05/0.2211, allocations: 322.8 kB / 0.9122 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.552e-05/0.2212, allocations: 35.97 kB / 0.9123 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.2214, allocations: 141.7 kB / 0.9124 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.2215, allocations: 55.92 kB / 0.9125 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2215, allocations: 4 kB / 0.9125 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004165/0.2219, allocations: 207.8 kB / 0.9127 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.222, allocations: 4.469 kB / 0.9127 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.222, allocations: 4 kB / 0.9127 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.222, allocations: 12 kB / 0.9127 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.2223, allocations: 55.86 kB / 0.9127 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.2224, allocations: 11.92 kB / 0.9128 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.2226, allocations: 31.69 kB / 0.9128 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.2226, allocations: 12 kB / 0.9128 GB, free: 50.55 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.0001155/0.2227, allocations: 130.4 kB / 0.9129 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/0.2228, allocations: 19.8 kB / 0.9129 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004021/0.2232, allocations: 162.9 kB / 0.9131 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.2232, allocations: 3.938 kB / 0.9131 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2233, allocations: 0 / 0.9131 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.2233, allocations: 3.938 kB / 0.9131 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.2236, allocations: 213.5 kB / 0.9133 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2236, allocations: 0 / 0.9133 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.2237, allocations: 23.98 kB / 0.9133 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2238, allocations: 4 kB / 0.9133 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.2238, allocations: 4 kB / 0.9133 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2238, allocations: 3.938 kB / 0.9133 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.2238, allocations: 4 kB / 0.9133 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.2241, allocations: 225.3 kB / 0.9136 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.2242, allocations: 101 kB / 0.9137 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.2243, allocations: 4 kB / 0.9137 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.2246, allocations: 19.86 kB / 0.9137 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.2246, allocations: 7.984 kB / 0.9137 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.2247, allocations: 12 kB / 0.9137 GB, free: 49.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.978e-05/0.2248, allocations: 121.8 kB / 0.9138 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2248, allocations: 0 / 0.9138 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004914/0.2253, allocations: 75.89 kB / 0.9139 GB, free: 49.34 MB / 0.6042 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.0002915/0.2256, allocations: 163.2 kB / 0.914 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000296/0.2259, allocations: 119.8 kB / 0.9142 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2259, allocations: 0 / 0.9142 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.172e-05/0.226, allocations: 43.92 kB / 0.9142 GB, free: 49.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006677/0.2267, allocations: 52.83 kB / 0.9143 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009346/0.2276, allocations: 423.4 kB / 0.9147 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.2279, allocations: 0.7131 MB / 0.9154 GB, free: 47.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003101/0.2282, allocations: 49.78 kB / 0.9154 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.2283, allocations: 23.44 kB / 0.9154 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of SimCode: time 1.243e-06/0.2283, allocations: 0 / 0.9154 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.009212/0.2375, allocations: 3.108 MB / 0.9185 GB, free: 44.64 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)