Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.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_A_Fast,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A_Fast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A_Fast",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.001152/0.001152, allocations: 175.1 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.945/1.945, allocations: 205.2 MB / 219.4 MB, free: 14.19 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.00109/0.001089, allocations: 78.73 kB / 267.5 MB, free: 14.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3527/0.3527, allocations: 48.79 MB / 364.3 MB, free: 6.859 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.197e-05/4.198e-05, allocations: 4 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1673, allocations: 60.24 MB / 492.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.427/9.594, allocations: 3.284 GB / 3.766 GB, free: 43.98 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/9.595, allocations: 88.31 kB / 3.766 GB, free: 43.94 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.643/14.24, allocations: 1.341 GB / 5.107 GB, free: 81.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.827e-06/14.24, allocations: 4 kB / 5.107 GB, free: 81.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.668e-05/14.24, allocations: 41.53 kB / 5.107 GB, free: 81.26 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: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.01637/14.25, allocations: 3.995 MB / 5.111 GB, free: 78.01 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/14.25, allocations: 8.031 kB / 5.111 GB, free: 78 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001381/14.26, allocations: 346.8 kB / 5.111 GB, free: 77.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007831/14.26, allocations: 257.8 kB / 5.111 GB, free: 77.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005763/14.26, allocations: 1.581 MB / 5.113 GB, free: 76.15 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/14.26, allocations: 172.6 kB / 5.113 GB, free: 75.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007984/14.26, allocations: 267.5 kB / 5.113 GB, free: 75.72 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00704/14.27, allocations: 3.846 MB / 5.117 GB, free: 72.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.166e-05/14.27, allocations: 0 / 5.117 GB, free: 72.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002674/14.27, allocations: 93.88 kB / 5.117 GB, free: 72.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/14.27, allocations: 140.6 kB / 5.117 GB, free: 72.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007727/14.28, allocations: 5.544 MB / 5.123 GB, free: 67.38 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.02358/14.3, allocations: 15.49 MB / 5.138 GB, free: 53.38 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008421/14.31, allocations: 4.756 MB / 5.143 GB, free: 49 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003217/14.31, allocations: 1.923 MB / 5.144 GB, free: 47.22 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01249/14.33, allocations: 9.978 MB / 5.154 GB, free: 37.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/14.33, allocations: 64.44 kB / 5.154 GB, free: 37.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=235): time 6.141e-06/14.33, allocations: 4 kB / 5.154 GB, free: 37.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=235): time 0.009461/14.34, allocations: 4.882 MB / 5.159 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/14.34, allocations: 81.41 kB / 5.159 GB, free: 32.76 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/14.34, allocations: 0.6991 MB / 5.16 GB, free: 32.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006237/14.34, allocations: 69.7 kB / 5.16 GB, free: 31.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/14.34, allocations: 0.8427 MB / 5.161 GB, free: 31.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008959/14.34, allocations: 0.8416 MB / 5.161 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/14.34, allocations: 56 kB / 5.162 GB, free: 30.24 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001824/14.34, allocations: 464.1 kB / 5.162 GB, free: 29.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/14.34, allocations: 1.36 MB / 5.163 GB, free: 28.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/14.34, allocations: 2.039 MB / 5.165 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/14.35, allocations: 1.696 MB / 5.167 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/14.35, allocations: 5.875 kB / 5.167 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006717/14.35, allocations: 4.413 MB / 5.171 GB, free: 19.85 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001692/14.35, allocations: 7.155 MB / 5.178 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/14.35, allocations: 16 kB / 5.178 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004411/14.36, allocations: 1.26 MB / 5.18 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003052/14.36, allocations: 491.2 kB / 5.18 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008269/14.37, allocations: 11.6 MB / 5.191 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003858/14.37, allocations: 385.3 kB / 5.192 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007608/14.37, allocations: 120 kB / 5.192 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/14.37, allocations: 7.125 kB / 5.192 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008847/14.38, allocations: 4.222 MB / 5.196 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/14.38, allocations: 20 kB / 5.196 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004891/14.39, allocations: 1.26 MB / 5.197 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002705/14.39, allocations: 479.2 kB / 5.198 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4547/14.85, allocations: 11.59 MB / 5.209 GB, free: 89.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003595/14.85, allocations: 347.8 kB / 5.209 GB, free: 89.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003147/14.85, allocations: 120.7 kB / 5.209 GB, free: 89.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 263 * 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: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 19 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000825/14.85, allocations: 259 kB / 5.21 GB, free: 89.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004492/14.85, allocations: 144.9 kB / 5.21 GB, free: 89.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/14.86, allocations: 5.469 MB / 5.215 GB, free: 88.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.512e-05/14.86, allocations: 27.22 kB / 5.215 GB, free: 88.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-05/14.86, allocations: 15.22 kB / 5.215 GB, free: 88.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.559e-05/14.86, allocations: 11.2 kB / 5.215 GB, free: 88.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005793/14.87, allocations: 2.512 MB / 5.218 GB, free: 88.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/14.87, allocations: 1.875 kB / 5.218 GB, free: 88.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/14.87, allocations: 338.2 kB / 5.218 GB, free: 88.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01001/14.88, allocations: 2.681 MB / 5.221 GB, free: 88.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006989/14.88, allocations: 93.75 kB / 5.221 GB, free: 88.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02498/14.91, allocations: 11.78 MB / 5.232 GB, free: 87.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/14.91, allocations: 0 / 5.232 GB, free: 87.19 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/14.92, allocations: 7.093 MB / 5.239 GB, free: 86.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/14.92, allocations: 0.5649 MB / 5.24 GB, free: 86.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/14.92, allocations: 70.94 kB / 5.24 GB, free: 86.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/14.92, allocations: 191 kB / 5.24 GB, free: 86.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006918/14.92, allocations: 184.2 kB / 5.24 GB, free: 86.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002129/14.93, allocations: 87.84 kB / 5.24 GB, free: 86.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000712/14.93, allocations: 0.5141 MB / 5.241 GB, free: 86.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/14.93, allocations: 0 / 5.241 GB, free: 86.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005952/14.93, allocations: 1.616 MB / 5.242 GB, free: 86.32 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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],hex.htilde[10],hex.htilde[11],hex.htilde[12],hex.htilde[13],hex.htilde[14],hex.htilde[15],hex.htilde[16],hex.htilde[17],hex.htilde[18],hex.htilde[19]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 179 * 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: 1 {(19,57.6%) 39} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01295/14.94, allocations: 7.881 MB / 5.25 GB, free: 85.42 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01764/14.96, allocations: 6.908 MB / 5.257 GB, free: 85.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/14.96, allocations: 0 / 5.257 GB, free: 85.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006297/14.97, allocations: 2.645 MB / 5.259 GB, free: 85.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004573/14.97, allocations: 0.8714 MB / 5.26 GB, free: 85.08 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/14.98, allocations: 5.714 MB / 5.266 GB, free: 83.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/14.99, allocations: 1.687 MB / 5.267 GB, free: 82.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003871/14.99, allocations: 1.333 MB / 5.269 GB, free: 82.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/14.99, allocations: 0.767 MB / 5.269 GB, free: 82.04 MB / 0.5261 GB Notification: Performance of SimCode: time 1.282e-06/14.99, allocations: 0 / 5.269 GB, free: 82.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1136/15.1, allocations: 73.94 MB / 5.342 GB, free: 58.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/15.1, allocations: 206.5 kB / 5.342 GB, free: 58.26 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.699/19.8, allocations: 4 kB / 5.342 GB, free: 58.25 MB / 0.5261 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A_Fast_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A_Fast.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast.pipe 2>&1)