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.001269/0.001269, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.589/1.589, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001006/0.001006, allocations: 93.92 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.524/0.524, allocations: 48.78 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003321, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.142, allocations: 60.24 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.61/20.76, allocations: 9.51 GB / 9.997 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/20.76, allocations: 86.83 kB / 9.997 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 12.33/33.09, allocations: 3.618 GB / 13.61 GB, free: 74.27 MB / 0.7609 GB Notification: Performance of FrontEnd: time 2.755e-06/33.09, allocations: 0 / 13.61 GB, free: 74.27 MB / 0.7609 GB Notification: Performance of Transformations before backend: time 0.0002928/33.09, allocations: 110.3 kB / 13.61 GB, free: 74.27 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.102/33.19, allocations: 11.82 MB / 13.63 GB, free: 72.34 MB / 0.7609 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/33.19, allocations: 18.7 kB / 13.63 GB, free: 72.33 MB / 0.7609 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007171/33.2, allocations: 0.8475 MB / 13.63 GB, free: 72.26 MB / 0.7609 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01925/33.22, allocations: 2.515 MB / 13.63 GB, free: 71.99 MB / 0.7609 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02121/33.24, allocations: 5.071 MB / 13.63 GB, free: 71.55 MB / 0.7609 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006625/33.24, allocations: 2.199 MB / 13.64 GB, free: 70.88 MB / 0.7609 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007217/33.25, allocations: 0.5494 MB / 13.64 GB, free: 70.69 MB / 0.7609 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07031/33.32, allocations: 22.75 MB / 13.66 GB, free: 64.89 MB / 0.7609 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003096/33.32, allocations: 0 / 13.66 GB, free: 64.89 MB / 0.7609 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006743/33.33, allocations: 221.7 kB / 13.66 GB, free: 64.73 MB / 0.7609 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004231/33.33, allocations: 345.7 kB / 13.66 GB, free: 64.69 MB / 0.7609 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09744/33.43, allocations: 36.23 MB / 13.7 GB, free: 56.64 MB / 0.7609 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.1573/33.58, allocations: 80.46 MB / 13.77 GB, free: 6.016 MB / 0.7765 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04387/33.63, allocations: 17.71 MB / 13.79 GB, free: 4.695 MB / 0.7921 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00806/33.64, allocations: 5.868 MB / 13.8 GB, free: 13.82 MB / 0.8078 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/33.64, allocations: 103.4 kB / 13.8 GB, free: 13.71 MB / 0.8078 GB Notification: Performance of pre-optimization done (n=533): time 7.013e-06/33.64, allocations: 0 / 13.8 GB, free: 13.71 MB / 0.8078 GB Notification: Performance of matching and sorting (n=534): time 0.7996/34.44, allocations: 75.12 MB / 13.87 GB, free: 117 MB / 0.8078 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/34.44, allocations: 129 kB / 13.87 GB, free: 116.9 MB / 0.8078 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003723/34.44, allocations: 1.682 MB / 13.87 GB, free: 116.8 MB / 0.8078 GB Notification: Performance of collectPreVariables (initialization): time 0.004551/34.45, allocations: 127.1 kB / 13.87 GB, free: 116.7 MB / 0.8078 GB Notification: Performance of collectInitialEqns (initialization): time 0.001538/34.45, allocations: 1.584 MB / 13.87 GB, free: 116.2 MB / 0.8078 GB Notification: Performance of collectInitialBindings (initialization): time 0.006301/34.45, allocations: 1.821 MB / 13.88 GB, free: 115.3 MB / 0.8078 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004319/34.46, allocations: 94.16 kB / 13.88 GB, free: 115.3 MB / 0.8078 GB Notification: Performance of setup shared object (initialization): time 0.0006218/34.46, allocations: 0.5001 MB / 13.88 GB, free: 115 MB / 0.8078 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03593/34.49, allocations: 14.9 MB / 13.89 GB, free: 114.9 MB / 0.8078 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03711/34.53, allocations: 15.51 MB / 13.91 GB, free: 113.9 MB / 0.8078 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03372/34.56, allocations: 12.71 MB / 13.92 GB, free: 111 MB / 0.8078 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-05/34.57, allocations: 7.281 kB / 13.92 GB, free: 111 MB / 0.8078 GB Notification: Performance of matching and sorting (n=629) (initialization): time 0.231/34.8, allocations: 68.71 MB / 13.99 GB, free: 102.2 MB / 0.8078 GB Notification: Performance of prepare postOptimizeDAE: time 0.001186/34.8, allocations: 3.271 MB / 13.99 GB, free: 98.7 MB / 0.8078 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.202e-05/34.8, allocations: 11.25 kB / 13.99 GB, free: 98.7 MB / 0.8078 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3/35.1, allocations: 75.34 MB / 14.06 GB, free: 41.65 MB / 0.8078 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008438/35.11, allocations: 1.491 MB / 14.06 GB, free: 40.19 MB / 0.8078 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1154/35.22, allocations: 41.17 MB / 14.1 GB, free: 14.86 MB / 0.8234 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02387/35.25, allocations: 3.88 MB / 14.11 GB, free: 10.99 MB / 0.8234 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005802/35.25, allocations: 419.2 kB / 14.11 GB, free: 10.58 MB / 0.8234 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/35.25, allocations: 4 kB / 14.11 GB, free: 10.57 MB / 0.8234 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7019/35.95, allocations: 50.94 MB / 14.16 GB, free: 136.5 MB / 0.8234 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.425e-05/35.95, allocations: 10.94 kB / 14.16 GB, free: 136.5 MB / 0.8234 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2154/36.17, allocations: 61.47 MB / 14.22 GB, free: 136.2 MB / 0.8234 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0093/36.18, allocations: 1.523 MB / 14.22 GB, free: 136.2 MB / 0.8234 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1107/36.29, allocations: 39.73 MB / 14.26 GB, free: 133.9 MB / 0.8234 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02153/36.31, allocations: 3.864 MB / 14.26 GB, free: 133.9 MB / 0.8234 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004801/36.32, allocations: 419.8 kB / 14.26 GB, free: 133.9 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 () * Number of clocked 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.01171/36.33, allocations: 1.465 MB / 14.26 GB, free: 133.5 MB / 0.8234 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006745/36.33, allocations: 348.5 kB / 14.26 GB, free: 133.5 MB / 0.8234 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09163/36.43, allocations: 32.22 MB / 14.3 GB, free: 120.6 MB / 0.8234 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08295/36.51, allocations: 29.7 MB / 14.32 GB, free: 94.77 MB / 0.8234 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001041/36.51, allocations: 8 kB / 14.32 GB, free: 94.77 MB / 0.8234 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002806/36.51, allocations: 23.91 kB / 14.32 GB, free: 94.74 MB / 0.8234 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1454/36.65, allocations: 57.87 MB / 14.38 GB, free: 35.84 MB / 0.8234 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.1e-05/36.65, allocations: 3.938 kB / 14.38 GB, free: 35.83 MB / 0.8234 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02175/36.68, allocations: 4.554 MB / 14.39 GB, free: 31.32 MB / 0.8234 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005649/36.68, allocations: 2.094 MB / 14.39 GB, free: 29.2 MB / 0.8234 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004289/36.69, allocations: 467.1 kB / 14.39 GB, free: 28.74 MB / 0.8234 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5871/37.27, allocations: 32.65 MB / 14.42 GB, free: 124.4 MB / 0.8234 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/37.27, allocations: 2.656 kB / 14.42 GB, free: 124.4 MB / 0.8234 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1092/37.38, allocations: 44.36 MB / 14.46 GB, free: 123.6 MB / 0.8234 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008638/37.39, allocations: 2.38 MB / 14.47 GB, free: 123.6 MB / 0.8234 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004139/37.4, allocations: 180.5 kB / 14.47 GB, free: 123.6 MB / 0.8234 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01982/37.42, allocations: 3.707 MB / 14.47 GB, free: 123.6 MB / 0.8234 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003611/37.42, allocations: 0.6697 MB / 14.47 GB, free: 123.5 MB / 0.8234 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003612/37.42, allocations: 490.9 kB / 14.47 GB, free: 123.5 MB / 0.8234 GB Notification: Performance of sorting global known variables: time 0.002201/37.42, allocations: 1.309 MB / 14.47 GB, free: 123.4 MB / 0.8234 GB Notification: Performance of sort global known variables: time 2.3e-07/37.42, allocations: 0 / 14.47 GB, free: 123.4 MB / 0.8234 GB Notification: Performance of remove unused functions: time 0.03697/37.46, allocations: 5.245 MB / 14.48 GB, free: 123.4 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 () * Number of clocked 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.2574/37.72, allocations: 71.67 MB / 14.55 GB, free: 108 MB / 0.8234 GB Notification: Performance of simCode: created initialization part: time 0.1448/37.86, allocations: 56.78 MB / 14.6 GB, free: 95.72 MB / 0.8234 GB Notification: Performance of simCode: created event and clocks part: time 1.788e-05/37.86, allocations: 7.203 kB / 14.6 GB, free: 95.72 MB / 0.8234 GB Notification: Performance of simCode: created simulation system equations: time 0.03587/37.9, allocations: 17.66 MB / 14.62 GB, free: 83.55 MB / 0.8234 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0114/37.91, allocations: 2.002 MB / 14.62 GB, free: 82.19 MB / 0.8234 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.961/38.87, allocations: 143.5 MB / 14.76 GB, free: 129.9 MB / 0.839 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004962/38.88, allocations: 3.261 MB / 14.76 GB, free: 129.1 MB / 0.839 GB Notification: Performance of simCode: alias equations: time 0.02535/38.9, allocations: 2.841 MB / 14.77 GB, free: 129.1 MB / 0.839 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01534/38.92, allocations: 2.581 MB / 14.77 GB, free: 129.1 MB / 0.839 GB Notification: Performance of SimCode: time 1.633e-06/38.92, allocations: 0 / 14.77 GB, free: 129.1 MB / 0.839 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.062/39.98, allocations: 425.4 MB / 15.19 GB, free: 119.8 MB / 0.8546 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/39.98, allocations: 237.5 kB / 15.19 GB, free: 119.5 MB / 0.8546 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/55.29, allocations: 0 / 15.19 GB, free: 119.5 MB / 0.8546 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)