Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.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.TestWaterFlow1DFV_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_D",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.001283/0.001283, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.745/1.745, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0009913/0.0009911, allocations: 96.08 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5515/0.5515, allocations: 48.78 MB / 367.9 MB, free: 47.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004668, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1656, allocations: 60.25 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.66/8.826, allocations: 2.96 GB / 3.447 GB, free: 109 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/8.826, allocations: 86.48 kB / 3.447 GB, free: 109 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.01/9.837, allocations: 294.5 MB / 3.735 GB, free: 75.45 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.645e-06/9.837, allocations: 0 / 3.735 GB, free: 75.45 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.038e-05/9.837, allocations: 21.34 kB / 3.735 GB, free: 75.44 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.008382/9.845, allocations: 1.774 MB / 3.737 GB, free: 74.53 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.76e-05/9.845, allocations: 11.81 kB / 3.737 GB, free: 74.53 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002497/9.845, allocations: 141 kB / 3.737 GB, free: 74.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/9.847, allocations: 254.4 kB / 3.737 GB, free: 74.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/9.849, allocations: 0.6865 MB / 3.738 GB, free: 74.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.364e-05/9.849, allocations: 69.33 kB / 3.738 GB, free: 74.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/9.849, allocations: 94.67 kB / 3.738 GB, free: 74.15 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004703/9.854, allocations: 2.232 MB / 3.74 GB, free: 73.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.556e-05/9.854, allocations: 0 / 3.74 GB, free: 73.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.959e-05/9.854, allocations: 35.06 kB / 3.74 GB, free: 73.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.65e-05/9.854, allocations: 41.28 kB / 3.74 GB, free: 73.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004531/9.858, allocations: 2.167 MB / 3.742 GB, free: 73.94 MB / 0.5105 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.005701/9.864, allocations: 5.036 MB / 3.747 GB, free: 70.97 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003337/9.867, allocations: 1.363 MB / 3.749 GB, free: 70.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1128/9.98, allocations: 63.73 MB / 3.811 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.489e-05/9.98, allocations: 43.02 kB / 3.811 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=67): time 3.487e-06/9.98, allocations: 3.938 kB / 3.811 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.01019/9.991, allocations: 2.821 MB / 3.814 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/9.991, allocations: 63.97 kB / 3.814 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000772/9.991, allocations: 437.2 kB / 3.814 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002096/9.992, allocations: 40.52 kB / 3.814 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/9.992, allocations: 381.2 kB / 3.815 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000421/9.992, allocations: 244.9 kB / 3.815 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/9.993, allocations: 14.06 kB / 3.815 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001884/9.993, allocations: 374.1 kB / 3.815 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/9.994, allocations: 0.6171 MB / 3.816 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/9.995, allocations: 0.7656 MB / 3.816 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/9.996, allocations: 0.6542 MB / 3.817 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/9.996, allocations: 3.469 kB / 3.817 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.004063/10, allocations: 2.227 MB / 3.819 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002775/10, allocations: 0.9702 MB / 3.82 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/10, allocations: 4 kB / 3.82 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003617/10, allocations: 1.694 MB / 3.822 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/10, allocations: 95.2 kB / 3.822 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003882/10.01, allocations: 2.372 MB / 3.824 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/10.01, allocations: 135 kB / 3.824 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/10.01, allocations: 87.09 kB / 3.825 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/10.01, allocations: 4 kB / 3.825 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004389/10.01, allocations: 2.134 MB / 3.827 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/10.01, allocations: 4 kB / 3.827 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004217/10.02, allocations: 1.696 MB / 3.828 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/10.02, allocations: 89.39 kB / 3.828 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004563/10.02, allocations: 2.379 MB / 3.831 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/10.03, allocations: 126.6 kB / 3.831 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002547/10.03, allocations: 91.16 kB / 3.831 GB, free: 10.71 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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 {5 37} Notification: Performance of prepare postOptimizeDAE: time 0.001047/10.03, allocations: 365.5 kB / 3.831 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003483/10.03, allocations: 67.2 kB / 3.831 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/10.04, allocations: 9.95 MB / 3.841 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-05/10.04, allocations: 19.98 kB / 3.841 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.342e-05/10.04, allocations: 0 / 3.841 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/10.04, allocations: 3.984 kB / 3.841 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4439/10.48, allocations: 4.604 MB / 3.846 GB, free: 92.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/10.48, allocations: 6.188 kB / 3.846 GB, free: 92.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/10.49, allocations: 157.5 kB / 3.846 GB, free: 92.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002067/10.49, allocations: 417.5 kB / 3.846 GB, free: 92.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/10.49, allocations: 28.36 kB / 3.846 GB, free: 92.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006815/10.49, allocations: 4.274 MB / 3.85 GB, free: 89.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/10.49, allocations: 0 / 3.85 GB, free: 89.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006084/10.5, allocations: 2.563 MB / 3.853 GB, free: 89.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008579/10.5, allocations: 267.3 kB / 3.853 GB, free: 89.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/10.5, allocations: 15.47 kB / 3.853 GB, free: 89.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008737/10.5, allocations: 84.77 kB / 3.853 GB, free: 89.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/10.5, allocations: 50.06 kB / 3.853 GB, free: 89.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/10.5, allocations: 27.28 kB / 3.853 GB, free: 89.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006305/10.5, allocations: 341 kB / 3.854 GB, free: 89.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/10.5, allocations: 0 / 3.854 GB, free: 89.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008299/10.51, allocations: 1.333 MB / 3.855 GB, free: 89.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4]) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01751/10.53, allocations: 4.301 MB / 3.859 GB, free: 88.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006468/10.54, allocations: 2.513 MB / 3.862 GB, free: 88.22 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/10.54, allocations: 0 / 3.862 GB, free: 88.22 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00237/10.54, allocations: 1.092 MB / 3.863 GB, free: 87.97 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/10.54, allocations: 288.5 kB / 3.863 GB, free: 87.97 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02153/10.56, allocations: 9.133 MB / 3.872 GB, free: 84.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/10.56, allocations: 1.141 MB / 3.873 GB, free: 84.15 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001297/10.56, allocations: 381 kB / 3.873 GB, free: 84.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008009/10.57, allocations: 365.2 kB / 3.874 GB, free: 84.14 MB / 0.5261 GB Notification: Performance of SimCode: time 3.938e-06/10.57, allocations: 0 / 3.874 GB, free: 84.14 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.153/10.72, allocations: 70.98 MB / 3.943 GB, free: 81.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/10.72, allocations: 230.6 kB / 3.943 GB, free: 80.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.292/15.01, allocations: 0 / 3.943 GB, free: 80.93 MB / 0.5261 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_D_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_D.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe 2>&1)