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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 177.1 kB / 15.75 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.2 MB / 239.7 MB, free: 1.789 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009983/0.0009984, allocations: 89.27 kB / 290.8 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.5359/0.5359, allocations: 64.89 MB / 406.8 MB, free: 49.47 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004234, allocations: 15.98 kB / 482.2 MB, free: 3.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1697, allocations: 64.85 MB / 0.5342 GB, free: 2.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.211, allocations: 251.6 MB / 0.78 GB, free: 145.9 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/1.212, allocations: 57.78 kB / 0.78 GB, free: 145.9 MB / 0.5417 GB [/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.4037/1.615, allocations: 167.3 MB / 0.9434 GB, free: 28.99 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.597e-06/1.615, allocations: 0 / 0.9434 GB, free: 28.99 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002648/1.616, allocations: 72 kB / 0.9435 GB, free: 28.92 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.01688/1.633, allocations: 3.592 MB / 0.947 GB, free: 25.27 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/1.633, allocations: 8.031 kB / 0.947 GB, free: 25.26 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002695/1.635, allocations: 391.4 kB / 0.9474 GB, free: 24.88 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005434/1.641, allocations: 1.537 MB / 0.9489 GB, free: 23.29 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004348/1.641, allocations: 313.5 kB / 0.9492 GB, free: 22.98 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00237/1.644, allocations: 427.8 kB / 0.9496 GB, free: 22.56 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01681/1.661, allocations: 5.31 MB / 0.9548 GB, free: 16.93 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002729/1.661, allocations: 15.88 kB / 0.9548 GB, free: 16.91 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001732/1.663, allocations: 168 kB / 0.9549 GB, free: 16.75 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003067/1.663, allocations: 238.8 kB / 0.9552 GB, free: 16.51 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01306/1.676, allocations: 4.39 MB / 0.9595 GB, free: 12.11 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.4623/2.138, allocations: 20.98 MB / 0.9799 GB, free: 62.78 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006651/2.145, allocations: 2.46 MB / 0.9824 GB, free: 62.23 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002438/2.145, allocations: 34.25 kB / 0.9824 GB, free: 62.23 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.278e-05/2.145, allocations: 67.73 kB / 0.9824 GB, free: 62.19 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=192): time 5.851e-06/2.145, allocations: 0 / 0.9824 GB, free: 62.19 MB / 0.5417 GB Notification: Performance of matching and sorting (n=214): time 0.03284/2.178, allocations: 12.98 MB / 0.9951 GB, free: 57.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003571/2.182, allocations: 3.711 MB / 0.9987 GB, free: 54.17 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00454/2.187, allocations: 2.575 MB / 1.001 GB, free: 53.92 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007449/2.187, allocations: 59.42 kB / 1.001 GB, free: 53.89 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001376/2.189, allocations: 1.881 MB / 1.003 GB, free: 53.07 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001097/2.19, allocations: 0.7689 MB / 1.004 GB, free: 52.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/2.19, allocations: 84.5 kB / 1.004 GB, free: 52.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002116/2.19, allocations: 487.7 kB / 1.004 GB, free: 52.38 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002704/2.193, allocations: 1.517 MB / 1.006 GB, free: 52.36 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003664/2.197, allocations: 3.38 MB / 1.009 GB, free: 50.02 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003672/2.2, allocations: 2.168 MB / 1.011 GB, free: 49.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.104e-05/2.2, allocations: 20.22 kB / 1.011 GB, free: 49.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.01249/2.213, allocations: 5.922 MB / 1.017 GB, free: 49.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.942e-05/2.213, allocations: 31.91 kB / 1.017 GB, free: 49.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001202/2.213, allocations: 63.78 kB / 1.017 GB, free: 49.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005073/2.218, allocations: 1.246 MB / 1.018 GB, free: 49.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00519/2.223, allocations: 1.024 MB / 1.019 GB, free: 49.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009711/2.233, allocations: 8.954 MB / 1.028 GB, free: 43.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005992/2.239, allocations: 309.9 kB / 1.029 GB, free: 43.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001235/2.24, allocations: 221.7 kB / 1.029 GB, free: 43.77 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.003688/2.244, allocations: 1.037 MB / 1.03 GB, free: 43.59 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001263/2.245, allocations: 287.2 kB / 1.03 GB, free: 43.45 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/2.256, allocations: 3.737 MB / 1.034 GB, free: 43.17 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.827e-05/2.256, allocations: 25.16 kB / 1.034 GB, free: 43.17 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-05/2.256, allocations: 6.844 kB / 1.034 GB, free: 43.17 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.843e-05/2.256, allocations: 13.08 kB / 1.034 GB, free: 43.17 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02206/2.278, allocations: 7.569 MB / 1.041 GB, free: 42.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.488e-05/2.279, allocations: 9.531 kB / 1.041 GB, free: 42.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003202/2.282, allocations: 421.3 kB / 1.041 GB, free: 42.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00592/2.288, allocations: 1.312 MB / 1.043 GB, free: 42.38 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003514/2.288, allocations: 50 kB / 1.043 GB, free: 42.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/2.299, allocations: 9.719 MB / 1.052 GB, free: 34.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003838/2.303, allocations: 3.396 MB / 1.056 GB, free: 31.26 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01474/2.317, allocations: 6.064 MB / 1.062 GB, free: 27.89 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/2.319, allocations: 402.1 kB / 1.062 GB, free: 27.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001064/2.32, allocations: 45.84 kB / 1.062 GB, free: 27.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003908/2.324, allocations: 158.8 kB / 1.062 GB, free: 27.53 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00055/2.325, allocations: 155 kB / 1.062 GB, free: 27.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002628/2.325, allocations: 63.84 kB / 1.062 GB, free: 27.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004677/2.33, allocations: 1.855 MB / 1.064 GB, free: 26.79 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.41e-07/2.33, allocations: 0 / 1.064 GB, free: 26.79 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008281/2.338, allocations: 1.265 MB / 1.065 GB, free: 26.66 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.004703/2.343, allocations: 0.6889 MB / 1.066 GB, free: 26.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01071/2.353, allocations: 4.025 MB / 1.07 GB, free: 24.93 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/2.353, allocations: 0 / 1.07 GB, free: 24.93 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006084/2.359, allocations: 1.853 MB / 1.072 GB, free: 24.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005633/2.365, allocations: 0.9432 MB / 1.073 GB, free: 23.94 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/2.383, allocations: 7.564 MB / 1.08 GB, free: 19.87 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002852/2.385, allocations: 2.154 MB / 1.082 GB, free: 18.95 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004297/2.39, allocations: 0.9059 MB / 1.083 GB, free: 18.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007135/2.39, allocations: 218.6 kB / 1.083 GB, free: 18.9 MB / 0.5417 GB Notification: Performance of SimCode: time 1.563e-06/2.391, allocations: 3.281 kB / 1.083 GB, free: 18.9 MB / 0.5417 GB Notification: Performance of Templates: time 0.1056/2.496, allocations: 64.57 MB / 1.146 GB, free: 7.562 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)