Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.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.TestFlow1Dfem2ph,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1Dfem2ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1Dfem2ph",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.001144/0.001144, allocations: 176.2 kB / 8.348 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.525/1.525, allocations: 205.3 MB / 214.1 MB, free: 14.08 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.001038/0.001038, allocations: 91.8 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.467/0.467, allocations: 48.78 MB / 358.8 MB, free: 53.18 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.2e-05/2.209e-05, allocations: 4.219 kB / 425.4 MB, free: 8.137 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1389, allocations: 60.25 MB / 485.6 MB, free: 11.74 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.957/7.095, allocations: 2.961 GB / 3.435 GB, free: 101.7 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/7.096, allocations: 83.77 kB / 3.435 GB, free: 101.7 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.621/8.716, allocations: 356.8 MB / 3.783 GB, free: 42.21 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.883e-06/8.717, allocations: 0 / 3.783 GB, free: 42.21 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001919/8.717, allocations: 112.7 kB / 3.783 GB, free: 42.2 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: 1653 * Number of variables: 1653 Notification: Performance of Generate backend data structure: time 0.07231/8.789, allocations: 15.44 MB / 3.798 GB, free: 40.49 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/8.789, allocations: 10.69 kB / 3.798 GB, free: 40.49 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/8.8, allocations: 1.039 MB / 3.799 GB, free: 40.21 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04614/8.847, allocations: 11 MB / 3.81 GB, free: 39.73 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00444/8.851, allocations: 1.878 MB / 3.812 GB, free: 39.05 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008585/8.86, allocations: 402.5 kB / 3.812 GB, free: 39.05 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06467/8.924, allocations: 25.97 MB / 3.838 GB, free: 39.02 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06656/8.991, allocations: 20.87 MB / 3.858 GB, free: 37.14 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003352/8.991, allocations: 34.06 kB / 3.858 GB, free: 37.14 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01261/9.004, allocations: 22.03 kB / 3.858 GB, free: 37.14 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002806/9.004, allocations: 170.3 kB / 3.858 GB, free: 37.14 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.5826/9.587, allocations: 119.2 MB / 3.975 GB, free: 46.63 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04015/9.627, allocations: 14.12 MB / 3.989 GB, free: 46.57 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02192/9.649, allocations: 10.82 MB / 3.999 GB, free: 46.54 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.161/9.81, allocations: 75.68 MB / 4.073 GB, free: 19.12 MB / 0.5577 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/9.811, allocations: 92.03 kB / 4.073 GB, free: 19.07 MB / 0.5577 GB Notification: Performance of pre-optimization done (n=528): time 2.128e-05/9.811, allocations: 2.312 kB / 4.073 GB, free: 19.07 MB / 0.5577 GB Notification: Performance of matching and sorting (n=528): time 0.7936/10.6, allocations: 92.3 MB / 4.163 GB, free: 88.25 MB / 0.5577 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.993e-05/10.6, allocations: 134.5 kB / 4.163 GB, free: 88.15 MB / 0.5577 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005927/10.61, allocations: 3.615 MB / 4.167 GB, free: 87.89 MB / 0.5577 GB Notification: Performance of collectPreVariables (initialization): time 0.008802/10.62, allocations: 25.7 kB / 4.167 GB, free: 87.86 MB / 0.5577 GB Notification: Performance of collectInitialEqns (initialization): time 0.00342/10.62, allocations: 3.296 MB / 4.17 GB, free: 86.05 MB / 0.5577 GB Notification: Performance of collectInitialBindings (initialization): time 0.01005/10.63, allocations: 2.017 MB / 4.172 GB, free: 84.9 MB / 0.5577 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00872/10.64, allocations: 0 / 4.172 GB, free: 84.9 MB / 0.5577 GB Notification: Performance of setup shared object (initialization): time 0.00166/10.64, allocations: 0.8382 MB / 4.173 GB, free: 84.57 MB / 0.5577 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02623/10.67, allocations: 12.43 MB / 4.185 GB, free: 84.55 MB / 0.5577 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03445/10.7, allocations: 17.95 MB / 4.203 GB, free: 77.57 MB / 0.5577 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03198/10.74, allocations: 11.5 MB / 4.214 GB, free: 77.46 MB / 0.5577 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005755/10.74, allocations: 59.97 kB / 4.214 GB, free: 77.46 MB / 0.5577 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.1679/10.9, allocations: 51.01 MB / 4.264 GB, free: 67.36 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 0.02022/10.93, allocations: 75.72 MB / 4.338 GB, free: 2.887 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007803/10.93, allocations: 191.2 kB / 4.338 GB, free: 2.887 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5139/11.44, allocations: 45.49 MB / 4.382 GB, free: 87.84 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1519/11.59, allocations: 40.98 MB / 4.422 GB, free: 85.78 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08536/11.68, allocations: 29.03 MB / 4.451 GB, free: 85.17 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04196/11.72, allocations: 6.647 MB / 4.457 GB, free: 84.54 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01177/11.73, allocations: 0.9725 MB / 4.458 GB, free: 84.54 MB / 0.5733 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/11.73, allocations: 3.656 kB / 4.458 GB, free: 84.54 MB / 0.5733 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1635/11.89, allocations: 50.23 MB / 4.507 GB, free: 61.36 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006924/11.9, allocations: 193.1 kB / 4.507 GB, free: 61.17 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1056/12, allocations: 45.17 MB / 4.551 GB, free: 26.68 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4978/12.5, allocations: 40.99 MB / 4.592 GB, free: 86.87 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08129/12.58, allocations: 29.03 MB / 4.62 GB, free: 86.3 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03921/12.62, allocations: 6.307 MB / 4.626 GB, free: 86.17 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008192/12.63, allocations: 0.961 MB / 4.627 GB, free: 86.17 MB / 0.5733 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 870 * Number of states: 0 () * Number of discrete variables: 13 (hex.fluidState[11].phase,hex.fluidState[10].phase,hex.fluidState[9].phase,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 (1243): * Single equations (assignments): 1242 * 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 {12 193} Notification: Performance of prepare postOptimizeDAE: time 0.01359/12.64, allocations: 0.5671 MB / 4.627 GB, free: 85.94 MB / 0.5733 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.3729/13.01, allocations: 91.08 MB / 4.716 GB, free: 60.06 MB / 0.5733 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007376/13.02, allocations: 463.9 kB / 4.717 GB, free: 59.61 MB / 0.5733 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7786/13.8, allocations: 112.4 MB / 4.827 GB, free: 80.01 MB / 0.5733 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001626/13.8, allocations: 89.58 kB / 4.827 GB, free: 80.01 MB / 0.5733 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.427e-05/13.8, allocations: 16.91 kB / 4.827 GB, free: 80.01 MB / 0.5733 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002162/13.8, allocations: 25.27 kB / 4.827 GB, free: 80.01 MB / 0.5733 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8201/14.62, allocations: 165.3 MB / 4.988 GB, free: 83.72 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.186e-05/14.62, allocations: 0 / 4.988 GB, free: 83.72 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1833/14.8, allocations: 50.57 MB / 5.038 GB, free: 82.82 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07931/14.88, allocations: 33.36 MB / 5.07 GB, free: 80.67 MB / 0.5733 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005797/14.89, allocations: 0.6752 MB / 5.071 GB, free: 80.67 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9911/15.88, allocations: 148.7 MB / 5.216 GB, free: 82.15 MB / 0.5733 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/15.88, allocations: 5.703 kB / 5.216 GB, free: 82.15 MB / 0.5733 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3744/16.26, allocations: 100.9 MB / 5.315 GB, free: 70.51 MB / 0.5733 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0119/16.27, allocations: 2.956 MB / 5.318 GB, free: 68.93 MB / 0.5733 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008068/16.28, allocations: 276.1 kB / 5.318 GB, free: 68.79 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03723/16.31, allocations: 6.036 MB / 5.324 GB, free: 64.46 MB / 0.5733 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009614/16.32, allocations: 0.8682 MB / 5.325 GB, free: 64.25 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007809/16.33, allocations: 0.5239 MB / 5.325 GB, free: 64.07 MB / 0.5733 GB Notification: Performance of sorting global known variables: time 0.003999/16.33, allocations: 2.302 MB / 5.327 GB, free: 62.61 MB / 0.5733 GB Notification: Performance of sort global known variables: time 5.41e-07/16.33, allocations: 0 / 5.327 GB, free: 62.61 MB / 0.5733 GB Notification: Performance of remove unused functions: time 0.04819/16.38, allocations: 5.341 MB / 5.333 GB, free: 57.41 MB / 0.5733 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 23 (hex.p,hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6],hex.h[7],hex.h[8],hex.h[9],hex.h[10],hex.h[11],MetalWall.T[1],MetalWall.T[2],MetalWall.T[3],MetalWall.T[4],MetalWall.T[5],MetalWall.T[6],MetalWall.T[7],MetalWall.T[8],MetalWall.T[9],MetalWall.T[10],MetalWall.T[11]) * Number of discrete variables: 24 ($cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (471): * Single equations (assignments): 457 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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 {(12,68.8%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.7629/17.15, allocations: 100.8 MB / 5.431 GB, free: 75.22 MB / 0.5733 GB Notification: Performance of simCode: created initialization part: time 1.138/18.28, allocations: 174.8 MB / 5.602 GB, free: 79.79 MB / 0.5733 GB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/18.28, allocations: 0.9375 kB / 5.602 GB, free: 79.79 MB / 0.5733 GB Notification: Performance of simCode: created simulation system equations: time 0.393/18.68, allocations: 72.31 MB / 5.672 GB, free: 78.38 MB / 0.5733 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009018/18.69, allocations: 0.6448 MB / 5.673 GB, free: 78.33 MB / 0.5733 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07293/18.76, allocations: 23.14 MB / 5.695 GB, free: 75.62 MB / 0.5733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002431/18.76, allocations: 3.27 MB / 5.699 GB, free: 74.78 MB / 0.5733 GB Notification: Performance of simCode: alias equations: time 0.03059/18.79, allocations: 10.52 MB / 5.709 GB, free: 73.85 MB / 0.5733 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009601/18.8, allocations: 2.4 MB / 5.711 GB, free: 73.84 MB / 0.5733 GB Notification: Performance of SimCode: time 6.31e-07/18.8, allocations: 0 / 5.711 GB, free: 73.84 MB / 0.5733 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.577/20.38, allocations: 498.6 MB / 6.198 GB, free: 7.68 MB / 0.589 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/20.38, allocations: 151.1 kB / 6.198 GB, free: 7.488 MB / 0.589 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/35.45, allocations: 0 / 6.198 GB, free: 7.488 MB / 0.589 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1Dfem2ph_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-08 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1Dfem2ph.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.pipe 2>&1)