Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.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.TestConstantHeatTransferTwoGrid_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",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.002483/0.002484, 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.822/1.822, 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.0009308/0.000931, allocations: 82.77 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3108/0.3108, allocations: 48.78 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.794e-05, allocations: 4 kB / 432.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1299, allocations: 60.25 MB / 492.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.176/6.306, allocations: 2.786 GB / 3.268 GB, free: 34.02 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/6.306, allocations: 75.86 kB / 3.268 GB, free: 33.95 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4916/6.798, allocations: 82.17 MB / 3.348 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.453e-06/6.798, allocations: 0 / 3.348 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.828e-05/6.798, allocations: 11.88 kB / 3.348 GB, free: 137.1 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.004323/6.802, allocations: 1.231 MB / 3.349 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/6.802, allocations: 7.781 kB / 3.349 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/6.802, allocations: 105.1 kB / 3.349 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000362/6.803, allocations: 91.92 kB / 3.349 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/6.804, allocations: 0.5853 MB / 3.35 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/6.804, allocations: 33.34 kB / 3.35 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.455e-05/6.804, allocations: 46.03 kB / 3.35 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/6.805, allocations: 0.8323 MB / 3.351 GB, free: 136 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/6.805, allocations: 15.64 kB / 3.351 GB, free: 136 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/6.805, allocations: 17.47 kB / 3.351 GB, free: 136 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.076e-05/6.806, allocations: 35.95 kB / 3.351 GB, free: 136 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/6.807, allocations: 0.6306 MB / 3.351 GB, free: 136 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.00291/6.81, allocations: 4.038 MB / 3.355 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009268/6.81, allocations: 0.5674 MB / 3.356 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/6.811, allocations: 187.7 kB / 3.356 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02852/6.839, allocations: 15.22 MB / 3.371 GB, free: 123 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/6.839, allocations: 37.88 kB / 3.371 GB, free: 123 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 2.585e-06/6.839, allocations: 0 / 3.371 GB, free: 123 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40): time 0.00159/6.841, allocations: 0.6486 MB / 3.372 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/6.841, allocations: 59.41 kB / 3.372 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004345/6.841, allocations: 408.3 kB / 3.372 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/6.841, allocations: 32.83 kB / 3.372 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/6.842, allocations: 269.8 kB / 3.372 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.011e-05/6.842, allocations: 141.2 kB / 3.372 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.464e-05/6.842, allocations: 3.75 kB / 3.372 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.188e-05/6.842, allocations: 361.9 kB / 3.373 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/6.842, allocations: 127 kB / 3.373 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/6.842, allocations: 197.5 kB / 3.373 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/6.842, allocations: 171.5 kB / 3.373 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/6.842, allocations: 0 / 3.373 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005109/6.843, allocations: 424 kB / 3.374 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/6.843, allocations: 8 kB / 3.374 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/6.843, allocations: 7.844 kB / 3.374 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/6.843, allocations: 4 kB / 3.374 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/6.843, allocations: 77.59 kB / 3.374 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/6.843, allocations: 7.469 kB / 3.374 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/6.844, allocations: 53.77 kB / 3.374 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/6.844, allocations: 19.77 kB / 3.374 GB, free: 121.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 (fluidState[7].phase,fluidState[6].phase,fluidState[5].phase,fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.539e-05/6.844, allocations: 128.8 kB / 3.374 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.401e-05/6.844, allocations: 51.34 kB / 3.374 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/6.845, allocations: 1.759 MB / 3.376 GB, free: 120 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.204e-05/6.845, allocations: 27.06 kB / 3.376 GB, free: 120 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/6.845, allocations: 5.922 kB / 3.376 GB, free: 120 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/6.845, allocations: 3.797 kB / 3.376 GB, free: 120 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008789/6.846, allocations: 0.9906 MB / 3.377 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/6.846, allocations: 0 / 3.377 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/6.846, allocations: 57.02 kB / 3.377 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/6.846, allocations: 0 / 3.377 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/6.846, allocations: 11.91 kB / 3.377 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/6.846, allocations: 10.16 kB / 3.377 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/6.846, allocations: 0 / 3.377 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007754/6.847, allocations: 0.967 MB / 3.378 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/6.847, allocations: 163.8 kB / 3.378 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/6.847, allocations: 19.83 kB / 3.378 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/6.848, allocations: 35.58 kB / 3.378 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/6.848, allocations: 23.11 kB / 3.378 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/6.848, allocations: 12 kB / 3.378 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003124/6.848, allocations: 329.2 kB / 3.378 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/6.848, allocations: 0 / 3.378 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00264/6.851, allocations: 0.5533 MB / 3.379 GB, free: 117 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004496/6.855, allocations: 2.009 MB / 3.381 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007388/6.856, allocations: 0.5318 MB / 3.381 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/6.856, allocations: 0 / 3.381 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003603/6.856, allocations: 452.2 kB / 3.382 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/6.858, allocations: 281.7 kB / 3.382 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/6.862, allocations: 1.622 MB / 3.384 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/6.862, allocations: 1.064 MB / 3.385 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005515/6.863, allocations: 278.5 kB / 3.385 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/6.863, allocations: 274.1 kB / 3.385 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/6.863, allocations: 0 / 3.385 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04842/6.912, allocations: 28.57 MB / 3.413 GB, free: 92.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/6.912, allocations: 192.6 kB / 3.413 GB, free: 91.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.897/9.809, allocations: 0 / 3.413 GB, free: 91.83 MB / 0.5105 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1)