Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.Testing.HeatExchanger.HeatExchangerSimple.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo", uses=false) Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo) 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) Running command: translateModel(ThermalSeparation.Examples.Testing.HeatExchanger.HeatExchangerSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.HeatExchanger.HeatExchangerSimple") translateModel(ThermalSeparation.Examples.Testing.HeatExchanger.HeatExchangerSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.HeatExchanger.HeatExchangerSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009144/0.0009144, allocations: 168.8 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 222.9 MB, free: 9.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007704/0.0007704, allocations: 93.34 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.4563/0.4563, allocations: 64.93 MB / 384.5 MB, free: 36.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.000433, allocations: 12 kB / 457.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3565, allocations: 62.05 MB / 0.5071 GB, free: 34.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6343/0.9908, allocations: 287.4 MB / 0.7877 GB, free: 18.93 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.9911, allocations: 64.55 kB / 0.7878 GB, free: 18.9 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/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.705/1.696, allocations: 164.2 MB / 0.9481 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.005e-06/1.696, allocations: 0 / 0.9481 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001814/1.696, allocations: 71.62 kB / 0.9482 GB, free: 112.1 MB / 0.5417 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.01318/1.709, allocations: 3.543 MB / 0.9517 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.71, allocations: 21.83 kB / 0.9517 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/1.712, allocations: 386.6 kB / 0.9521 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004181/1.716, allocations: 1.562 MB / 0.9536 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003348/1.716, allocations: 319.8 kB / 0.9539 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001865/1.718, allocations: 430.9 kB / 0.9543 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01255/1.731, allocations: 5.329 MB / 0.9595 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.664e-05/1.731, allocations: 13.97 kB / 0.9595 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004752/1.731, allocations: 167.7 kB / 0.9597 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002517/1.732, allocations: 250 kB / 0.9599 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008531/1.74, allocations: 4.378 MB / 0.9642 GB, free: 104.5 MB / 0.5417 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.02355/1.764, allocations: 21.02 MB / 0.9847 GB, free: 89.04 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003583/1.767, allocations: 2.459 MB / 0.9871 GB, free: 87.62 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/1.769, allocations: 0.9725 MB / 0.9881 GB, free: 87.16 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/1.769, allocations: 32.47 kB / 0.9881 GB, free: 87.15 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/1.769, allocations: 79.59 kB / 0.9882 GB, free: 87.08 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=192): time 4.248e-06/1.769, allocations: 0 / 0.9882 GB, free: 87.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=214): time 0.02742/1.796, allocations: 12.97 MB / 1.001 GB, free: 79.66 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003405/1.8, allocations: 3.68 MB / 1.004 GB, free: 76.23 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004596/1.804, allocations: 2.847 MB / 1.007 GB, free: 75.14 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007331/1.805, allocations: 61.52 kB / 1.007 GB, free: 75.09 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001085/1.806, allocations: 1.885 MB / 1.009 GB, free: 73.61 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00081/1.807, allocations: 0.7665 MB / 1.01 GB, free: 73.04 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/1.807, allocations: 90.59 kB / 1.01 GB, free: 72.96 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002081/1.808, allocations: 475.5 kB / 1.01 GB, free: 72.58 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00255/1.81, allocations: 1.519 MB / 1.012 GB, free: 71.83 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003117/1.813, allocations: 3.389 MB / 1.015 GB, free: 67.82 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005903/1.819, allocations: 5.129 MB / 1.02 GB, free: 62.04 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.864e-05/1.819, allocations: 16 kB / 1.02 GB, free: 62.03 MB / 0.5417 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.01117/1.83, allocations: 5.927 MB / 1.026 GB, free: 56.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.217e-05/1.831, allocations: 32 kB / 1.026 GB, free: 56.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.272e-05/1.831, allocations: 71.5 kB / 1.026 GB, free: 56.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004718/1.835, allocations: 1.227 MB / 1.027 GB, free: 55.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005066/1.84, allocations: 1.023 MB / 1.028 GB, free: 54.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008642/1.849, allocations: 8.85 MB / 1.037 GB, free: 46.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004891/1.854, allocations: 306.8 kB / 1.037 GB, free: 45.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006339/1.855, allocations: 223.4 kB / 1.037 GB, free: 45.64 MB / 0.5417 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 () * Number of clocked 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.002183/1.857, allocations: 1.031 MB / 1.038 GB, free: 44.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006571/1.858, allocations: 276.5 kB / 1.039 GB, free: 44.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008516/1.866, allocations: 3.734 MB / 1.042 GB, free: 41.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.858e-05/1.866, allocations: 24 kB / 1.042 GB, free: 41.25 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-05/1.866, allocations: 8 kB / 1.042 GB, free: 41.24 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-05/1.866, allocations: 13.59 kB / 1.042 GB, free: 41.24 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/1.881, allocations: 7.579 MB / 1.05 GB, free: 35.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/1.881, allocations: 4 kB / 1.05 GB, free: 35.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002856/1.884, allocations: 418.9 kB / 1.05 GB, free: 34.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005061/1.889, allocations: 1.324 MB / 1.052 GB, free: 33.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002848/1.89, allocations: 47.61 kB / 1.052 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008068/1.898, allocations: 9.613 MB / 1.061 GB, free: 24.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002662/1.9, allocations: 3.359 MB / 1.064 GB, free: 20.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/1.911, allocations: 5.737 MB / 1.07 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1.913, allocations: 393.4 kB / 1.07 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005621/1.913, allocations: 44 kB / 1.07 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002413/1.916, allocations: 158.7 kB / 1.07 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004343/1.916, allocations: 166.1 kB / 1.071 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/1.916, allocations: 71.94 kB / 1.071 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002654/1.919, allocations: 1.843 MB / 1.072 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.81e-07/1.919, allocations: 4 kB / 1.072 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006527/1.925, allocations: 1.265 MB / 1.074 GB, free: 12.01 MB / 0.5417 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (209): * Single equations (assignments): 199 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 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: 6 {1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002682/1.928, allocations: 0.7024 MB / 1.074 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01136/1.939, allocations: 4.018 MB / 1.078 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.586e-05/1.94, allocations: 5.938 kB / 1.078 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005739/1.945, allocations: 1.839 MB / 1.08 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006524/1.952, allocations: 0.9715 MB / 1.081 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2959/2.248, allocations: 7.587 MB / 1.088 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002884/2.251, allocations: 2.089 MB / 1.09 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005107/2.256, allocations: 0.9067 MB / 1.091 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008492/2.257, allocations: 214.9 kB / 1.092 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of SimCode: time 5.71e-07/2.257, allocations: 2.906 kB / 1.092 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.1061/2.363, allocations: 65.88 MB / 1.156 GB, free: 99.11 MB / 0.5417 GB make -j1 -f ThermalSeparation_ThermalSeparation.Examples.Testing.HeatExchanger.HeatExchangerSimple.makefile (rm -f ThermalSeparation_ThermalSeparation.Examples.Testing.HeatExchanger.HeatExchangerSimple.pipe ; mkfifo ThermalSeparation_ThermalSeparation.Examples.Testing.HeatExchanger.HeatExchangerSimple.pipe ; head -c 1048576 < ThermalSeparation_ThermalSeparation.Examples.Testing.HeatExchanger.HeatExchangerSimple.pipe >> ../files/ThermalSeparation_ThermalSeparation.Examples.Testing.HeatExchanger.HeatExchangerSimple.sim & ./ThermalSeparation_ThermalSeparation.Examples.Testing.HeatExchanger.HeatExchangerSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermalSeparation_ThermalSeparation.Examples.Testing.HeatExchanger.HeatExchangerSimple.pipe 2>&1)