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.001111/0.001111, allocations: 177.1 kB / 8.35 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.84/1.84, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.000931/0.0009311, allocations: 85.94 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6567/0.6567, allocations: 48.77 MB / 358.8 MB, free: 53.12 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.772e-05/2.781e-05, allocations: 4.219 kB / 425.4 MB, free: 8.148 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1613, allocations: 60.27 MB / 485.7 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.441/9.602, allocations: 3.284 GB / 3.758 GB, free: 135.7 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/9.603, allocations: 82.59 kB / 3.758 GB, free: 135.7 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 4.484/14.09, allocations: 1.327 GB / 5.085 GB, free: 61.46 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.364e-06/14.09, allocations: 0 / 5.085 GB, free: 61.46 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 9.212e-05/14.09, allocations: 47.91 kB / 5.085 GB, free: 61.42 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: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.01537/14.1, allocations: 3.99 MB / 5.089 GB, free: 58.13 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/14.1, allocations: 12.58 kB / 5.089 GB, free: 58.12 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/14.1, allocations: 253.2 kB / 5.089 GB, free: 57.87 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005387/14.11, allocations: 1.575 MB / 5.091 GB, free: 56.27 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.344e-05/14.11, allocations: 72 kB / 5.091 GB, free: 56.2 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009234/14.11, allocations: 136 kB / 5.091 GB, free: 56.06 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008141/14.12, allocations: 5.429 MB / 5.096 GB, free: 50.62 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005589/14.12, allocations: 3.531 MB / 5.1 GB, free: 47.01 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.568e-05/14.12, allocations: 0 / 5.1 GB, free: 47.01 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002272/14.12, allocations: 0 / 5.1 GB, free: 47.01 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/14.12, allocations: 140.9 kB / 5.1 GB, free: 46.87 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.02454/14.15, allocations: 15.06 MB / 5.115 GB, free: 30.85 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008387/14.16, allocations: 4.635 MB / 5.119 GB, free: 26.14 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002564/14.16, allocations: 1.851 MB / 5.121 GB, free: 24.29 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/14.17, allocations: 9.874 MB / 5.13 GB, free: 13.66 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/14.17, allocations: 56.56 kB / 5.131 GB, free: 13.6 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=235): time 5.681e-06/14.17, allocations: 0 / 5.131 GB, free: 13.6 MB / 0.5108 GB Notification: Performance of matching and sorting (n=235): time 0.01005/14.18, allocations: 4.816 MB / 5.135 GB, free: 8.766 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/14.18, allocations: 81.34 kB / 5.135 GB, free: 8.672 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009609/14.18, allocations: 0.6284 MB / 5.136 GB, free: 8.039 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.0005581/14.18, allocations: 25.7 kB / 5.136 GB, free: 8.008 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004958/14.18, allocations: 0.8416 MB / 5.137 GB, free: 7.152 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008591/14.19, allocations: 0.8162 MB / 5.138 GB, free: 6.324 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/14.19, allocations: 4 kB / 5.138 GB, free: 6.32 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001989/14.19, allocations: 452.2 kB / 5.138 GB, free: 5.871 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/14.19, allocations: 1.321 MB / 5.139 GB, free: 4.547 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/14.19, allocations: 1.963 MB / 5.141 GB, free: 2.309 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002904/14.19, allocations: 1.712 MB / 5.143 GB, free: 0.5742 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/14.19, allocations: 4 kB / 5.143 GB, free: 0.5703 MB / 0.5108 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.4286/14.62, allocations: 4.226 MB / 5.147 GB, free: 68.2 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.00207/14.62, allocations: 7.146 MB / 5.154 GB, free: 60.77 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.57e-05/14.62, allocations: 21.5 kB / 5.154 GB, free: 60.77 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003832/14.63, allocations: 1.081 MB / 5.155 GB, free: 60.62 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/14.63, allocations: 498.2 kB / 5.156 GB, free: 60.62 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009202/14.64, allocations: 11.77 MB / 5.167 GB, free: 50.79 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003812/14.64, allocations: 337.1 kB / 5.167 GB, free: 50.79 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00048/14.64, allocations: 115.8 kB / 5.167 GB, free: 50.79 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/14.64, allocations: 5.031 kB / 5.167 GB, free: 50.79 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008902/14.65, allocations: 3.968 MB / 5.171 GB, free: 50.54 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.658e-05/14.65, allocations: 17.41 kB / 5.171 GB, free: 50.54 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003135/14.66, allocations: 1.091 MB / 5.172 GB, free: 50.38 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/14.66, allocations: 479.9 kB / 5.173 GB, free: 50.38 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008399/14.67, allocations: 11.77 MB / 5.184 GB, free: 40.51 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003703/14.67, allocations: 293.3 kB / 5.185 GB, free: 40.46 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006253/14.67, allocations: 110.9 kB / 5.185 GB, free: 40.46 MB / 0.5108 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.0009163/14.67, allocations: 175.8 kB / 5.185 GB, free: 40.35 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01085/14.68, allocations: 4.805 MB / 5.19 GB, free: 40.14 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008927/14.68, allocations: 147.2 kB / 5.19 GB, free: 40.07 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/14.7, allocations: 5.343 MB / 5.195 GB, free: 39.84 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.636e-05/14.7, allocations: 25.72 kB / 5.195 GB, free: 39.84 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.63e-05/14.7, allocations: 22.59 kB / 5.195 GB, free: 39.84 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.881e-05/14.7, allocations: 10.08 kB / 5.195 GB, free: 39.84 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004063/14.7, allocations: 2.209 MB / 5.197 GB, free: 39.62 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/14.7, allocations: 0 / 5.197 GB, free: 39.62 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/14.7, allocations: 338 kB / 5.198 GB, free: 39.62 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008405/14.71, allocations: 2.646 MB / 5.2 GB, free: 39.57 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004315/14.71, allocations: 66.06 kB / 5.2 GB, free: 39.57 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02248/14.73, allocations: 11.49 MB / 5.211 GB, free: 38.09 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/14.73, allocations: 3.875 kB / 5.211 GB, free: 38.09 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01678/14.75, allocations: 6.997 MB / 5.218 GB, free: 37.72 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002008/14.75, allocations: 0.5601 MB / 5.219 GB, free: 37.53 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005127/14.75, allocations: 29.22 kB / 5.219 GB, free: 37.53 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002168/14.75, allocations: 149.4 kB / 5.219 GB, free: 37.51 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007937/14.75, allocations: 180.7 kB / 5.219 GB, free: 37.5 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002399/14.76, allocations: 88.45 kB / 5.219 GB, free: 37.5 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0008132/14.76, allocations: 458.6 kB / 5.22 GB, free: 37.41 MB / 0.5108 GB Notification: Performance of sort global known variables: time 2.41e-07/14.76, allocations: 0 / 5.22 GB, free: 37.41 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.008667/14.76, allocations: 1.511 MB / 5.221 GB, free: 37.22 MB / 0.5108 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.02045/14.79, allocations: 7.783 MB / 5.229 GB, free: 36.31 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.01584/14.8, allocations: 6.091 MB / 5.235 GB, free: 36.27 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/14.8, allocations: 0 / 5.235 GB, free: 36.27 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.006146/14.81, allocations: 2.562 MB / 5.237 GB, free: 36.04 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004853/14.81, allocations: 0.7966 MB / 5.238 GB, free: 36.02 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/14.82, allocations: 5.52 MB / 5.243 GB, free: 35.14 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/14.82, allocations: 1.687 MB / 5.245 GB, free: 34.39 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.00384/14.83, allocations: 1.315 MB / 5.246 GB, free: 34.3 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/14.83, allocations: 0.7676 MB / 5.247 GB, free: 34.3 MB / 0.5108 GB Notification: Performance of SimCode: time 1.202e-06/14.83, allocations: 0 / 5.247 GB, free: 34.3 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/14.94, allocations: 69.56 MB / 5.315 GB, free: 13.7 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/14.95, allocations: 172.8 kB / 5.315 GB, free: 13.5 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.759/19.7, allocations: 3.938 kB / 5.315 GB, free: 13.5 MB / 0.5108 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)