Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.275/1.275, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0008838/0.0008838, allocations: 175.9 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0007724/0.0007724, allocations: 89.11 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003077, allocations: 12.22 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1545, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02013/0.1747, allocations: 29.26 MB / 0.9253 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.1878, allocations: 12.96 MB / 0.938 GB, free: 25.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.1891, allocations: 39.75 kB / 0.938 GB, free: 25.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.1908, allocations: 0.5987 MB / 0.9386 GB, free: 25.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002904/0.1937, allocations: 1.333 MB / 0.9399 GB, free: 23.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002561/0.1963, allocations: 1.248 MB / 0.9411 GB, free: 22.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004503/0.2008, allocations: 4.996 MB / 0.946 GB, free: 17.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/0.2025, allocations: 1.118 MB / 0.9471 GB, free: 16.42 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.2044, allocations: 1.249 MB / 0.9483 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.2057, allocations: 1.038 MB / 0.9493 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.2059, allocations: 56 kB / 0.9494 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.2077, allocations: 1.061 MB / 0.9504 GB, free: 13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.2079, allocations: 334.5 kB / 0.9507 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005091/0.2084, allocations: 0.707 MB / 0.9514 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.2101, allocations: 2.367 MB / 0.9537 GB, free: 9.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2101, allocations: 7.938 kB / 0.9537 GB, free: 9.582 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2101, allocations: 4 kB / 0.9537 GB, free: 9.578 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.2101, allocations: 0 / 0.9537 GB, free: 9.578 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002152/0.2123, allocations: 1.682 MB / 0.9554 GB, free: 7.836 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2123, allocations: 8.031 kB / 0.9554 GB, free: 7.828 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000887/0.2132, allocations: 262.8 kB / 0.9556 GB, free: 7.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.2149, allocations: 1.32 MB / 0.9569 GB, free: 6.199 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.617e-05/0.2149, allocations: 65.94 kB / 0.957 GB, free: 6.133 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.215, allocations: 88 kB / 0.9571 GB, free: 6.047 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.2164, allocations: 1.027 MB / 0.9581 GB, free: 4.969 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.2165, allocations: 3.938 kB / 0.9581 GB, free: 4.965 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-05/0.2165, allocations: 32 kB / 0.9581 GB, free: 4.934 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.2166, allocations: 23.98 kB / 0.9581 GB, free: 4.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.218, allocations: 0.7961 MB / 0.9589 GB, free: 4.109 MB / 0.6042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004501/0.2225, allocations: 5.132 MB / 0.9639 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.2239, allocations: 0.6613 MB / 0.9646 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007075/0.2246, allocations: 353.4 kB / 0.9649 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002062/0.2267, allocations: 1.685 MB / 0.9666 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007811/0.2275, allocations: 386.9 kB / 0.9669 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002965/0.2278, allocations: 99.38 kB / 0.967 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 2.294e-06/0.2278, allocations: 0 / 0.967 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.003855/0.2316, allocations: 1.387 MB / 0.9684 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.2317, allocations: 59.39 kB / 0.9684 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.2332, allocations: 1.313 MB / 0.9697 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.279e-05/0.2333, allocations: 41.7 kB / 0.9698 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004848/0.2338, allocations: 0.6449 MB / 0.9704 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.2339, allocations: 153.8 kB / 0.9705 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.672e-05/0.234, allocations: 69.67 kB / 0.9706 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2342, allocations: 337.9 kB / 0.9709 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006739/0.2349, allocations: 301.8 kB / 0.9712 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008758/0.2357, allocations: 0.6559 MB / 0.9718 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.2372, allocations: 0.8887 MB / 0.9727 GB, free: 5.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.2372, allocations: 4 kB / 0.9727 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002522/0.2398, allocations: 1.219 MB / 0.9739 GB, free: 3.848 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002008/0.24, allocations: 347.5 kB / 0.9742 GB, free: 3.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.24, allocations: 15.94 kB / 0.9743 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008395/0.2408, allocations: 248.5 kB / 0.9745 GB, free: 3.133 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/0.2414, allocations: 151.8 kB / 0.9746 GB, free: 2.984 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009194/0.2423, allocations: 0.8527 MB / 0.9755 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009164/0.2433, allocations: 92.53 kB / 0.9756 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.238e-05/0.2434, allocations: 47.97 kB / 0.9756 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.2434, allocations: 4 kB / 0.9756 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001611/0.245, allocations: 0.879 MB / 0.9765 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.245, allocations: 8 kB / 0.9765 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003596/0.2454, allocations: 145.2 kB / 0.9766 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/0.2458, allocations: 135.8 kB / 0.9767 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.2483, allocations: 2.349 MB / 0.979 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007791/0.2491, allocations: 84.5 kB / 0.9791 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/0.2492, allocations: 35.98 kB / 0.9792 GB, free: 14.18 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000624/0.2498, allocations: 477.4 kB / 0.9796 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.25, allocations: 126.4 kB / 0.9797 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.2521, allocations: 0.9545 MB / 0.9807 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00156/0.2536, allocations: 0.9506 MB / 0.9816 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.2537, allocations: 0 / 0.9816 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003953/0.2541, allocations: 267.3 kB / 0.9818 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.2543, allocations: 15.92 kB / 0.9819 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007005/0.255, allocations: 75.78 kB / 0.9819 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.2551, allocations: 48.36 kB / 0.982 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002037/0.2571, allocations: 0.9022 MB / 0.9829 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002155/0.2593, allocations: 1.218 MB / 0.984 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006227/0.2599, allocations: 307.2 kB / 0.9843 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00124/0.2612, allocations: 0.9128 MB / 0.9852 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of Backend: time 4.51e-07/0.2612, allocations: 0 / 0.9852 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003723/0.2649, allocations: 1.622 MB / 0.9868 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of SimCode: time 0.005245/0.2702, allocations: 3.572 MB / 0.9903 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of Templates: time 0.04238/0.3126, allocations: 27.74 MB / 1.017 GB, free: 7.074 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)