Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.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.TestFlow1D2phChen_hf,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen_hf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen_hf",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.001671/0.001671, allocations: 175.5 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.634/1.634, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0009163/0.0009161, allocations: 82.66 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2893/0.2893, allocations: 48.78 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 2.944e-05/2.946e-05, allocations: 4 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 60.26 MB / 492.8 MB, free: 4.273 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.689/7.811, allocations: 3.018 GB / 3.499 GB, free: 164.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/7.811, allocations: 83.47 kB / 3.499 GB, free: 164.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.173/8.984, allocations: 341.4 MB / 3.833 GB, free: 56.96 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.685e-06/8.984, allocations: 0 / 3.833 GB, free: 56.96 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001149/8.984, allocations: 39.94 kB / 3.833 GB, free: 56.92 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.04038/9.024, allocations: 7.819 MB / 3.84 GB, free: 49.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.433e-05/9.025, allocations: 8.031 kB / 3.84 GB, free: 49.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004961/9.029, allocations: 292.2 kB / 3.841 GB, free: 49.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02/9.05, allocations: 2.763 MB / 3.843 GB, free: 46.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01411/9.064, allocations: 3.584 MB / 3.847 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004191/9.068, allocations: 1.095 MB / 3.848 GB, free: 42.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004804/9.073, allocations: 194 kB / 3.848 GB, free: 42.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03609/9.109, allocations: 11.19 MB / 3.859 GB, free: 34.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/9.109, allocations: 3.656 kB / 3.859 GB, free: 34.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003949/9.113, allocations: 79.83 kB / 3.859 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.65e-05/9.113, allocations: 40 kB / 3.859 GB, free: 34.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05582/9.169, allocations: 20.33 MB / 3.879 GB, free: 15.49 MB / 0.5105 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.4683/9.637, allocations: 58.72 MB / 3.936 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0168/9.654, allocations: 8.476 MB / 3.945 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01316/9.667, allocations: 6.488 MB / 3.951 GB, free: 40.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2172/9.885, allocations: 120.1 MB / 4.068 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.559e-05/9.885, allocations: 53.19 kB / 4.068 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=212): time 4.629e-06/9.885, allocations: 0 / 4.068 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=213): time 0.5245/10.41, allocations: 27.55 MB / 4.095 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/10.41, allocations: 74.72 kB / 4.095 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/10.41, allocations: 0.5712 MB / 4.096 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.004351/10.41, allocations: 63.23 kB / 4.096 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006503/10.42, allocations: 0.5346 MB / 4.096 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004786/10.42, allocations: 0.7359 MB / 4.097 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002149/10.42, allocations: 46.66 kB / 4.097 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003999/10.42, allocations: 437.8 kB / 4.097 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01277/10.44, allocations: 6.672 MB / 4.104 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01686/10.45, allocations: 7.162 MB / 4.111 GB, free: 113 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2616/10.71, allocations: 85.01 MB / 4.194 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.923e-05/10.71, allocations: 4 kB / 4.194 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=279) (initialization): time 1.092/11.81, allocations: 196.8 MB / 4.386 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000973/11.81, allocations: 4.976 MB / 4.391 GB, free: 94.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/11.81, allocations: 14.91 kB / 4.391 GB, free: 94.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1252/11.93, allocations: 50.24 MB / 4.44 GB, free: 62.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006779/11.94, allocations: 1.45 MB / 4.442 GB, free: 61.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03674/11.98, allocations: 14 MB / 4.455 GB, free: 53.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01548/11.99, allocations: 2.821 MB / 4.458 GB, free: 50.29 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003863/12, allocations: 427.3 kB / 4.458 GB, free: 49.91 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/12, allocations: 7.281 kB / 4.458 GB, free: 49.91 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5272/12.52, allocations: 49.44 MB / 4.507 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.426e-05/12.52, allocations: 15.72 kB / 4.507 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1274/12.65, allocations: 49.96 MB / 4.556 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007107/12.66, allocations: 1.459 MB / 4.557 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02808/12.69, allocations: 13.65 MB / 4.57 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01441/12.7, allocations: 2.822 MB / 4.573 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003595/12.7, allocations: 429.2 kB / 4.573 GB, free: 106.4 MB / 0.5573 GB Warning: The initial conditions are over specified. The following 10 initial equations are redundant, so they are removed from the initialization sytem: $DER.hex.p = 0.0 $DER.hex.htilde[1] = 0.0 $DER.hex.htilde[2] = 0.0 $DER.hex.htilde[3] = 0.0 $DER.hex.htilde[4] = 0.0 $DER.hex.htilde[5] = 0.0 $DER.hex.htilde[6] = 0.0 $DER.hex.htilde[7] = 0.0 $DER.hex.htilde[8] = 0.0 $DER.hex.htilde[9] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 12 (hex.fluidState[10].phase,hex.fluidState[9].phase,hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,hex.dew.phase,hex.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 181 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 87} Notification: Performance of prepare postOptimizeDAE: time 0.003866/12.71, allocations: 262.6 kB / 4.574 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/12.71, allocations: 129.6 kB / 4.574 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04366/12.75, allocations: 32.48 MB / 4.606 GB, free: 93.29 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04415/12.8, allocations: 30.47 MB / 4.635 GB, free: 66.41 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.914e-05/12.8, allocations: 8 kB / 4.635 GB, free: 66.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.353e-05/12.8, allocations: 8.859 kB / 4.635 GB, free: 66.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4194/13.22, allocations: 57.61 MB / 4.692 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.438e-05/13.22, allocations: 1.641 kB / 4.692 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01779/13.23, allocations: 3.526 MB / 4.695 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004748/13.24, allocations: 1.105 MB / 4.696 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003706/13.24, allocations: 291.8 kB / 4.696 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009484/13.25, allocations: 5.959 MB / 4.702 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/13.25, allocations: 0 / 4.702 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04943/13.3, allocations: 20.61 MB / 4.722 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006715/13.31, allocations: 1.818 MB / 4.724 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003743/13.31, allocations: 53.56 kB / 4.724 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0156/13.33, allocations: 2.78 MB / 4.727 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004443/13.33, allocations: 418 kB / 4.727 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004657/13.34, allocations: 283.4 kB / 4.728 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009636/13.34, allocations: 434.2 kB / 4.728 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.01e-07/13.34, allocations: 2.344 kB / 4.728 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02246/13.36, allocations: 3.243 MB / 4.731 GB, free: 108.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9]) * Number of discrete variables: 26 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.066/13.43, allocations: 22.61 MB / 4.753 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.05895/13.49, allocations: 23.2 MB / 4.776 GB, free: 92.06 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/13.49, allocations: 3.969 kB / 4.776 GB, free: 92.06 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01809/13.5, allocations: 8.056 MB / 4.784 GB, free: 88.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005975/13.51, allocations: 446.4 kB / 4.784 GB, free: 88.38 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03524/13.55, allocations: 10.48 MB / 4.794 GB, free: 85.24 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/13.55, allocations: 1.619 MB / 4.796 GB, free: 84.45 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01676/13.56, allocations: 4.013 MB / 4.8 GB, free: 84.34 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009325/13.57, allocations: 1.187 MB / 4.801 GB, free: 83.75 MB / 0.5573 GB Notification: Performance of SimCode: time 1.263e-06/13.57, allocations: 0 / 4.801 GB, free: 83.75 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6789/14.25, allocations: 289.4 MB / 5.084 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/14.25, allocations: 214.2 kB / 5.084 GB, free: 7.859 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.998/24.25, allocations: 0 / 5.084 GB, free: 7.859 MB / 0.5573 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen_hf_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-07 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen_hf.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe 2>&1)