Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.009039/0.009039, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001726/0.001727, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.515/1.515, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.71/1.71, allocations: 251.7 MB / 0.5094 GB, free: 3.051 MB / 414.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.001698/0.001698, allocations: 69.77 kB / 0.7258 GB, free: 9.09 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.2009, allocations: 104.7 MB / 0.8281 GB, free: 292 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005585/0.2066, allocations: 4.732 MB / 0.8327 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002775/0.2094, allocations: 2.663 MB / 0.8353 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.686e-05/0.2095, allocations: 0 / 0.8353 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.2097, allocations: 43.67 kB / 0.8353 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.21, allocations: 95.42 kB / 0.8354 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009947/0.211, allocations: 468.8 kB / 0.8359 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.2113, allocations: 223.9 kB / 0.8361 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.542e-05/0.2113, allocations: 17.55 kB / 0.8361 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.2115, allocations: 115.5 kB / 0.8362 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.2117, allocations: 95.59 kB / 0.8363 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.2117, allocations: 4 kB / 0.8363 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00065/0.2124, allocations: 351.4 kB / 0.8366 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.073e-05/0.2125, allocations: 27.91 kB / 0.8367 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.2126, allocations: 79.64 kB / 0.8367 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005424/0.2131, allocations: 346.8 kB / 0.8371 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2131, allocations: 0 / 0.8371 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2131, allocations: 0 / 0.8371 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.2132, allocations: 4 kB / 0.8371 GB, free: 7.016 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.0006704/0.2138, allocations: 0.4986 MB / 0.8376 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.2139, allocations: 8.031 kB / 0.8376 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.214, allocations: 20.84 kB / 0.8376 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.2143, allocations: 216.1 kB / 0.8378 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.2143, allocations: 8.703 kB / 0.8378 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.2144, allocations: 16.38 kB / 0.8378 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.2147, allocations: 253.1 kB / 0.8381 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2147, allocations: 3.984 kB / 0.8381 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.2148, allocations: 8 kB / 0.8381 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.2148, allocations: 4 kB / 0.8381 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004735/0.2153, allocations: 435.4 kB / 0.8385 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.2164, allocations: 1.012 MB / 0.8395 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.2167, allocations: 167.7 kB / 0.8396 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2168, allocations: 60.88 kB / 0.8397 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/0.2183, allocations: 1.821 MB / 0.8415 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.2183, allocations: 34.56 kB / 0.8415 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 3.777e-06/0.2183, allocations: 4 kB / 0.8415 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0003583/0.2187, allocations: 149.4 kB / 0.8417 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.2188, allocations: 55.34 kB / 0.8417 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.2189, allocations: 171.3 kB / 0.8419 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.2189, allocations: 25.7 kB / 0.8419 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.79e-05/0.2191, allocations: 144.1 kB / 0.842 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.2191, allocations: 51.53 kB / 0.8421 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.2192, allocations: 53.66 kB / 0.8421 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2193, allocations: 326.8 kB / 0.8424 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.004e-05/0.2194, allocations: 39.97 kB / 0.8425 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.2196, allocations: 141.7 kB / 0.8426 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.2198, allocations: 196.5 kB / 0.8428 GB, free: 424 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2198, allocations: 3.938 kB / 0.8428 GB, free: 420 kB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003084/0.2201, allocations: 221.1 kB / 0.843 GB, free: 192 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2201, allocations: 12.41 kB / 0.843 GB, free: 180 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.2201, allocations: 8 kB / 0.843 GB, free: 172 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.2202, allocations: 4 kB / 0.843 GB, free: 168 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.2204, allocations: 51.86 kB / 0.8431 GB, free: 116 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2204, allocations: 7.984 kB / 0.8431 GB, free: 108 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.2205, allocations: 31.78 kB / 0.8431 GB, free: 76 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.2205, allocations: 15.98 kB / 0.8431 GB, free: 60 kB / 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 0.0001517/0.2207, allocations: 130.4 kB / 0.8433 GB, free: 15.92 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.2207, allocations: 15.91 kB / 0.8433 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.221, allocations: 159 kB / 0.8434 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.221, allocations: 3.938 kB / 0.8434 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2211, allocations: 4 kB / 0.8434 GB, free: 15.74 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2211, allocations: 0 / 0.8434 GB, free: 15.74 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.2213, allocations: 217.5 kB / 0.8437 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2214, allocations: 4 kB / 0.8437 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-05/0.2215, allocations: 27.98 kB / 0.8437 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2215, allocations: 0 / 0.8437 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.2215, allocations: 0 / 0.8437 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2215, allocations: 3.938 kB / 0.8437 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2215, allocations: 7.938 kB / 0.8437 GB, free: 15.44 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.2218, allocations: 231.3 kB / 0.8439 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.882e-05/0.2219, allocations: 109 kB / 0.844 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.2219, allocations: 0 / 0.844 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.2221, allocations: 15.92 kB / 0.844 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.2221, allocations: 4 kB / 0.844 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.2222, allocations: 15.98 kB / 0.8441 GB, free: 15.04 MB / 0.67 GB Notification: Performance of sorting global known variables: time 9.55e-05/0.2223, allocations: 120 kB / 0.8442 GB, free: 14.92 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2223, allocations: 4 kB / 0.8442 GB, free: 14.91 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000393/0.2227, allocations: 71.88 kB / 0.8442 GB, free: 14.84 MB / 0.67 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.0003101/0.223, allocations: 170.9 kB / 0.8444 GB, free: 14.66 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0002599/0.2233, allocations: 126.8 kB / 0.8445 GB, free: 14.54 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.2233, allocations: 3.984 kB / 0.8445 GB, free: 14.54 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 6.413e-05/0.2233, allocations: 43.92 kB / 0.8446 GB, free: 14.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.2238, allocations: 56.7 kB / 0.8446 GB, free: 14.44 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000686/0.2245, allocations: 338.6 kB / 0.8449 GB, free: 14.09 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.2248, allocations: 0.7168 MB / 0.8456 GB, free: 13.34 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000136/0.2249, allocations: 41.81 kB / 0.8457 GB, free: 13.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.225, allocations: 23.42 kB / 0.8457 GB, free: 13.28 MB / 0.67 GB Notification: Performance of SimCode: time 3.31e-07/0.225, allocations: 0 / 0.8457 GB, free: 13.28 MB / 0.67 GB Notification: Performance of Templates: time 0.00718/0.2321, allocations: 3.361 MB / 0.849 GB, free: 9.957 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)