Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestRefrigerantEvaporator.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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestRefrigerantEvaporator,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestRefrigerantEvaporator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestRefrigerantEvaporator,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestRefrigerantEvaporator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002053/0.002053, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.644/1.644, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001084/0.001084, allocations: 86.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.326/0.326, allocations: 48.78 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.299e-05/3.308e-05, allocations: 0 / 432.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1384, allocations: 60.25 MB / 492.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 21.68/21.82, allocations: 9.51 GB / 9.991 GB, free: 71.34 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/21.82, allocations: 83.8 kB / 9.991 GB, free: 71.26 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 14.88/36.7, allocations: 3.616 GB / 13.61 GB, free: 41.87 MB / 0.7609 GB Notification: Performance of FrontEnd: time 3.146e-06/36.7, allocations: 0 / 13.61 GB, free: 41.87 MB / 0.7609 GB Notification: Performance of Transformations before backend: time 0.0003314/36.7, allocations: 115.9 kB / 13.61 GB, free: 41.75 MB / 0.7609 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1457 * Number of variables: 1457 Notification: Performance of Generate backend data structure: time 0.1213/36.83, allocations: 11.56 MB / 13.62 GB, free: 30.48 MB / 0.7609 GB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/36.83, allocations: 12.03 kB / 13.62 GB, free: 30.46 MB / 0.7609 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009195/36.83, allocations: 0.8315 MB / 13.62 GB, free: 29.62 MB / 0.7609 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02058/36.86, allocations: 2.487 MB / 13.62 GB, free: 27.13 MB / 0.7609 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02511/36.88, allocations: 5.076 MB / 13.63 GB, free: 21.99 MB / 0.7609 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.008686/36.89, allocations: 2.193 MB / 13.63 GB, free: 19.69 MB / 0.7609 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01019/36.9, allocations: 0.5426 MB / 13.63 GB, free: 19.14 MB / 0.7609 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0701/36.97, allocations: 16.36 MB / 13.65 GB, free: 2.676 MB / 0.7609 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004882/36.97, allocations: 0 / 13.65 GB, free: 2.676 MB / 0.7609 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009158/36.98, allocations: 224 kB / 13.65 GB, free: 2.457 MB / 0.7609 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004631/36.98, allocations: 338.8 kB / 13.65 GB, free: 2.125 MB / 0.7609 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07208/37.05, allocations: 23.5 MB / 13.67 GB, free: 10.61 MB / 0.7921 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.9211/37.97, allocations: 80.27 MB / 13.75 GB, free: 67.54 MB / 0.7921 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02962/38, allocations: 11.43 MB / 13.76 GB, free: 67.48 MB / 0.7921 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02728/38.03, allocations: 9.951 MB / 13.77 GB, free: 67.41 MB / 0.7921 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008589/38.04, allocations: 5.862 MB / 13.77 GB, free: 62.06 MB / 0.7921 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/38.04, allocations: 105.8 kB / 13.77 GB, free: 62.02 MB / 0.7921 GB Notification: Performance of pre-optimization done (n=533): time 1.544e-05/38.04, allocations: 2.469 kB / 13.77 GB, free: 62.02 MB / 0.7921 GB Notification: Performance of matching and sorting (n=534): time 0.1142/38.15, allocations: 31.61 MB / 13.81 GB, free: 53.41 MB / 0.7921 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/38.15, allocations: 125.4 kB / 13.81 GB, free: 53.31 MB / 0.7921 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004775/38.16, allocations: 1.658 MB / 13.81 GB, free: 52.7 MB / 0.7921 GB Notification: Performance of collectPreVariables (initialization): time 0.005375/38.16, allocations: 130.1 kB / 13.81 GB, free: 52.6 MB / 0.7921 GB Notification: Performance of collectInitialEqns (initialization): time 0.001467/38.17, allocations: 1.585 MB / 13.81 GB, free: 51.63 MB / 0.7921 GB Notification: Performance of collectInitialBindings (initialization): time 0.006459/38.17, allocations: 1.822 MB / 13.81 GB, free: 50.46 MB / 0.7921 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004589/38.18, allocations: 94.53 kB / 13.81 GB, free: 50.39 MB / 0.7921 GB Notification: Performance of setup shared object (initialization): time 0.0006494/38.18, allocations: 0.4978 MB / 13.81 GB, free: 50 MB / 0.7921 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01762/38.19, allocations: 8.661 MB / 13.82 GB, free: 46.65 MB / 0.7921 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01774/38.21, allocations: 9.264 MB / 13.83 GB, free: 42.74 MB / 0.7921 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01676/38.23, allocations: 6.526 MB / 13.83 GB, free: 40.25 MB / 0.7921 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.45e-05/38.23, allocations: 3.875 kB / 13.83 GB, free: 40.25 MB / 0.7921 GB Notification: Performance of matching and sorting (n=629) (initialization): time 0.1859/38.41, allocations: 51.71 MB / 13.89 GB, free: 31.8 MB / 0.7921 GB Notification: Performance of prepare postOptimizeDAE: time 0.001325/38.42, allocations: 3.267 MB / 13.89 GB, free: 28.3 MB / 0.7921 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-05/38.42, allocations: 19.06 kB / 13.89 GB, free: 28.3 MB / 0.7921 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2651/38.68, allocations: 65.95 MB / 13.95 GB, free: 12 MB / 0.8078 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008954/38.69, allocations: 1.501 MB / 13.95 GB, free: 10.57 MB / 0.8078 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7768/39.47, allocations: 27.58 MB / 13.98 GB, free: 136.1 MB / 0.8234 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02422/39.49, allocations: 3.881 MB / 13.99 GB, free: 136.1 MB / 0.8234 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005285/39.5, allocations: 419.5 kB / 13.99 GB, free: 136.1 MB / 0.8234 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/39.5, allocations: 3.188 kB / 13.99 GB, free: 136.1 MB / 0.8234 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1194/39.62, allocations: 33.96 MB / 14.02 GB, free: 135.9 MB / 0.8234 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/39.62, allocations: 9.562 kB / 14.02 GB, free: 135.9 MB / 0.8234 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1959/39.81, allocations: 51.93 MB / 14.07 GB, free: 135.8 MB / 0.8234 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009044/39.82, allocations: 1.525 MB / 14.07 GB, free: 135.8 MB / 0.8234 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07411/39.9, allocations: 26.16 MB / 14.1 GB, free: 133.4 MB / 0.8234 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02229/39.92, allocations: 3.868 MB / 14.1 GB, free: 133.4 MB / 0.8234 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005397/39.92, allocations: 415.7 kB / 14.1 GB, free: 133.4 MB / 0.8234 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 12 (fluid_T_in.fluidState.phase,fluid_T_out.fluidState.phase,fluidFlow.fluidState[1].phase,fluidFlow.fluidState[2].phase,fluidFlow.fluidState[3].phase,fluidFlow.fluidState[4].phase,fluidFlow.fluidState[5].phase,fluidFlow.fluidState[6].phase,fluidFlow.fluidState[7].phase,fluidFlow.fluidState[8].phase,fluidFlow.fluidState[9].phase,fluidFlow.fluidState[10].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {67 239} Notification: Performance of prepare postOptimizeDAE: time 0.009895/39.93, allocations: 343.7 kB / 14.1 GB, free: 133.3 MB / 0.8234 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005668/39.94, allocations: 342.5 kB / 14.1 GB, free: 133.3 MB / 0.8234 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05803/40, allocations: 19.71 MB / 14.12 GB, free: 129.3 MB / 0.8234 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04842/40.05, allocations: 17.24 MB / 14.14 GB, free: 123.1 MB / 0.8234 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.624e-05/40.05, allocations: 9.375 kB / 14.14 GB, free: 123.1 MB / 0.8234 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002605/40.05, allocations: 35.73 kB / 14.14 GB, free: 123.1 MB / 0.8234 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1141/40.16, allocations: 45.45 MB / 14.18 GB, free: 96.34 MB / 0.8234 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.893e-05/40.16, allocations: 4 kB / 14.18 GB, free: 96.34 MB / 0.8234 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02252/40.18, allocations: 4.544 MB / 14.19 GB, free: 93.32 MB / 0.8234 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005887/40.19, allocations: 2.098 MB / 14.19 GB, free: 91.81 MB / 0.8234 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006551/40.2, allocations: 473.5 kB / 14.19 GB, free: 91.58 MB / 0.8234 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02621/40.22, allocations: 32.32 MB / 14.22 GB, free: 59.3 MB / 0.8234 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/40.22, allocations: 0 / 14.22 GB, free: 59.3 MB / 0.8234 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06672/40.29, allocations: 25.83 MB / 14.25 GB, free: 35.69 MB / 0.8234 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01131/40.3, allocations: 2.387 MB / 14.25 GB, free: 33.29 MB / 0.8234 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005451/40.31, allocations: 183.9 kB / 14.25 GB, free: 33.11 MB / 0.8234 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02266/40.33, allocations: 3.701 MB / 14.25 GB, free: 29.63 MB / 0.8234 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004822/40.33, allocations: 0.6734 MB / 14.25 GB, free: 28.96 MB / 0.8234 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004667/40.34, allocations: 487 kB / 14.25 GB, free: 28.48 MB / 0.8234 GB Notification: Performance of sorting global known variables: time 0.002643/40.34, allocations: 1.286 MB / 14.25 GB, free: 27.21 MB / 0.8234 GB Notification: Performance of sort global known variables: time 2.91e-07/40.34, allocations: 0 / 14.25 GB, free: 27.21 MB / 0.8234 GB Notification: Performance of remove unused functions: time 0.05215/40.39, allocations: 5.247 MB / 14.26 GB, free: 22.23 MB / 0.8234 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 31 (gasFlow.Ttilde[1],gasFlow.Ttilde[2],gasFlow.Ttilde[3],gasFlow.Ttilde[4],gasFlow.Ttilde[5],gasFlow.Ttilde[6],gasFlow.Ttilde[7],gasFlow.Ttilde[8],gasFlow.Ttilde[9],gasFlow.Xtilde[1,1],gasFlow.Xtilde[1,2],gasFlow.Xtilde[1,3],gasFlow.Xtilde[1,4],fluidFlow.htilde[1],fluidFlow.htilde[2],fluidFlow.htilde[3],fluidFlow.htilde[4],fluidFlow.htilde[5],fluidFlow.htilde[6],fluidFlow.htilde[7],fluidFlow.htilde[8],fluidFlow.htilde[9],tubeWall.Tvol[1],tubeWall.Tvol[2],tubeWall.Tvol[3],tubeWall.Tvol[4],tubeWall.Tvol[5],tubeWall.Tvol[6],tubeWall.Tvol[7],tubeWall.Tvol[8],tubeWall.Tvol[9]) * Number of discrete variables: 23 (fluid_T_in.fluidState.phase,fluid_T_out.fluidState.phase,fluidFlow.fluidState[2].phase,fluidFlow.fluidState[3].phase,fluidFlow.fluidState[4].phase,fluidFlow.fluidState[5].phase,fluidFlow.fluidState[6].phase,fluidFlow.fluidState[7].phase,fluidFlow.fluidState[8].phase,fluidFlow.fluidState[9].phase,fluidFlow.fluidState[10].phase,$cse1.phase,$cse2.phase,$cse8.phase,$cse9.phase,$cse10.phase,$cse11.phase,$cse12.phase,$cse13.phase,$cse14.phase,$cse15.phase,$cse16.phase,fluidFlow.fluidState[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (513): * Single equations (assignments): 480 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.9213/41.31, allocations: 53.14 MB / 14.31 GB, free: 146.2 MB / 0.839 GB Notification: Performance of simCode: created initialization part: time 0.1142/41.43, allocations: 38.15 MB / 14.35 GB, free: 144.6 MB / 0.839 GB Notification: Performance of simCode: created event and clocks part: time 2.436e-05/41.43, allocations: 9.359 kB / 14.35 GB, free: 144.6 MB / 0.839 GB Notification: Performance of simCode: created simulation system equations: time 0.02641/41.45, allocations: 11.46 MB / 14.36 GB, free: 142.6 MB / 0.839 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01681/41.47, allocations: 2.005 MB / 14.36 GB, free: 142.6 MB / 0.839 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09403/41.57, allocations: 19.82 MB / 14.38 GB, free: 140.5 MB / 0.839 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005671/41.57, allocations: 3.274 MB / 14.38 GB, free: 139.7 MB / 0.839 GB Notification: Performance of simCode: alias equations: time 0.02128/41.59, allocations: 3.144 MB / 14.39 GB, free: 139.5 MB / 0.839 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01494/41.61, allocations: 2.553 MB / 14.39 GB, free: 139.5 MB / 0.839 GB Notification: Performance of SimCode: time 1.793e-06/41.61, allocations: 0 / 14.39 GB, free: 139.5 MB / 0.839 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.243/42.85, allocations: 432.4 MB / 14.81 GB, free: 79.99 MB / 0.839 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/42.85, allocations: 199.6 kB / 14.81 GB, free: 79.77 MB / 0.839 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/56.81, allocations: 0 / 14.81 GB, free: 79.77 MB / 0.839 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestRefrigerantEvaporator.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestRefrigerantEvaporator.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestRefrigerantEvaporator.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestRefrigerantEvaporator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestRefrigerantEvaporator_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestRefrigerantEvaporator.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestRefrigerantEvaporator.pipe 2>&1)