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.009261/0.009261, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.002024/0.002024, allocations: 191 kB / 16.67 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.521/1.521, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.585/1.585, allocations: 251.7 MB / 0.5094 GB, free: 3.031 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.001416/0.001416, allocations: 68.31 kB / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2128, allocations: 104.7 MB / 0.8281 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005705/0.2185, allocations: 4.717 MB / 0.8327 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002725/0.2213, allocations: 2.671 MB / 0.8353 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.05e-05/0.2213, allocations: 4 kB / 0.8353 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.2216, allocations: 39.69 kB / 0.8353 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.2219, allocations: 103.3 kB / 0.8354 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009758/0.2229, allocations: 473.1 kB / 0.8359 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.2231, allocations: 224 kB / 0.8361 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.2232, allocations: 9.562 kB / 0.8361 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.2233, allocations: 111.5 kB / 0.8362 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.2235, allocations: 91.66 kB / 0.8363 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.2235, allocations: 8 kB / 0.8363 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005816/0.2241, allocations: 347.3 kB / 0.8366 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.2242, allocations: 35.89 kB / 0.8367 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.615e-05/0.2243, allocations: 79.66 kB / 0.8367 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005012/0.2248, allocations: 343 kB / 0.8371 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2248, allocations: 0 / 0.8371 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2248, allocations: 0 / 0.8371 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2248, allocations: 0 / 0.8371 GB, free: 6.902 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.0006834/0.2255, allocations: 0.507 MB / 0.8376 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.2255, allocations: 12.02 kB / 0.8376 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.2257, allocations: 20.75 kB / 0.8376 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.226, allocations: 208.1 kB / 0.8378 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.226, allocations: 12.7 kB / 0.8378 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.226, allocations: 12.38 kB / 0.8378 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.2264, allocations: 253.1 kB / 0.8381 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2264, allocations: 4 kB / 0.8381 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.2264, allocations: 4 kB / 0.8381 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.2264, allocations: 8 kB / 0.8381 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.2269, allocations: 435.4 kB / 0.8385 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.228, allocations: 1.004 MB / 0.8395 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.2283, allocations: 171.3 kB / 0.8396 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.2284, allocations: 60.88 kB / 0.8397 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/0.2297, allocations: 1.821 MB / 0.8415 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.2298, allocations: 42.55 kB / 0.8415 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.2298, allocations: 0 / 0.8415 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0003408/0.2301, allocations: 152.6 kB / 0.8416 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.2302, allocations: 59.34 kB / 0.8417 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.2303, allocations: 171.3 kB / 0.8419 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.2303, allocations: 29.7 kB / 0.8419 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.575e-05/0.2304, allocations: 135.8 kB / 0.842 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.2305, allocations: 55.19 kB / 0.8421 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.567e-05/0.2305, allocations: 53.61 kB / 0.8421 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.2306, allocations: 322.8 kB / 0.8424 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.631e-05/0.2307, allocations: 31.98 kB / 0.8425 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.2309, allocations: 141.7 kB / 0.8426 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.2311, allocations: 201.4 kB / 0.8428 GB, free: 308 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2311, allocations: 0 / 0.8428 GB, free: 308 kB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003076/0.2314, allocations: 209.2 kB / 0.843 GB, free: 92 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2314, allocations: 7.938 kB / 0.843 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2315, allocations: 4 kB / 0.843 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.2315, allocations: 11.98 kB / 0.843 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.2317, allocations: 52.33 kB / 0.8431 GB, free: 16 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2317, allocations: 11.94 kB / 0.8431 GB, free: 4 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.2318, allocations: 31.84 kB / 0.8431 GB, free: 15.97 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.2318, allocations: 16 kB / 0.8431 GB, free: 15.95 MB / 0.67 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.0001026/0.2319, allocations: 137.6 kB / 0.8433 GB, free: 15.81 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.232, allocations: 15.81 kB / 0.8433 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.2323, allocations: 161.7 kB / 0.8434 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.2323, allocations: 3.938 kB / 0.8434 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2323, allocations: 0 / 0.8434 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2323, allocations: 4 kB / 0.8434 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.2326, allocations: 213.5 kB / 0.8436 GB, free: 15.37 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2326, allocations: 0 / 0.8436 GB, free: 15.37 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/0.2327, allocations: 27.98 kB / 0.8437 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2327, allocations: 0 / 0.8437 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.2327, allocations: 4 kB / 0.8437 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2327, allocations: 3.938 kB / 0.8437 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2327, allocations: 0 / 0.8437 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.233, allocations: 223.2 kB / 0.8439 GB, free: 15.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 8.772e-05/0.2331, allocations: 113 kB / 0.844 GB, free: 14.97 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.2331, allocations: 4 kB / 0.844 GB, free: 14.97 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.2333, allocations: 7.938 kB / 0.844 GB, free: 14.96 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.2333, allocations: 11.98 kB / 0.844 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.2333, allocations: 8 kB / 0.844 GB, free: 14.94 MB / 0.67 GB Notification: Performance of sorting global known variables: time 7.933e-05/0.2334, allocations: 116 kB / 0.8441 GB, free: 14.83 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2334, allocations: 0 / 0.8441 GB, free: 14.83 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003844/0.2338, allocations: 75.92 kB / 0.8442 GB, free: 14.75 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.0002878/0.2341, allocations: 183 kB / 0.8444 GB, free: 14.56 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.2343, allocations: 120.3 kB / 0.8445 GB, free: 14.45 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.2344, allocations: 8.312 kB / 0.8445 GB, free: 14.44 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 6.66e-05/0.2344, allocations: 43.92 kB / 0.8445 GB, free: 14.39 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.2349, allocations: 55.94 kB / 0.8446 GB, free: 14.34 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006628/0.2356, allocations: 341.9 kB / 0.8449 GB, free: 13.98 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.2359, allocations: 0.709 MB / 0.8456 GB, free: 13.25 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001549/0.236, allocations: 53.73 kB / 0.8457 GB, free: 13.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.2361, allocations: 19.44 kB / 0.8457 GB, free: 13.18 MB / 0.67 GB Notification: Performance of SimCode: time 2.4e-07/0.2361, allocations: 0 / 0.8457 GB, free: 13.18 MB / 0.67 GB Notification: Performance of Templates: time 0.00849/0.2446, allocations: 3.356 MB / 0.849 GB, free: 9.859 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)