Running command: translateModel(ThermalSeparation.Examples.Testing.HeatExchanger.HeatExchangerSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.HeatExchanger.HeatExchangerSimple") Notification: Performance of loadModel(ThermalSeparation): time 2.545/2.545, allocations: 260.3 MB / 273 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.34e-05/3.352e-05, allocations: 0 / 334.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3198, allocations: 58.97 MB / 393.8 MB, free: 1.418 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.686/1.006, allocations: 245.7 MB / 0.6245 GB, free: 24.45 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001778/1.006, allocations: 63.91 kB / 0.6246 GB, free: 24.41 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ThermalSeparation 0.2/Media/WaterBasedLiquid/BaseClasses/package.mo:6:3-23:32:writable] Error: PartialWaterBased is partial, name lookup is not allowed in partial classes. Notification: Performance of FrontEnd - DAE generated: time 0.8553/1.861, allocations: 164.4 MB / 0.7851 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.318e-06/1.861, allocations: 3.875 kB / 0.7851 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001525/1.862, allocations: 65.81 kB / 0.7852 GB, free: 110.9 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1064 * Number of variables: 1064 Notification: Performance of Generate backend data structure: time 0.01278/1.874, allocations: 3.446 MB / 0.7886 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.874, allocations: 10.16 kB / 0.7886 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/1.876, allocations: 390.1 kB / 0.7889 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004892/1.881, allocations: 1.533 MB / 0.7904 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003729/1.882, allocations: 322.7 kB / 0.7907 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001827/1.884, allocations: 428.1 kB / 0.7912 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01485/1.898, allocations: 5.146 MB / 0.7962 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001469/1.899, allocations: 18.69 kB / 0.7962 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001193/1.9, allocations: 165.9 kB / 0.7964 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000289/1.9, allocations: 244.7 kB / 0.7966 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/1.912, allocations: 4.134 MB / 0.8006 GB, free: 103.5 MB / 0.5105 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.03405/1.947, allocations: 21 MB / 0.8211 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005321/1.952, allocations: 2.369 MB / 0.8234 GB, free: 84.49 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002368/1.954, allocations: 0.9301 MB / 0.8244 GB, free: 83.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/1.955, allocations: 38.2 kB / 0.8244 GB, free: 83.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/1.955, allocations: 64.5 kB / 0.8245 GB, free: 83.47 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=192): time 6.696e-06/1.955, allocations: 0 / 0.8245 GB, free: 83.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=214): time 0.03119/1.986, allocations: 10.96 MB / 0.8352 GB, free: 73.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004767/1.991, allocations: 4.154 MB / 0.8392 GB, free: 68.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004936/1.996, allocations: 2.549 MB / 0.8417 GB, free: 66.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004951/1.996, allocations: 61.7 kB / 0.8418 GB, free: 66.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001393/1.998, allocations: 1.877 MB / 0.8436 GB, free: 64.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001098/1.999, allocations: 0.778 MB / 0.8444 GB, free: 64.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000493/1.999, allocations: 88 kB / 0.8444 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002909/2, allocations: 476.2 kB / 0.8449 GB, free: 63.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003753/2.003, allocations: 1.463 MB / 0.8463 GB, free: 62.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004836/2.008, allocations: 3.289 MB / 0.8495 GB, free: 58.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004998/2.013, allocations: 2.132 MB / 0.8516 GB, free: 56.44 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.607e-05/2.013, allocations: 20 kB / 0.8516 GB, free: 56.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.01693/2.03, allocations: 5.626 MB / 0.8571 GB, free: 51.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.269e-05/2.03, allocations: 32.62 kB / 0.8572 GB, free: 51.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-05/2.03, allocations: 64 kB / 0.8572 GB, free: 51.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006378/2.037, allocations: 1.224 MB / 0.8584 GB, free: 50.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006502/2.043, allocations: 1.032 MB / 0.8594 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/2.054, allocations: 8.746 MB / 0.868 GB, free: 40.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005804/2.06, allocations: 312.5 kB / 0.8683 GB, free: 40.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/2.061, allocations: 227.1 kB / 0.8685 GB, free: 40.35 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 288 * Number of states: 0 () * Number of discrete variables: 10 (sourceLiquid2.medium.state.phase,sourceLiquid1.medium.state.phase,ccounterFlowHeatExchanger.mediumHotOut.state.phase,ccounterFlowHeatExchanger.mediumColdOut.state.phase,ccounterFlowHeatExchanger.mediumHotIn.state.phase,ccounterFlowHeatExchanger.mediumColdIn.state.phase,ccounterFlowHeatExchanger.coldLiquidTube.mediumLiquidIn.state.phase,ccounterFlowHeatExchanger.coldLiquidTube.mediumLiquid.state.phase,ccounterFlowHeatExchanger.hotLiquidTube.mediumLiquidIn.state.phase,ccounterFlowHeatExchanger.hotLiquidTube.mediumLiquid.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (521): * Single equations (assignments): 513 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,62.5%) 6,(4,62.5%) 6} * Non-linear torn systems: 6 {1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.00111/2.062, allocations: 401.3 kB / 0.8689 GB, free: 39.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009662/2.063, allocations: 280.6 kB / 0.8691 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/2.075, allocations: 3.676 MB / 0.8727 GB, free: 36.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.981e-05/2.075, allocations: 28 kB / 0.8727 GB, free: 36.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.809e-05/2.075, allocations: 4 kB / 0.8727 GB, free: 36.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.087e-05/2.076, allocations: 17.64 kB / 0.8728 GB, free: 36.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0219/2.097, allocations: 7.568 MB / 0.8802 GB, free: 30.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.082e-05/2.098, allocations: 7.953 kB / 0.8802 GB, free: 30.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0039/2.101, allocations: 400.3 kB / 0.8805 GB, free: 30.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007292/2.109, allocations: 1.359 MB / 0.8819 GB, free: 29.13 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005542/2.109, allocations: 47.38 kB / 0.8819 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/2.12, allocations: 9.441 MB / 0.8911 GB, free: 19.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004479/2.125, allocations: 3.848 MB / 0.8949 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01439/2.139, allocations: 5.975 MB / 0.9007 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/2.141, allocations: 405.4 kB / 0.9011 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001112/2.142, allocations: 44 kB / 0.9012 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00384/2.146, allocations: 144.1 kB / 0.9013 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007479/2.146, allocations: 165.7 kB / 0.9015 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003074/2.147, allocations: 64.08 kB / 0.9015 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003806/2.15, allocations: 1.823 MB / 0.9033 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.078e-06/2.151, allocations: 0 / 0.9033 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007493/2.158, allocations: 1.281 MB / 0.9045 GB, free: 5.582 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 ($STATESET2.x,$STATESET1.x,ccounterFlowHeatExchanger.TwallHot,ccounterFlowHeatExchanger.TwallCold) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 195 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,62.5%) 4,(4,62.5%) 4} * Non-linear torn systems: 8 {1 3,4 2,1 3,4 2,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004042/2.162, allocations: 0.7014 MB / 0.9052 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01174/2.174, allocations: 3.783 MB / 0.9089 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.403e-06/2.174, allocations: 6.5 kB / 0.9089 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.3149/2.489, allocations: 1.755 MB / 0.9106 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007115/2.496, allocations: 0.9408 MB / 0.9116 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/2.513, allocations: 5.151 MB / 0.9166 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003551/2.517, allocations: 2.154 MB / 0.9187 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006159/2.523, allocations: 0.9078 MB / 0.9196 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001433/2.525, allocations: 217.6 kB / 0.9198 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.52e-06/2.525, allocations: 0 / 0.9198 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.141/2.666, allocations: 65.34 MB / 0.9836 GB, free: 96.45 MB / 0.5105 GB