Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.077/2.077, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001352/0.001353, allocations: 178.1 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.333/2.333, allocations: 205.4 MB / 0.5772 GB, free: 20.82 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.0009245/0.0009243, allocations: 97.89 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004758, allocations: 11.78 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1985, allocations: 106.3 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.254/1.453, allocations: 415 MB / 1.305 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003506/1.453, allocations: 99.58 kB / 1.305 GB, free: 2.848 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.872/8.325, allocations: 1.302 GB / 2.607 GB, free: 156.2 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.735e-06/8.325, allocations: 0 / 2.607 GB, free: 156.2 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0006904/8.325, allocations: 103.3 kB / 2.607 GB, free: 156.2 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.02275/8.348, allocations: 4.037 MB / 2.611 GB, free: 153.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/8.348, allocations: 7.781 kB / 2.611 GB, free: 153.5 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004782/8.353, allocations: 0.534 MB / 2.612 GB, free: 153.3 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01904/8.372, allocations: 4.29 MB / 2.616 GB, free: 150.6 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/8.372, allocations: 143.7 kB / 2.616 GB, free: 150.6 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006538/8.373, allocations: 184.6 kB / 2.616 GB, free: 150.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005722/8.379, allocations: 2.245 MB / 2.618 GB, free: 148.3 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-05/8.379, allocations: 7.875 kB / 2.618 GB, free: 148.3 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002735/8.379, allocations: 72 kB / 2.618 GB, free: 148.2 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/8.379, allocations: 40 kB / 2.618 GB, free: 148.2 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005416/8.385, allocations: 1.774 MB / 2.62 GB, free: 146.4 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.02016/8.405, allocations: 11.53 MB / 2.631 GB, free: 134.3 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003793/8.409, allocations: 1.259 MB / 2.633 GB, free: 133 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002251/8.411, allocations: 0.9749 MB / 2.634 GB, free: 132 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00926/8.42, allocations: 3.555 MB / 2.637 GB, free: 128.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001942/8.422, allocations: 0.7194 MB / 2.638 GB, free: 127.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003559/8.426, allocations: 0.6272 MB / 2.638 GB, free: 126.9 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=97): time 5.52e-06/8.426, allocations: 4 kB / 2.638 GB, free: 126.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=97): time 0.0203/8.446, allocations: 3.95 MB / 2.642 GB, free: 122.9 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/8.446, allocations: 72.39 kB / 2.642 GB, free: 122.8 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00544/8.452, allocations: 2.807 MB / 2.645 GB, free: 120 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003844/8.452, allocations: 57.7 kB / 2.645 GB, free: 120 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001545/8.454, allocations: 1.419 MB / 2.647 GB, free: 118.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005038/8.454, allocations: 345.4 kB / 2.647 GB, free: 118.2 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/8.454, allocations: 28 kB / 2.647 GB, free: 118.2 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001165/8.454, allocations: 357.9 kB / 2.647 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/8.456, allocations: 0.5621 MB / 2.648 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/8.458, allocations: 1.334 MB / 2.649 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/8.461, allocations: 0.778 MB / 2.65 GB, free: 114.8 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/8.461, allocations: 4 kB / 2.65 GB, free: 114.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.008649/8.469, allocations: 2.564 MB / 2.652 GB, free: 112.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003121/8.47, allocations: 0.5258 MB / 2.653 GB, free: 111.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/8.47, allocations: 16 kB / 2.653 GB, free: 111.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003848/8.473, allocations: 0.6581 MB / 2.654 GB, free: 110.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/8.475, allocations: 269.3 kB / 2.654 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/8.478, allocations: 1.896 MB / 2.656 GB, free: 108.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003605/8.482, allocations: 176.2 kB / 2.656 GB, free: 108.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/8.482, allocations: 83.97 kB / 2.656 GB, free: 108.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/8.482, allocations: 4 kB / 2.656 GB, free: 108.3 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00552/8.487, allocations: 2.205 MB / 2.658 GB, free: 106.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/8.487, allocations: 12 kB / 2.658 GB, free: 106.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/8.489, allocations: 469.5 kB / 2.659 GB, free: 105.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/8.491, allocations: 265.2 kB / 2.659 GB, free: 105.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009345/8.5, allocations: 5.862 MB / 2.665 GB, free: 99.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003517/8.504, allocations: 176.2 kB / 2.665 GB, free: 99.07 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002498/8.504, allocations: 71.98 kB / 2.665 GB, free: 99 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.002142/8.506, allocations: 0.8249 MB / 2.666 GB, free: 98.17 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007914/8.507, allocations: 288.3 kB / 2.666 GB, free: 97.88 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006544/8.514, allocations: 2.198 MB / 2.668 GB, free: 95.7 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/8.514, allocations: 8 kB / 2.668 GB, free: 95.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/8.514, allocations: 4 kB / 2.668 GB, free: 95.69 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004955/8.519, allocations: 1.899 MB / 2.67 GB, free: 93.75 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.01122/8.53, allocations: 4.128 MB / 2.674 GB, free: 89.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/8.53, allocations: 0 / 2.674 GB, free: 89.57 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/8.531, allocations: 131.7 kB / 2.674 GB, free: 89.45 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/8.533, allocations: 487.8 kB / 2.674 GB, free: 88.98 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/8.533, allocations: 27.98 kB / 2.674 GB, free: 88.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/8.535, allocations: 1.848 MB / 2.676 GB, free: 87.05 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/8.535, allocations: 0 / 2.676 GB, free: 87.05 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007791/8.543, allocations: 2.863 MB / 2.679 GB, free: 84.18 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/8.545, allocations: 489.2 kB / 2.68 GB, free: 83.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005894/8.546, allocations: 23.94 kB / 2.68 GB, free: 83.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002431/8.548, allocations: 147.6 kB / 2.68 GB, free: 83.52 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/8.548, allocations: 72.83 kB / 2.68 GB, free: 83.45 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/8.548, allocations: 43.91 kB / 2.68 GB, free: 83.4 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003978/8.552, allocations: 1.908 MB / 2.682 GB, free: 81.5 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.11e-07/8.552, allocations: 0 / 2.682 GB, free: 81.5 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.006373/8.559, allocations: 1.438 MB / 2.683 GB, free: 80.07 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.002399/8.561, allocations: 1.068 MB / 2.684 GB, free: 79.13 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007745/8.569, allocations: 2.896 MB / 2.687 GB, free: 76.19 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/8.569, allocations: 1.312 kB / 2.687 GB, free: 76.19 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002138/8.571, allocations: 0.7016 MB / 2.688 GB, free: 75.49 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01/8.581, allocations: 1.196 MB / 2.689 GB, free: 74.33 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/8.593, allocations: 5.745 MB / 2.694 GB, free: 68.58 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/8.595, allocations: 2.032 MB / 2.696 GB, free: 66.52 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004483/8.6, allocations: 0.7288 MB / 2.697 GB, free: 65.82 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007175/8.601, allocations: 191.4 kB / 2.697 GB, free: 65.63 MB / 0.9011 GB Notification: Performance of SimCode: time 2.305e-06/8.601, allocations: 4 kB / 2.697 GB, free: 65.62 MB / 0.9011 GB Notification: Performance of Templates: time 0.135/8.736, allocations: 55.22 MB / 2.751 GB, free: 11.47 MB / 0.9011 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)