Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.286/1.286, allocations: 252 MB / 267.9 MB, free: 10.91 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.0009091/0.0009093, allocations: 177.4 kB / 327.6 MB, free: 2.125 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.493/1.493, allocations: 205.4 MB / 0.5785 GB, free: 20.21 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.0007359/0.0007359, allocations: 101.5 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 11.84 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1903, allocations: 106.3 MB / 0.9012 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.771/0.9614, allocations: 415.3 MB / 1.307 GB, free: 15.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.9617, allocations: 104.7 kB / 1.307 GB, free: 15.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.269/5.23, allocations: 1.302 GB / 2.609 GB, free: 153.3 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.334e-06/5.23, allocations: 0 / 2.609 GB, free: 153.3 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0006187/5.231, allocations: 89.34 kB / 2.609 GB, free: 153.3 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.014/5.245, allocations: 4.009 MB / 2.613 GB, free: 150.1 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/5.245, allocations: 8.031 kB / 2.613 GB, free: 150.1 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/5.248, allocations: 0.5324 MB / 2.614 GB, free: 149.6 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0122/5.26, allocations: 4.407 MB / 2.618 GB, free: 145.2 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/5.261, allocations: 135.5 kB / 2.618 GB, free: 145.1 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006409/5.261, allocations: 188.4 kB / 2.618 GB, free: 144.9 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003623/5.265, allocations: 2.245 MB / 2.621 GB, free: 142.5 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.585e-05/5.265, allocations: 11.88 kB / 2.621 GB, free: 142.5 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/5.265, allocations: 68 kB / 2.621 GB, free: 142.4 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/5.265, allocations: 40 kB / 2.621 GB, free: 142.4 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/5.268, allocations: 1.775 MB / 2.623 GB, free: 140.6 MB / 0.9011 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.01181/5.28, allocations: 11.54 MB / 2.634 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/5.282, allocations: 1.263 MB / 2.635 GB, free: 127.2 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/5.283, allocations: 0.9651 MB / 2.636 GB, free: 126.2 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005245/5.288, allocations: 3.558 MB / 2.639 GB, free: 122.4 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009973/5.289, allocations: 0.7272 MB / 2.64 GB, free: 121.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001943/5.291, allocations: 0.6194 MB / 2.641 GB, free: 121.1 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=97): time 3.807e-06/5.291, allocations: 0 / 2.641 GB, free: 121.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=97): time 0.009563/5.301, allocations: 4.037 MB / 2.645 GB, free: 117 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/5.301, allocations: 60.41 kB / 2.645 GB, free: 116.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/5.304, allocations: 2.808 MB / 2.647 GB, free: 114.1 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/5.304, allocations: 61.69 kB / 2.648 GB, free: 114.1 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009346/5.305, allocations: 1.422 MB / 2.649 GB, free: 112.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/5.305, allocations: 349.7 kB / 2.649 GB, free: 112.3 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.278e-05/5.305, allocations: 27.94 kB / 2.649 GB, free: 112.3 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.447e-05/5.305, allocations: 365.9 kB / 2.65 GB, free: 111.9 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008653/5.306, allocations: 0.5582 MB / 2.65 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/5.307, allocations: 1.338 MB / 2.651 GB, free: 109.7 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/5.309, allocations: 1.661 MB / 2.653 GB, free: 107.8 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/5.309, allocations: 4 kB / 2.653 GB, free: 107.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004295/5.313, allocations: 2.556 MB / 2.656 GB, free: 105.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002022/5.314, allocations: 0.5289 MB / 2.656 GB, free: 104.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/5.314, allocations: 12 kB / 2.656 GB, free: 104.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001904/5.316, allocations: 0.6582 MB / 2.657 GB, free: 103.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008795/5.316, allocations: 269.5 kB / 2.657 GB, free: 103.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/5.318, allocations: 1.903 MB / 2.659 GB, free: 101.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/5.32, allocations: 176.2 kB / 2.659 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/5.32, allocations: 75.97 kB / 2.659 GB, free: 101.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/5.32, allocations: 9.562 kB / 2.659 GB, free: 101.4 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002826/5.323, allocations: 2.205 MB / 2.661 GB, free: 99.13 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/5.323, allocations: 16.97 kB / 2.661 GB, free: 99.12 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006874/5.324, allocations: 472.6 kB / 2.662 GB, free: 98.65 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008012/5.324, allocations: 269 kB / 2.662 GB, free: 98.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005023/5.329, allocations: 5.843 MB / 2.668 GB, free: 92.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/5.331, allocations: 172.2 kB / 2.668 GB, free: 92.12 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/5.331, allocations: 67.98 kB / 2.668 GB, free: 92.05 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of prepare postOptimizeDAE: time 0.001374/5.333, allocations: 0.8256 MB / 2.669 GB, free: 91.22 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/5.333, allocations: 288.3 kB / 2.669 GB, free: 90.93 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003272/5.336, allocations: 2.199 MB / 2.671 GB, free: 88.75 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/5.336, allocations: 12 kB / 2.671 GB, free: 88.73 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/5.336, allocations: 0 / 2.671 GB, free: 88.73 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002333/5.339, allocations: 1.901 MB / 2.673 GB, free: 86.79 MB / 0.9011 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 postOpt removeSimpleEquations (simulation): time 0.005526/5.344, allocations: 4.138 MB / 2.677 GB, free: 82.61 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/5.344, allocations: 0 / 2.677 GB, free: 82.61 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/5.345, allocations: 129.6 kB / 2.677 GB, free: 82.48 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008315/5.346, allocations: 482.2 kB / 2.678 GB, free: 82.02 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/5.346, allocations: 27.98 kB / 2.678 GB, free: 81.99 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/5.347, allocations: 1.853 MB / 2.68 GB, free: 80.09 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/5.347, allocations: 0 / 2.68 GB, free: 80.09 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003623/5.351, allocations: 2.867 MB / 2.682 GB, free: 77.21 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009334/5.352, allocations: 489.1 kB / 2.683 GB, free: 76.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/5.352, allocations: 20 kB / 2.683 GB, free: 76.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/5.353, allocations: 151.4 kB / 2.683 GB, free: 76.54 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/5.353, allocations: 68.83 kB / 2.683 GB, free: 76.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-05/5.353, allocations: 39.98 kB / 2.683 GB, free: 76.44 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002108/5.355, allocations: 1.911 MB / 2.685 GB, free: 74.54 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/5.355, allocations: 0 / 2.685 GB, free: 74.54 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00364/5.359, allocations: 1.445 MB / 2.686 GB, free: 73.09 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001525/5.36, allocations: 1.054 MB / 2.687 GB, free: 72.17 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003958/5.364, allocations: 2.883 MB / 2.69 GB, free: 69.24 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/5.364, allocations: 4 kB / 2.69 GB, free: 69.24 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009912/5.365, allocations: 0.6991 MB / 2.691 GB, free: 68.54 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004625/5.37, allocations: 1.184 MB / 2.692 GB, free: 67.4 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006483/5.377, allocations: 5.74 MB / 2.698 GB, free: 61.65 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/5.378, allocations: 2.036 MB / 2.7 GB, free: 59.59 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.00249/5.38, allocations: 0.7278 MB / 2.7 GB, free: 58.89 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003454/5.381, allocations: 191.3 kB / 2.701 GB, free: 58.71 MB / 0.9011 GB Notification: Performance of SimCode: time 5.41e-07/5.381, allocations: 0 / 2.701 GB, free: 58.71 MB / 0.9011 GB Notification: Performance of Templates: time 0.07507/5.456, allocations: 56.04 MB / 2.755 GB, free: 3.742 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)