Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_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.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.159/2.159, allocations: 252.6 MB / 265.2 MB, free: 5.746 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.001474/0.001474, allocations: 175.9 kB / 324.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.4 MB / 0.5754 GB, free: 10.46 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.001108/0.001107, allocations: 105.1 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.934e-05/3.954e-05, allocations: 4 kB / 0.7911 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1914, allocations: 106.2 MB / 0.8949 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.916/2.107, allocations: 440.2 MB / 1.325 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/2.107, allocations: 92.31 kB / 1.325 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.913/8.021, allocations: 1.103 GB / 2.428 GB, free: 132.5 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.245e-06/8.021, allocations: 0 / 2.428 GB, free: 132.5 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0003657/8.021, allocations: 62.38 kB / 2.428 GB, free: 132.5 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.006261/8.028, allocations: 2.18 MB / 2.43 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/8.028, allocations: 10.66 kB / 2.43 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/8.03, allocations: 369.9 kB / 2.43 GB, free: 131.3 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00897/8.039, allocations: 2.455 MB / 2.433 GB, free: 130.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/8.039, allocations: 102.1 kB / 2.433 GB, free: 130.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003947/8.04, allocations: 140.9 kB / 2.433 GB, free: 130.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003415/8.043, allocations: 1.346 MB / 2.434 GB, free: 130.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.708e-05/8.043, allocations: 5.406 kB / 2.434 GB, free: 130.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002155/8.044, allocations: 55.03 kB / 2.434 GB, free: 130.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-05/8.044, allocations: 36.09 kB / 2.434 GB, free: 130.6 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003123/8.047, allocations: 0.9196 MB / 2.435 GB, free: 130.5 MB / 0.9011 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.01524/8.062, allocations: 7.135 MB / 2.442 GB, free: 126.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00226/8.064, allocations: 1.182 MB / 2.443 GB, free: 125.9 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/8.066, allocations: 345.1 kB / 2.444 GB, free: 125.9 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005832/8.071, allocations: 2.264 MB / 2.446 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009498/8.072, allocations: 386.3 kB / 2.446 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001248/8.074, allocations: 95.64 kB / 2.446 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=68): time 6.442e-06/8.074, allocations: 2.719 kB / 2.446 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=68): time 0.002349/8.076, allocations: 0.7365 MB / 2.447 GB, free: 124.3 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/8.076, allocations: 166 kB / 2.447 GB, free: 124.1 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002935/8.079, allocations: 1.29 MB / 2.448 GB, free: 124 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000286/8.08, allocations: 48.02 kB / 2.449 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009834/8.081, allocations: 0.8976 MB / 2.449 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004038/8.081, allocations: 240 kB / 2.45 GB, free: 123.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.966e-05/8.081, allocations: 20.34 kB / 2.45 GB, free: 123.5 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000104/8.081, allocations: 350.2 kB / 2.45 GB, free: 123.1 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007712/8.082, allocations: 290.8 kB / 2.45 GB, free: 123.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009901/8.083, allocations: 0.669 MB / 2.451 GB, free: 122.7 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009807/8.084, allocations: 420.4 kB / 2.451 GB, free: 122.7 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/8.084, allocations: 3.75 kB / 2.451 GB, free: 122.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003208/8.087, allocations: 1.117 MB / 2.452 GB, free: 122.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008319/8.088, allocations: 3.74 MB / 2.456 GB, free: 118.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.867e-05/8.088, allocations: 7.875 kB / 2.456 GB, free: 118.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.655e-05/8.088, allocations: 18.38 kB / 2.456 GB, free: 118.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/8.09, allocations: 254.5 kB / 2.456 GB, free: 118.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.159e-05/8.09, allocations: 21.34 kB / 2.456 GB, free: 118.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/8.093, allocations: 126.1 kB / 2.456 GB, free: 118.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003298/8.093, allocations: 58.47 kB / 2.457 GB, free: 118.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/8.093, allocations: 4.812 kB / 2.457 GB, free: 118.6 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002619/8.096, allocations: 0.9391 MB / 2.457 GB, free: 118.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.333e-05/8.096, allocations: 10.62 kB / 2.457 GB, free: 118.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.828e-05/8.096, allocations: 17.78 kB / 2.457 GB, free: 118.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/8.098, allocations: 251.6 kB / 2.458 GB, free: 118.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.701e-05/8.098, allocations: 24.38 kB / 2.458 GB, free: 118.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/8.101, allocations: 129.2 kB / 2.458 GB, free: 118.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003276/8.101, allocations: 55.08 kB / 2.458 GB, free: 118.5 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004102/8.101, allocations: 168.5 kB / 2.458 GB, free: 118.4 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005476/8.102, allocations: 172.1 kB / 2.458 GB, free: 118.3 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/8.105, allocations: 0.9829 MB / 2.459 GB, free: 118.2 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/8.105, allocations: 10.89 kB / 2.459 GB, free: 118.2 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/8.105, allocations: 2.25 kB / 2.459 GB, free: 118.2 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001854/8.107, allocations: 0.6886 MB / 2.46 GB, free: 118.1 MB / 0.9011 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.007131/8.114, allocations: 2.276 MB / 2.462 GB, free: 117.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/8.114, allocations: 3.938 kB / 2.462 GB, free: 117.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/8.116, allocations: 156.2 kB / 2.462 GB, free: 117.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002756/8.116, allocations: 33.02 kB / 2.462 GB, free: 117.7 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001937/8.116, allocations: 20.58 kB / 2.462 GB, free: 117.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/8.118, allocations: 1.316 MB / 2.464 GB, free: 116.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/8.118, allocations: 0 / 2.464 GB, free: 116.5 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00348/8.121, allocations: 1.39 MB / 2.465 GB, free: 116.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/8.123, allocations: 343.1 kB / 2.465 GB, free: 116 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005782/8.123, allocations: 20.89 kB / 2.465 GB, free: 116 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002328/8.125, allocations: 108.9 kB / 2.465 GB, free: 116 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/8.126, allocations: 62.41 kB / 2.465 GB, free: 116 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/8.126, allocations: 33.89 kB / 2.465 GB, free: 116 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002474/8.128, allocations: 0.9874 MB / 2.466 GB, free: 115.9 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.51e-07/8.129, allocations: 0 / 2.466 GB, free: 115.9 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.006036/8.135, allocations: 1.116 MB / 2.468 GB, free: 115.7 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003521/8.138, allocations: 1.168 MB / 2.469 GB, free: 115.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003755/8.142, allocations: 1.508 MB / 2.47 GB, free: 115.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/8.142, allocations: 0 / 2.47 GB, free: 115.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/8.143, allocations: 492.7 kB / 2.471 GB, free: 115 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00647/8.15, allocations: 0.7676 MB / 2.471 GB, free: 115 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006831/8.157, allocations: 2.39 MB / 2.474 GB, free: 114.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/8.158, allocations: 1.45 MB / 2.475 GB, free: 113.6 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004393/8.162, allocations: 0.5423 MB / 2.476 GB, free: 113.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/8.163, allocations: 109.7 kB / 2.476 GB, free: 113.6 MB / 0.9011 GB Notification: Performance of SimCode: time 1.152e-06/8.163, allocations: 2.25 kB / 2.476 GB, free: 113.6 MB / 0.9011 GB Notification: Performance of Templates: time 0.1077/8.271, allocations: 41.38 MB / 2.516 GB, free: 111 MB / 0.9011 GB