Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.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(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009368/0.0009369, allocations: 181.3 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008849/0.000885, allocations: 88.58 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4665/0.4665, allocations: 48.78 MB / 358.8 MB, free: 53.14 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.83e-05/1.834e-05, allocations: 4 kB / 425.3 MB, free: 8.242 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1205, allocations: 60.25 MB / 485.5 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.435/5.555, allocations: 2.786 GB / 3.26 GB, free: 85.82 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001713/5.555, allocations: 75.34 kB / 3.26 GB, free: 85.75 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.193/5.748, allocations: 78.93 MB / 3.337 GB, free: 8.625 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.192e-06/5.748, allocations: 0 / 3.337 GB, free: 8.625 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 2.894e-05/5.748, allocations: 8 kB / 3.337 GB, free: 8.617 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0034/5.752, allocations: 1.108 MB / 3.338 GB, free: 7.465 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/5.752, allocations: 8.031 kB / 3.338 GB, free: 7.457 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002626/5.752, allocations: 75.23 kB / 3.338 GB, free: 7.383 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009112/5.753, allocations: 0.5504 MB / 3.339 GB, free: 6.797 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/5.753, allocations: 12 kB / 3.339 GB, free: 6.785 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/5.753, allocations: 21.38 kB / 3.339 GB, free: 6.766 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005048/5.754, allocations: 361.9 kB / 3.339 GB, free: 6.414 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005846/5.754, allocations: 496.2 kB / 3.339 GB, free: 5.887 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/5.754, allocations: 7.969 kB / 3.339 GB, free: 5.879 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/5.754, allocations: 3.953 kB / 3.339 GB, free: 5.875 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/5.754, allocations: 24.78 kB / 3.339 GB, free: 5.852 MB / 0.5108 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.001693/5.756, allocations: 2.583 MB / 3.342 GB, free: 2.992 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/5.756, allocations: 310.8 kB / 3.342 GB, free: 2.68 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/5.757, allocations: 176.8 kB / 3.342 GB, free: 2.504 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2624/6.019, allocations: 15.19 MB / 3.357 GB, free: 95.61 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/6.019, allocations: 32.94 kB / 3.357 GB, free: 95.57 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=31): time 2.184e-06/6.019, allocations: 0 / 3.357 GB, free: 95.57 MB / 0.5108 GB Notification: Performance of matching and sorting (n=31): time 0.0009186/6.02, allocations: 397.5 kB / 3.358 GB, free: 95.53 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.599e-05/6.02, allocations: 54.5 kB / 3.358 GB, free: 95.47 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/6.02, allocations: 287 kB / 3.358 GB, free: 95.38 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/6.02, allocations: 25.7 kB / 3.358 GB, free: 95.34 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/6.02, allocations: 243.6 kB / 3.358 GB, free: 95.24 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/6.021, allocations: 107.4 kB / 3.358 GB, free: 95.19 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/6.021, allocations: 0 / 3.358 GB, free: 95.19 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 7.338e-05/6.021, allocations: 349.7 kB / 3.359 GB, free: 94.88 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/6.021, allocations: 100.8 kB / 3.359 GB, free: 94.88 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/6.021, allocations: 136.9 kB / 3.359 GB, free: 94.83 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/6.021, allocations: 133.9 kB / 3.359 GB, free: 94.83 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/6.021, allocations: 0 / 3.359 GB, free: 94.83 MB / 0.5108 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000471/6.022, allocations: 325.9 kB / 3.359 GB, free: 94.77 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/6.022, allocations: 12.62 kB / 3.359 GB, free: 94.77 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/6.022, allocations: 0 / 3.359 GB, free: 94.77 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/6.022, allocations: 3.438 kB / 3.359 GB, free: 94.77 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/6.022, allocations: 45.77 kB / 3.359 GB, free: 94.77 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/6.022, allocations: 0 / 3.359 GB, free: 94.77 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/6.022, allocations: 31.25 kB / 3.359 GB, free: 94.77 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/6.022, allocations: 13.94 kB / 3.359 GB, free: 94.77 MB / 0.5108 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 7.261e-05/6.022, allocations: 112.7 kB / 3.36 GB, free: 94.66 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/6.022, allocations: 38.5 kB / 3.36 GB, free: 94.64 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/6.023, allocations: 1.093 MB / 3.361 GB, free: 94.52 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/6.023, allocations: 18.41 kB / 3.361 GB, free: 94.52 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/6.023, allocations: 0 / 3.361 GB, free: 94.52 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/6.023, allocations: 0 / 3.361 GB, free: 94.52 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006091/6.024, allocations: 0.6315 MB / 3.361 GB, free: 94.35 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/6.024, allocations: 0 / 3.361 GB, free: 94.35 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/6.024, allocations: 35.77 kB / 3.361 GB, free: 94.35 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/6.024, allocations: 9.656 kB / 3.361 GB, free: 94.35 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/6.024, allocations: 1.688 kB / 3.361 GB, free: 94.35 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/6.024, allocations: 0 / 3.361 GB, free: 94.35 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/6.024, allocations: 7.703 kB / 3.361 GB, free: 94.35 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006285/6.025, allocations: 0.6636 MB / 3.362 GB, free: 94.16 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/6.025, allocations: 138.4 kB / 3.362 GB, free: 94.04 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/6.025, allocations: 2.875 kB / 3.362 GB, free: 94.04 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/6.025, allocations: 22.31 kB / 3.362 GB, free: 94.04 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/6.025, allocations: 12.92 kB / 3.362 GB, free: 94.04 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/6.025, allocations: 14.05 kB / 3.362 GB, free: 94.04 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0001546/6.025, allocations: 231.2 kB / 3.362 GB, free: 93.95 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.71e-07/6.025, allocations: 0 / 3.362 GB, free: 93.95 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.002331/6.028, allocations: 0.5055 MB / 3.363 GB, free: 93.94 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.001974/6.03, allocations: 0.6181 MB / 3.364 GB, free: 93.85 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.0004497/6.03, allocations: 374.8 kB / 3.364 GB, free: 93.84 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/6.03, allocations: 0 / 3.364 GB, free: 93.84 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/6.03, allocations: 294.8 kB / 3.364 GB, free: 93.84 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006956/6.031, allocations: 115.7 kB / 3.364 GB, free: 93.84 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/6.032, allocations: 0.9491 MB / 3.365 GB, free: 93.61 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/6.033, allocations: 0.9707 MB / 3.366 GB, free: 92.91 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0003248/6.033, allocations: 177 kB / 3.366 GB, free: 92.91 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.204e-05/6.033, allocations: 32.31 kB / 3.366 GB, free: 92.91 MB / 0.5108 GB Notification: Performance of SimCode: time 3.8e-07/6.033, allocations: 0 / 3.366 GB, free: 92.91 MB / 0.5108 GB Notification: Performance of Templates: time 0.02031/6.054, allocations: 14.75 MB / 3.381 GB, free: 92.45 MB / 0.5108 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1)