Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002407/0.002407, allocations: 353.5 kB / 15.95 MB, free: 6.191 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.427/1.427, allocations: 165.8 MB / 182.5 MB, free: 5.422 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.778/3.778, allocations: 410.8 MB / 0.5995 GB, free: 15.14 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001803/0.001802, allocations: 204.8 kB / 0.6662 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004754, allocations: 15.98 kB / 0.7423 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3292, allocations: 67.44 MB / 0.8081 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.09034/0.4195, allocations: 61.75 MB / 0.8685 GB, free: 14.85 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.03386/0.4534, allocations: 17.92 MB / 0.886 GB, free: 12.89 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003224/0.4567, allocations: 79.44 kB / 0.886 GB, free: 12.82 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003875/0.4606, allocations: 0.9122 MB / 0.8869 GB, free: 11.9 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01058/0.4712, allocations: 2.802 MB / 0.8897 GB, free: 9.086 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01191/0.4832, allocations: 3.204 MB / 0.8928 GB, free: 5.918 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009536/0.4927, allocations: 6.009 MB / 0.8987 GB, free: 15.89 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002857/0.4956, allocations: 1.36 MB / 0.9 GB, free: 14.5 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00393/0.4996, allocations: 1.618 MB / 0.9016 GB, free: 12.88 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002615/0.5022, allocations: 1.373 MB / 0.9029 GB, free: 11.5 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003699/0.5026, allocations: 76 kB / 0.903 GB, free: 11.42 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004167/0.5068, allocations: 1.395 MB / 0.9043 GB, free: 10.02 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008588/0.5077, allocations: 434.2 kB / 0.9048 GB, free: 9.598 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008865/0.5086, allocations: 440.6 kB / 0.9052 GB, free: 9.16 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005012/0.5137, allocations: 2.7 MB / 0.9078 GB, free: 6.453 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5137, allocations: 4 kB / 0.9078 GB, free: 6.449 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.868e-06/0.5137, allocations: 0 / 0.9078 GB, free: 6.449 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.019e-05/0.5138, allocations: 0 / 0.9078 GB, free: 6.449 MB / 458.7 MB 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.005455/0.5192, allocations: 2.353 MB / 0.9101 GB, free: 4.023 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.5193, allocations: 8.031 kB / 0.9101 GB, free: 4.016 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/0.5212, allocations: 396.9 kB / 0.9105 GB, free: 3.625 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004918/0.5261, allocations: 1.723 MB / 0.9122 GB, free: 1.852 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004755/0.5267, allocations: 166.4 kB / 0.9123 GB, free: 1.688 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003231/0.527, allocations: 140 kB / 0.9125 GB, free: 1.551 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003728/0.5307, allocations: 1.465 MB / 0.9139 GB, free: 15.99 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.465e-05/0.5308, allocations: 7.938 kB / 0.9139 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002024/0.531, allocations: 52 kB / 0.914 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.083e-05/0.5311, allocations: 32 kB / 0.914 GB, free: 15.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/0.5347, allocations: 1.129 MB / 0.9151 GB, free: 14.77 MB / 474.7 MB 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.01372/0.5485, allocations: 7.385 MB / 0.9223 GB, free: 6.797 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003185/0.5517, allocations: 1.372 MB / 0.9236 GB, free: 5.316 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.5532, allocations: 458.6 kB / 0.9241 GB, free: 4.863 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006027/0.5592, allocations: 2.623 MB / 0.9266 GB, free: 2.008 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/0.5607, allocations: 498.6 kB / 0.9271 GB, free: 1.5 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006851/0.5614, allocations: 91.25 kB / 0.9272 GB, free: 1.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=63): time 4.926e-06/0.5614, allocations: 0 / 0.9272 GB, free: 1.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=63): time 0.004399/0.5659, allocations: 1.292 MB / 0.9285 GB, free: 96 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3058/0.8717, allocations: 186.3 kB / 0.9286 GB, free: 114.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002957/0.8747, allocations: 1.501 MB / 0.9301 GB, free: 114.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001723/0.8749, allocations: 44.39 kB / 0.9302 GB, free: 114 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008747/0.8758, allocations: 0.8969 MB / 0.931 GB, free: 113.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.8761, allocations: 226.3 kB / 0.9312 GB, free: 113.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.41e-05/0.8762, allocations: 19.62 kB / 0.9313 GB, free: 113.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.884e-05/0.8763, allocations: 352.7 kB / 0.9316 GB, free: 113.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.8777, allocations: 389 kB / 0.932 GB, free: 113 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.8794, allocations: 0.7687 MB / 0.9327 GB, free: 112.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.8808, allocations: 0.5004 MB / 0.9332 GB, free: 112.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/0.8809, allocations: 3.219 kB / 0.9332 GB, free: 112.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003846/0.8847, allocations: 1.33 MB / 0.9345 GB, free: 111.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002132/0.885, allocations: 406.4 kB / 0.9349 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/0.885, allocations: 8.594 kB / 0.9349 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.097e-05/0.8851, allocations: 15.97 kB / 0.9349 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.8865, allocations: 260.5 kB / 0.9352 GB, free: 111.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-05/0.8865, allocations: 21.12 kB / 0.9352 GB, free: 111.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.8884, allocations: 149 kB / 0.9353 GB, free: 111.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.8886, allocations: 52.48 kB / 0.9354 GB, free: 111.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.8886, allocations: 7.531 kB / 0.9354 GB, free: 111.1 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003527/0.8922, allocations: 1.144 MB / 0.9365 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/0.8922, allocations: 14.08 kB / 0.9365 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.8923, allocations: 17.23 kB / 0.9365 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.8936, allocations: 256 kB / 0.9368 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.047e-05/0.8937, allocations: 20.95 kB / 0.9368 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.8954, allocations: 128.7 kB / 0.9369 GB, free: 110.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/0.8956, allocations: 51.23 kB / 0.937 GB, free: 110.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * 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.001062/0.8967, allocations: 499.2 kB / 0.9375 GB, free: 110.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003789/0.8971, allocations: 173.7 kB / 0.9376 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003549/0.9007, allocations: 1.105 MB / 0.9387 GB, free: 109.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/0.9007, allocations: 11.56 kB / 0.9387 GB, free: 109.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.9008, allocations: 5.578 kB / 0.9387 GB, free: 109.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002621/0.9034, allocations: 0.8249 MB / 0.9395 GB, free: 109.5 MB / 474.7 MB 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.005872/0.9093, allocations: 2.703 MB / 0.9422 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.707e-06/0.9093, allocations: 7.625 kB / 0.9422 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009426/0.9103, allocations: 167.9 kB / 0.9423 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002084/0.9105, allocations: 33.64 kB / 0.9424 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.511e-05/0.9106, allocations: 27.3 kB / 0.9424 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.9117, allocations: 1.381 MB / 0.9437 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.9117, allocations: 3.969 kB / 0.9437 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004017/0.9158, allocations: 1.631 MB / 0.9453 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009255/0.9167, allocations: 378.2 kB / 0.9457 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004051/0.9172, allocations: 15.97 kB / 0.9457 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.9187, allocations: 124.2 kB / 0.9458 GB, free: 105.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.9189, allocations: 64.03 kB / 0.9459 GB, free: 105.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.919, allocations: 35.78 kB / 0.9459 GB, free: 105.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001966/0.921, allocations: 1.081 MB / 0.947 GB, free: 105.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.024e-06/0.921, allocations: 0 / 0.947 GB, free: 105.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003387/0.9244, allocations: 0.9971 MB / 0.948 GB, free: 104.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001341/0.9258, allocations: 0.5267 MB / 0.9485 GB, free: 104.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004112/0.9299, allocations: 1.714 MB / 0.9501 GB, free: 102.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.76e-06/0.93, allocations: 4.328 kB / 0.9501 GB, free: 102.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.9314, allocations: 0.5717 MB / 0.9507 GB, free: 102.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004771/0.9362, allocations: 0.8671 MB / 0.9515 GB, free: 101.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006688/0.9429, allocations: 3.915 MB / 0.9554 GB, free: 97.56 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.944, allocations: 1.444 MB / 0.9568 GB, free: 96.09 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002554/0.9466, allocations: 429.1 kB / 0.9572 GB, free: 95.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004759/0.9471, allocations: 151.3 kB / 0.9573 GB, free: 95.52 MB / 474.7 MB Notification: Performance of SimCode: time 2.327e-06/0.9471, allocations: 0 / 0.9573 GB, free: 95.52 MB / 474.7 MB Notification: Performance of Templates: time 0.06846/1.016, allocations: 33.88 MB / 0.9904 GB, free: 62.05 MB / 474.7 MB