Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.265/2.265, allocations: 253.2 MB / 260.6 MB, free: 7.535 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001402/0.001402, allocations: 180.7 kB / 319.9 MB, free: 3.031 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.6 MB / 0.5708 GB, free: 15.26 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00177/0.00177, allocations: 102.5 kB / 0.6751 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.847e-05/1.854e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.188, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.837/2.025, allocations: 402.6 MB / 1.282 GB, free: 259.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/2.026, allocations: 96.55 kB / 1.282 GB, free: 259.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 14.34/16.36, allocations: 2.647 GB / 3.929 GB, free: 52.46 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.345e-06/16.37, allocations: 0 / 3.929 GB, free: 52.46 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001164/16.37, allocations: 173.9 kB / 3.929 GB, free: 52.42 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02039/16.39, allocations: 5.906 MB / 3.935 GB, free: 49.37 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/16.39, allocations: 6.594 kB / 3.935 GB, free: 49.37 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005338/16.39, allocations: 0.7816 MB / 3.935 GB, free: 48.99 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1917/16.58, allocations: 57.63 MB / 3.992 GB, free: 44.88 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003033/16.58, allocations: 129.3 kB / 3.992 GB, free: 44.88 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001644/16.59, allocations: 259.6 kB / 3.992 GB, free: 44.88 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009897/16.6, allocations: 2.518 MB / 3.994 GB, free: 44.86 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01415/16.61, allocations: 3.584 MB / 3.998 GB, free: 44.04 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002793/16.61, allocations: 15.47 kB / 3.998 GB, free: 44.03 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001301/16.61, allocations: 9.5 kB / 3.998 GB, free: 44.03 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001679/16.61, allocations: 120.2 kB / 3.998 GB, free: 44.03 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or 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.04218/16.65, allocations: 23.33 MB / 4.021 GB, free: 28.81 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004708/16.66, allocations: 2.839 MB / 4.024 GB, free: 26.77 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002579/16.66, allocations: 0.9947 MB / 4.025 GB, free: 26.37 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00355/16.66, allocations: 3.934 MB / 4.028 GB, free: 21.91 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.558e-05/16.67, allocations: 67.33 kB / 4.029 GB, free: 21.84 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=225): time 5.58e-06/16.67, allocations: 0 / 4.029 GB, free: 21.84 MB / 0.9948 GB Notification: Performance of matching and sorting (n=225): time 0.01364/16.68, allocations: 2.878 MB / 4.031 GB, free: 20.75 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/16.68, allocations: 74.31 kB / 4.031 GB, free: 20.69 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/16.69, allocations: 3.298 MB / 4.035 GB, free: 19.41 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007221/16.69, allocations: 29.73 kB / 4.035 GB, free: 19.38 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003607/16.69, allocations: 2.776 MB / 4.037 GB, free: 17.19 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001438/16.69, allocations: 0.7501 MB / 4.038 GB, free: 16.59 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/16.7, allocations: 0 / 4.038 GB, free: 16.59 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002336/16.7, allocations: 411.2 kB / 4.039 GB, free: 16.24 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/16.7, allocations: 0.7288 MB / 4.039 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003176/16.7, allocations: 1.702 MB / 4.041 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006262/16.71, allocations: 1.37 MB / 4.042 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.754e-05/16.71, allocations: 7.531 kB / 4.042 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01523/16.72, allocations: 3.473 MB / 4.046 GB, free: 12.56 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002035/16.72, allocations: 10.3 MB / 4.056 GB, free: 1.555 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.688e-05/16.72, allocations: 23.66 kB / 4.056 GB, free: 1.555 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/16.73, allocations: 340.5 kB / 4.056 GB, free: 1.441 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003621/16.73, allocations: 0.5233 MB / 4.057 GB, free: 1.387 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00314/16.73, allocations: 2.758 MB / 4.059 GB, free: 15.01 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008561/16.74, allocations: 0.4958 MB / 4.06 GB, free: 14.84 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009014/16.74, allocations: 132.5 kB / 4.06 GB, free: 14.82 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/16.74, allocations: 3.656 kB / 4.06 GB, free: 14.82 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01213/16.75, allocations: 2.754 MB / 4.063 GB, free: 13.67 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-05/16.75, allocations: 24 kB / 4.063 GB, free: 13.64 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/16.76, allocations: 352 kB / 4.063 GB, free: 13.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003914/16.76, allocations: 0.5303 MB / 4.063 GB, free: 12.89 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/16.77, allocations: 7.383 MB / 4.071 GB, free: 5.387 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008251/16.78, allocations: 476.4 kB / 4.071 GB, free: 5.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008657/16.78, allocations: 130.2 kB / 4.071 GB, free: 4.902 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001075/16.78, allocations: 185.1 kB / 4.071 GB, free: 4.715 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002392/16.79, allocations: 0.4978 MB / 4.072 GB, free: 4.215 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01612/16.8, allocations: 3.768 MB / 4.076 GB, free: 1.023 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001195/16.8, allocations: 35.59 kB / 4.076 GB, free: 0.9961 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/16.8, allocations: 0 / 4.076 GB, free: 0.9961 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01149/16.81, allocations: 2.648 MB / 4.078 GB, free: 14.7 MB / 1.026 GB Warning: The model contains alias variables with conflicting start and/or 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.02876/16.84, allocations: 8.047 MB / 4.086 GB, free: 8.051 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.02e-05/16.84, allocations: 3.953 kB / 4.086 GB, free: 8.047 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003243/16.85, allocations: 387.2 kB / 4.086 GB, free: 7.723 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000893/16.85, allocations: 231.5 kB / 4.087 GB, free: 7.516 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004152/16.85, allocations: 35.41 kB / 4.087 GB, free: 7.488 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002757/16.85, allocations: 2.502 MB / 4.089 GB, free: 4.934 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.946e-06/16.85, allocations: 8.062 kB / 4.089 GB, free: 4.926 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01616/16.87, allocations: 4.694 MB / 4.094 GB, free: 0.5703 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.9144/17.78, allocations: 0.9672 MB / 4.095 GB, free: 83.36 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001862/17.78, allocations: 4.156 kB / 4.095 GB, free: 83.36 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007657/17.79, allocations: 398.4 kB / 4.095 GB, free: 83.36 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005659/17.79, allocations: 155.4 kB / 4.095 GB, free: 83.36 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003947/17.79, allocations: 110.5 kB / 4.095 GB, free: 83.36 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.006584/17.8, allocations: 2.432 MB / 4.098 GB, free: 83.18 MB / 1.026 GB Notification: Performance of sort global known variables: time 9.71e-07/17.8, allocations: 0.8438 kB / 4.098 GB, free: 83.18 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02199/17.82, allocations: 3.442 MB / 4.101 GB, free: 83.18 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.009364/17.83, allocations: 3.423 MB / 4.104 GB, free: 82.02 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01211/17.84, allocations: 4.235 MB / 4.108 GB, free: 81.49 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/17.84, allocations: 5.938 kB / 4.109 GB, free: 81.49 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.003721/17.85, allocations: 1.237 MB / 4.11 GB, free: 81.48 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02459/17.87, allocations: 2.634 MB / 4.112 GB, free: 81.45 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.023/17.89, allocations: 7.149 MB / 4.119 GB, free: 79.54 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006371/17.9, allocations: 2.995 MB / 4.122 GB, free: 78.74 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01388/17.91, allocations: 1.475 MB / 4.124 GB, free: 78.7 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/17.92, allocations: 319.7 kB / 4.124 GB, free: 78.7 MB / 1.026 GB Notification: Performance of SimCode: time 2.444e-06/17.92, allocations: 1.594 kB / 4.124 GB, free: 78.7 MB / 1.026 GB Notification: Performance of Templates: time 0.283/18.2, allocations: 114.5 MB / 4.236 GB, free: 70.96 MB / 1.026 GB