Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.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.TestFlow1D2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB",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.001238/0.001238, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00081/0.00081, allocations: 86.84 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4388/0.4388, allocations: 48.78 MB / 358.8 MB, free: 53.12 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 2.065e-05/2.067e-05, allocations: 4.219 kB / 425.4 MB, free: 8.129 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 60.25 MB / 485.6 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.099/7.208, allocations: 2.971 GB / 3.446 GB, free: 92.8 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/7.208, allocations: 79.91 kB / 3.446 GB, free: 92.73 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.387/8.595, allocations: 316.1 MB / 3.754 GB, free: 50.71 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.785e-06/8.596, allocations: 3.891 kB / 3.754 GB, free: 50.71 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 8.682e-05/8.596, allocations: 39.5 kB / 3.754 GB, free: 50.7 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.03042/8.626, allocations: 6.672 MB / 3.761 GB, free: 49.8 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/8.626, allocations: 9.75 kB / 3.761 GB, free: 49.8 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006589/8.633, allocations: 0.7212 MB / 3.762 GB, free: 49.71 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/8.643, allocations: 2.818 MB / 3.764 GB, free: 49.4 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002463/8.645, allocations: 0.7803 MB / 3.765 GB, free: 49.2 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001893/8.647, allocations: 114.6 kB / 3.765 GB, free: 49.2 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02107/8.668, allocations: 11.3 MB / 3.776 GB, free: 49.2 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01944/8.688, allocations: 6.38 MB / 3.783 GB, free: 48.99 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/8.688, allocations: 1.406 kB / 3.783 GB, free: 48.99 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002819/8.691, allocations: 1.5 kB / 3.783 GB, free: 48.99 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.84e-05/8.691, allocations: 44.39 kB / 3.783 GB, free: 48.99 MB / 0.5108 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.06977/8.761, allocations: 30.09 MB / 3.812 GB, free: 34.07 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01399/8.775, allocations: 6.146 MB / 3.818 GB, free: 34.01 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007572/8.782, allocations: 4.485 MB / 3.822 GB, free: 34 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2377/9.02, allocations: 124.5 MB / 3.944 GB, free: 20.98 MB / 0.5733 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.995e-05/9.02, allocations: 60.75 kB / 3.944 GB, free: 20.93 MB / 0.5733 GB Notification: Performance of pre-optimization done (n=245): time 4.679e-06/9.02, allocations: 0 / 3.944 GB, free: 20.93 MB / 0.5733 GB Notification: Performance of matching and sorting (n=246): time 0.05907/9.079, allocations: 19.26 MB / 3.963 GB, free: 6.273 MB / 0.5733 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.874e-05/9.08, allocations: 103.1 kB / 3.963 GB, free: 6.152 MB / 0.5733 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008724/9.08, allocations: 450 kB / 3.963 GB, free: 5.746 MB / 0.5733 GB Notification: Performance of collectPreVariables (initialization): time 0.00225/9.083, allocations: 25.7 kB / 3.963 GB, free: 5.715 MB / 0.5733 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004071/9.083, allocations: 499.6 kB / 3.964 GB, free: 5.27 MB / 0.5733 GB Notification: Performance of collectInitialBindings (initialization): time 0.002973/9.086, allocations: 0.8075 MB / 3.965 GB, free: 4.523 MB / 0.5733 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001954/9.088, allocations: 4 kB / 3.965 GB, free: 4.52 MB / 0.5733 GB Notification: Performance of setup shared object (initialization): time 0.0003806/9.088, allocations: 443.4 kB / 3.965 GB, free: 4.117 MB / 0.5733 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008598/9.097, allocations: 4.656 MB / 3.97 GB, free: 0 / 0.5733 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4004/9.498, allocations: 4.918 MB / 3.974 GB, free: 112.2 MB / 0.5733 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01396/9.512, allocations: 4.255 MB / 3.979 GB, free: 112.2 MB / 0.5733 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.764e-05/9.512, allocations: 2.344 kB / 3.979 GB, free: 112.2 MB / 0.5733 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.05207/9.564, allocations: 19.36 MB / 3.997 GB, free: 112 MB / 0.5733 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003888/9.564, allocations: 1.489 MB / 3.999 GB, free: 110.5 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/9.564, allocations: 3.812 kB / 3.999 GB, free: 110.5 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1183/9.682, allocations: 42.22 MB / 4.04 GB, free: 110.1 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/9.684, allocations: 187.1 kB / 4.04 GB, free: 110.1 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03736/9.721, allocations: 17.71 MB / 4.058 GB, free: 109.5 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01147/9.732, allocations: 2.111 MB / 4.06 GB, free: 109.4 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002023/9.735, allocations: 302.5 kB / 4.06 GB, free: 109.4 MB / 0.5733 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/9.735, allocations: 3.562 kB / 4.06 GB, free: 109.4 MB / 0.5733 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04737/9.782, allocations: 18.98 MB / 4.079 GB, free: 105.5 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-05/9.782, allocations: 3.938 kB / 4.079 GB, free: 105.5 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1084/9.89, allocations: 41.79 MB / 4.119 GB, free: 86.25 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/9.892, allocations: 204.7 kB / 4.12 GB, free: 86.1 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03296/9.925, allocations: 17.18 MB / 4.136 GB, free: 71.62 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01149/9.936, allocations: 2.117 MB / 4.138 GB, free: 70.11 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001952/9.938, allocations: 294.5 kB / 4.139 GB, free: 69.95 MB / 0.5733 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: htFluid.fluidside.phi[4]:VARIABLE(flow=true unit = "W/m2" ) "Heat flux at the nodes" type: Real [8] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 10 (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 (77): * Single equations (assignments): 76 * 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 {9 196} Notification: Performance of prepare postOptimizeDAE: time 0.002022/9.94, allocations: 132 kB / 4.139 GB, free: 69.83 MB / 0.5733 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02765/9.968, allocations: 10.48 MB / 4.149 GB, free: 61.11 MB / 0.5733 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001885/9.97, allocations: 130.2 kB / 4.149 GB, free: 60.98 MB / 0.5733 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4177/10.39, allocations: 27.12 MB / 4.176 GB, free: 109.9 MB / 0.5733 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03092/10.42, allocations: 23.39 MB / 4.198 GB, free: 109.4 MB / 0.5733 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-05/10.42, allocations: 12.88 kB / 4.198 GB, free: 109.4 MB / 0.5733 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.323e-05/10.42, allocations: 12.94 kB / 4.198 GB, free: 109.4 MB / 0.5733 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05402/10.47, allocations: 41.22 MB / 4.239 GB, free: 98 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/10.47, allocations: 4.688 kB / 4.239 GB, free: 98 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01486/10.49, allocations: 2.662 MB / 4.241 GB, free: 97.96 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005371/10.49, allocations: 1.463 MB / 4.243 GB, free: 97.62 MB / 0.5733 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002644/10.5, allocations: 172.8 kB / 4.243 GB, free: 97.6 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02039/10.52, allocations: 26.37 MB / 4.269 GB, free: 74.48 MB / 0.5733 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/10.52, allocations: 7.625 kB / 4.269 GB, free: 74.48 MB / 0.5733 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03568/10.55, allocations: 15.59 MB / 4.284 GB, free: 67.77 MB / 0.5733 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004854/10.56, allocations: 1.262 MB / 4.285 GB, free: 67.26 MB / 0.5733 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002602/10.56, allocations: 23.55 kB / 4.285 GB, free: 67.26 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01123/10.57, allocations: 2.1 MB / 4.287 GB, free: 67.25 MB / 0.5733 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002239/10.57, allocations: 346.7 kB / 4.288 GB, free: 67.21 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002257/10.58, allocations: 195.5 kB / 4.288 GB, free: 67.2 MB / 0.5733 GB Notification: Performance of sorting global known variables: time 0.000647/10.58, allocations: 346.4 kB / 4.288 GB, free: 67.02 MB / 0.5733 GB Notification: Performance of sort global known variables: time 1.9e-07/10.58, allocations: 1.406 kB / 4.288 GB, free: 67.02 MB / 0.5733 GB Notification: Performance of remove unused functions: time 0.0172/10.59, allocations: 2.717 MB / 4.291 GB, free: 66.98 MB / 0.5733 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 16 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],Tube.T[1],Tube.T[2],Tube.T[3],Tube.T[4],Tube.T[5],Tube.T[6],Tube.T[7],Tube.T[8]) * Number of discrete variables: 20 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse15.phase,$cse15.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 17 {(8,67.2%) 14,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.04334/10.64, allocations: 18.64 MB / 4.309 GB, free: 58.66 MB / 0.5733 GB Notification: Performance of simCode: created initialization part: time 0.03816/10.67, allocations: 17.12 MB / 4.326 GB, free: 52.22 MB / 0.5733 GB Notification: Performance of simCode: created event and clocks part: time 1.878e-05/10.67, allocations: 4.234 kB / 4.326 GB, free: 52.22 MB / 0.5733 GB Notification: Performance of simCode: created simulation system equations: time 0.01476/10.69, allocations: 7.572 MB / 4.333 GB, free: 48.11 MB / 0.5733 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005192/10.69, allocations: 450.7 kB / 4.333 GB, free: 48.04 MB / 0.5733 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02829/10.72, allocations: 9.128 MB / 4.342 GB, free: 45.24 MB / 0.5733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/10.72, allocations: 1.651 MB / 4.344 GB, free: 44.43 MB / 0.5733 GB Notification: Performance of simCode: alias equations: time 0.008195/10.73, allocations: 2.428 MB / 4.346 GB, free: 44.4 MB / 0.5733 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005944/10.74, allocations: 0.9588 MB / 4.347 GB, free: 43.82 MB / 0.5733 GB Notification: Performance of SimCode: time 1.884e-06/10.74, allocations: 3.469 kB / 4.347 GB, free: 43.82 MB / 0.5733 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.064/11.8, allocations: 266.7 MB / 4.608 GB, free: 102.4 MB / 0.5733 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/11.8, allocations: 158.7 kB / 4.608 GB, free: 102.2 MB / 0.5733 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.169/20.97, allocations: 3.094 kB / 4.608 GB, free: 102.2 MB / 0.5733 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe 2>&1)