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.001362/0.001363, allocations: 175.4 kB / 8.349 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.772/1.772, allocations: 205.3 MB / 214.1 MB, free: 14.12 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.000897/0.0008972, allocations: 96.12 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4874/0.4874, allocations: 48.78 MB / 358.8 MB, free: 53.14 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.907e-05/1.91e-05, allocations: 0 / 425.4 MB, free: 8.148 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1341, allocations: 60.26 MB / 485.6 MB, free: 11.74 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.301/6.435, allocations: 2.786 GB / 3.26 GB, free: 84.32 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/6.435, allocations: 71.55 kB / 3.26 GB, free: 84.25 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.1931/6.628, allocations: 81.17 MB / 3.339 GB, free: 4.41 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.863e-06/6.628, allocations: 7.938 kB / 3.339 GB, free: 4.402 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 3.853e-05/6.628, allocations: 12 kB / 3.339 GB, free: 4.391 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.004286/6.632, allocations: 1.242 MB / 3.34 GB, free: 3.105 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/6.633, allocations: 8.031 kB / 3.34 GB, free: 3.098 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003023/6.633, allocations: 92.5 kB / 3.34 GB, free: 3.008 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009268/6.634, allocations: 0.5899 MB / 3.341 GB, free: 2.379 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/6.634, allocations: 19.95 kB / 3.341 GB, free: 2.359 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/6.634, allocations: 24 kB / 3.341 GB, free: 2.336 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006235/6.635, allocations: 474.3 kB / 3.342 GB, free: 1.875 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007568/6.635, allocations: 0.6326 MB / 3.342 GB, free: 1.184 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/6.635, allocations: 3.938 kB / 3.342 GB, free: 1.18 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/6.635, allocations: 3.984 kB / 3.342 GB, free: 1.176 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.152e-05/6.635, allocations: 44.77 kB / 3.342 GB, free: 1.133 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.2886/6.924, allocations: 3.9 MB / 3.346 GB, free: 99.29 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006211/6.925, allocations: 424.6 kB / 3.346 GB, free: 99.25 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/6.925, allocations: 180.7 kB / 3.347 GB, free: 99.25 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02806/6.953, allocations: 15.21 MB / 3.361 GB, free: 90.25 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/6.953, allocations: 33.81 kB / 3.361 GB, free: 90.21 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=40): time 2.836e-06/6.953, allocations: 0 / 3.361 GB, free: 90.21 MB / 0.5108 GB Notification: Performance of matching and sorting (n=40): time 0.001214/6.954, allocations: 0.516 MB / 3.362 GB, free: 90.14 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.709e-05/6.954, allocations: 58.16 kB / 3.362 GB, free: 90.08 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/6.955, allocations: 301.9 kB / 3.362 GB, free: 89.98 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/6.955, allocations: 28.55 kB / 3.362 GB, free: 89.95 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/6.955, allocations: 289.1 kB / 3.363 GB, free: 89.82 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 7.563e-05/6.955, allocations: 133.5 kB / 3.363 GB, free: 89.75 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/6.955, allocations: 0 / 3.363 GB, free: 89.75 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 7.75e-05/6.955, allocations: 352.4 kB / 3.363 GB, free: 89.44 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/6.955, allocations: 122.8 kB / 3.363 GB, free: 89.44 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/6.955, allocations: 182.6 kB / 3.363 GB, free: 89.38 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/6.956, allocations: 176.8 kB / 3.364 GB, free: 89.37 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/6.956, allocations: 0 / 3.364 GB, free: 89.37 MB / 0.5108 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006009/6.956, allocations: 400.1 kB / 3.364 GB, free: 89.31 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/6.956, allocations: 6.312 kB / 3.364 GB, free: 89.31 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/6.956, allocations: 8.406 kB / 3.364 GB, free: 89.31 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/6.956, allocations: 7 kB / 3.364 GB, free: 89.31 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/6.957, allocations: 67.14 kB / 3.364 GB, free: 89.31 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/6.957, allocations: 6.25 kB / 3.364 GB, free: 89.31 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/6.957, allocations: 36.06 kB / 3.364 GB, free: 89.3 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/6.957, allocations: 18.53 kB / 3.364 GB, free: 89.3 MB / 0.5108 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.085e-05/6.957, allocations: 113.6 kB / 3.364 GB, free: 89.2 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006112/6.958, allocations: 364.6 kB / 3.364 GB, free: 89.13 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/6.958, allocations: 44.89 kB / 3.365 GB, free: 89.11 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/6.959, allocations: 1.739 MB / 3.366 GB, free: 88.92 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.219e-05/6.959, allocations: 32.41 kB / 3.366 GB, free: 88.92 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/6.959, allocations: 2.625 kB / 3.366 GB, free: 88.92 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/6.959, allocations: 3.234 kB / 3.366 GB, free: 88.92 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008457/6.96, allocations: 0.8738 MB / 3.367 GB, free: 88.74 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/6.96, allocations: 0 / 3.367 GB, free: 88.74 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/6.96, allocations: 52.25 kB / 3.367 GB, free: 88.74 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/6.96, allocations: 3.438 kB / 3.367 GB, free: 88.74 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/6.961, allocations: 3.953 kB / 3.367 GB, free: 88.73 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/6.961, allocations: 3.344 kB / 3.367 GB, free: 88.73 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/6.961, allocations: 0 / 3.367 GB, free: 88.73 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008971/6.961, allocations: 0.9544 MB / 3.368 GB, free: 88.52 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 8.244e-05/6.962, allocations: 157.8 kB / 3.368 GB, free: 88.39 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/6.962, allocations: 0 / 3.368 GB, free: 88.39 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/6.962, allocations: 33.75 kB / 3.368 GB, free: 88.39 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/6.962, allocations: 22.08 kB / 3.368 GB, free: 88.38 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/6.962, allocations: 12.69 kB / 3.368 GB, free: 88.38 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.000192/6.962, allocations: 235.2 kB / 3.369 GB, free: 88.3 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.51e-07/6.962, allocations: 0 / 3.369 GB, free: 88.3 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.002345/6.964, allocations: 0.5416 MB / 3.369 GB, free: 88.29 MB / 0.5108 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.003075/6.967, allocations: 2.015 MB / 3.371 GB, free: 87.55 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.0005387/6.968, allocations: 0.5123 MB / 3.372 GB, free: 87.54 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/6.968, allocations: 0 / 3.372 GB, free: 87.54 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0003658/6.968, allocations: 454.2 kB / 3.372 GB, free: 87.54 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008099/6.969, allocations: 150.7 kB / 3.372 GB, free: 87.53 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/6.971, allocations: 1.578 MB / 3.374 GB, free: 87.2 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/6.972, allocations: 1.067 MB / 3.375 GB, free: 86.5 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0004295/6.972, allocations: 256.2 kB / 3.375 GB, free: 86.5 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/6.973, allocations: 264.5 kB / 3.375 GB, free: 86.49 MB / 0.5108 GB Notification: Performance of SimCode: time 3.91e-07/6.973, allocations: 0 / 3.375 GB, free: 86.49 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05078/7.023, allocations: 23.08 MB / 3.398 GB, free: 85.6 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/7.024, allocations: 202.5 kB / 3.398 GB, free: 85.39 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.619/9.643, allocations: 0 / 3.398 GB, free: 85.39 MB / 0.5108 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)