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.001598/0.001598, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.523/1.523, allocations: 221.4 MB / 235.1 MB, free: 14.41 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001164, allocations: 85.03 kB / 286 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.6031/0.6031, allocations: 64.45 MB / 401.4 MB, free: 23.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.393e-05, allocations: 4 kB / 474.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.482, allocations: 64.85 MB / 0.5264 GB, free: 30.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7484/1.23, allocations: 251.6 MB / 0.772 GB, free: 28.83 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001768/1.231, allocations: 55.11 kB / 0.7721 GB, free: 28.8 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.8431/2.074, allocations: 167.3 MB / 0.9354 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.433e-06/2.074, allocations: 0 / 0.9354 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000131/2.074, allocations: 67.94 kB / 0.9355 GB, free: 116.2 MB / 0.5573 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.01418/2.088, allocations: 3.448 MB / 0.9388 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/2.088, allocations: 9.938 kB / 0.9389 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/2.091, allocations: 388.8 kB / 0.9392 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004562/2.095, allocations: 1.531 MB / 0.9407 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/2.095, allocations: 329.2 kB / 0.941 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001496/2.097, allocations: 422.6 kB / 0.9414 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/2.108, allocations: 5.191 MB / 0.9465 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.628e-05/2.108, allocations: 18.72 kB / 0.9465 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000416/2.109, allocations: 167 kB / 0.9467 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00024/2.109, allocations: 246.8 kB / 0.9469 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009607/2.119, allocations: 4.215 MB / 0.951 GB, free: 110.2 MB / 0.5573 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.02735/2.146, allocations: 21.01 MB / 0.9716 GB, free: 94.99 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003471/2.15, allocations: 2.395 MB / 0.9739 GB, free: 93.58 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/2.151, allocations: 0.9306 MB / 0.9748 GB, free: 93.13 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/2.151, allocations: 35.17 kB / 0.9748 GB, free: 93.12 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/2.151, allocations: 67.66 kB / 0.9749 GB, free: 93.06 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=192): time 4.218e-06/2.151, allocations: 0 / 0.9749 GB, free: 93.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=214): time 0.0213/2.172, allocations: 10.96 MB / 0.9856 GB, free: 86.85 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003671/2.176, allocations: 4.161 MB / 0.9897 GB, free: 83.11 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003617/2.18, allocations: 2.542 MB / 0.9922 GB, free: 82.11 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005883/2.18, allocations: 60.73 kB / 0.9922 GB, free: 82.05 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009249/2.181, allocations: 1.879 MB / 0.994 GB, free: 80.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007777/2.182, allocations: 0.7651 MB / 0.9948 GB, free: 80 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/2.182, allocations: 86.75 kB / 0.9949 GB, free: 79.94 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001931/2.183, allocations: 479 kB / 0.9953 GB, free: 79.55 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/2.185, allocations: 1.458 MB / 0.9968 GB, free: 78.99 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003064/2.188, allocations: 3.319 MB / 1 GB, free: 75.96 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003163/2.191, allocations: 2.136 MB / 1.002 GB, free: 75.14 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.682e-05/2.191, allocations: 17.75 kB / 1.002 GB, free: 75.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.0113/2.202, allocations: 5.8 MB / 1.008 GB, free: 72.92 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-05/2.202, allocations: 31.72 kB / 1.008 GB, free: 72.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.607e-05/2.203, allocations: 65.25 kB / 1.008 GB, free: 72.92 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005159/2.208, allocations: 1.231 MB / 1.009 GB, free: 72.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00565/2.213, allocations: 1.028 MB / 1.01 GB, free: 72.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008533/2.222, allocations: 8.736 MB / 1.019 GB, free: 65.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006159/2.228, allocations: 308.4 kB / 1.019 GB, free: 65.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/2.23, allocations: 227.5 kB / 1.019 GB, free: 65.08 MB / 0.5573 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.0009266/2.23, allocations: 404.4 kB / 1.019 GB, free: 64.73 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008415/2.231, allocations: 276.3 kB / 1.02 GB, free: 64.59 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009033/2.24, allocations: 3.69 MB / 1.023 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.088e-05/2.24, allocations: 26.12 kB / 1.023 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/2.24, allocations: 7.25 kB / 1.023 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/2.241, allocations: 15.45 kB / 1.023 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/2.256, allocations: 7.569 MB / 1.031 GB, free: 58.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/2.256, allocations: 4 kB / 1.031 GB, free: 58.47 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003054/2.259, allocations: 402.8 kB / 1.031 GB, free: 58.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005583/2.265, allocations: 1.365 MB / 1.033 GB, free: 57.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005514/2.266, allocations: 55.52 kB / 1.033 GB, free: 57.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008142/2.274, allocations: 9.456 MB / 1.042 GB, free: 47.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003443/2.277, allocations: 3.84 MB / 1.046 GB, free: 43.69 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01227/2.29, allocations: 5.975 MB / 1.051 GB, free: 38.07 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/2.291, allocations: 401 kB / 1.052 GB, free: 37.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004662/2.292, allocations: 51.56 kB / 1.052 GB, free: 37.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002465/2.294, allocations: 144 kB / 1.052 GB, free: 37.52 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004375/2.294, allocations: 158.5 kB / 1.052 GB, free: 37.42 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/2.295, allocations: 70.52 kB / 1.052 GB, free: 37.36 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002752/2.297, allocations: 1.821 MB / 1.054 GB, free: 35.71 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.7e-07/2.297, allocations: 0 / 1.054 GB, free: 35.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00673/2.304, allocations: 1.279 MB / 1.055 GB, free: 34.44 MB / 0.5573 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.002377/2.307, allocations: 0.6935 MB / 1.056 GB, free: 33.87 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009043/2.316, allocations: 3.901 MB / 1.06 GB, free: 30.22 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/2.316, allocations: 0.875 kB / 1.06 GB, free: 30.22 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005525/2.321, allocations: 1.797 MB / 1.061 GB, free: 28.55 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005256/2.326, allocations: 0.9374 MB / 1.062 GB, free: 27.85 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/2.338, allocations: 5.191 MB / 1.067 GB, free: 23.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001765/2.34, allocations: 2.15 MB / 1.07 GB, free: 21.48 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00407/2.344, allocations: 0.9065 MB / 1.07 GB, free: 20.88 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007016/2.345, allocations: 218.2 kB / 1.071 GB, free: 20.68 MB / 0.5573 GB Notification: Performance of SimCode: time 1.453e-06/2.345, allocations: 0 / 1.071 GB, free: 20.68 MB / 0.5573 GB Notification: Performance of Templates: time 0.5101/2.855, allocations: 65.72 MB / 1.135 GB, free: 103.7 MB / 0.5573 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)