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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 94.55 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001236, allocations: 181.3 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.272/2.272, allocations: 205.4 MB / 223.4 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.7883/0.7883, allocations: 48.77 MB / 320.4 MB, free: 3.844 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008311/0.0008311, allocations: 15.98 kB / 391.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1955, allocations: 60.25 MB / 451.5 MB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A_Fast): time 0.43/0.6256, allocations: 39.64 MB / 491.1 MB, free: 25.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005407/0.6311, allocations: 1.927 MB / 493.1 MB, free: 23.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.6323, allocations: 14.97 kB / 493.1 MB, free: 23.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.6336, allocations: 215.6 kB / 493.3 MB, free: 23.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.6358, allocations: 343.2 kB / 493.6 MB, free: 23.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003077/0.6389, allocations: 0.5335 MB / 494.1 MB, free: 23.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00447/0.6433, allocations: 2.084 MB / 496.2 MB, free: 22.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003352/0.6467, allocations: 1.161 MB / 497.4 MB, free: 22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00319/0.65, allocations: 0.9012 MB / 498.3 MB, free: 21.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004399/0.6544, allocations: 1.183 MB / 499.5 MB, free: 21.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001249/0.6557, allocations: 130.9 kB / 499.6 MB, free: 21.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1306/0.7863, allocations: 48.47 MB / 0.5352 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002871/0.7893, allocations: 0.9977 MB / 0.5362 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001947/0.7913, allocations: 0.4967 MB / 0.5367 GB, free: 11.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005196/0.7965, allocations: 2.497 MB / 0.5391 GB, free: 8.742 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.7965, allocations: 0 / 0.5391 GB, free: 8.742 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.7966, allocations: 0 / 0.5391 GB, free: 8.742 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001234/0.7967, allocations: 0 / 0.5391 GB, free: 8.742 MB / 414.1 MB 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.01581/0.8125, allocations: 3.711 MB / 0.5428 GB, free: 4.969 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.8126, allocations: 12.02 kB / 0.5428 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001526/0.8141, allocations: 359.4 kB / 0.5431 GB, free: 4.598 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009952/0.8151, allocations: 249.2 kB / 0.5433 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005997/0.8212, allocations: 1.448 MB / 0.5448 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000254/0.8215, allocations: 180.5 kB / 0.5449 GB, free: 2.676 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000947/0.8224, allocations: 255.7 kB / 0.5452 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.833, allocations: 3.855 MB / 0.5489 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.718e-05/0.8331, allocations: 0 / 0.5489 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003989/0.8335, allocations: 92 kB / 0.549 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000225/0.8337, allocations: 152.9 kB / 0.5492 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01464/0.8484, allocations: 5.617 MB / 0.5547 GB, free: 8.625 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.03959/0.888, allocations: 16.67 MB / 0.5709 GB, free: 6.508 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01619/0.9042, allocations: 4.816 MB / 0.5756 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02788/0.9322, allocations: 9.733 MB / 0.5851 GB, free: 7.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.697e-05/0.9323, allocations: 56.56 kB / 0.5852 GB, free: 6.957 MB / 462.1 MB Notification: Performance of pre-optimization done (n=234): time 7.464e-06/0.9323, allocations: 3.938 kB / 0.5852 GB, free: 6.953 MB / 462.1 MB Notification: Performance of matching and sorting (n=234): time 0.03845/0.9708, allocations: 9.043 MB / 0.594 GB, free: 13.87 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.958e-05/0.9709, allocations: 77.41 kB / 0.5941 GB, free: 13.78 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.9727, allocations: 0.7973 MB / 0.5949 GB, free: 12.97 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008238/0.9736, allocations: 69.7 kB / 0.5949 GB, free: 12.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009827/0.9745, allocations: 0.8415 MB / 0.5958 GB, free: 12.05 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001861/0.9764, allocations: 0.8474 MB / 0.5966 GB, free: 11.19 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.9767, allocations: 55.94 kB / 0.5967 GB, free: 11.13 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003889/0.9771, allocations: 456.2 kB / 0.5971 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003726/0.9808, allocations: 1.407 MB / 0.5985 GB, free: 9.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004497/0.9853, allocations: 2.036 MB / 0.6004 GB, free: 6.965 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004842/0.9902, allocations: 1.724 MB / 0.6021 GB, free: 5.219 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-05/0.9903, allocations: 4 kB / 0.6021 GB, free: 5.215 MB / 478.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01451/1.005, allocations: 4.495 MB / 0.6065 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.005265/1.01, allocations: 7.142 MB / 0.6135 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.128e-05/1.01, allocations: 20 kB / 0.6135 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006977/1.017, allocations: 1.284 MB / 0.6148 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003504/1.021, allocations: 483.2 kB / 0.6152 GB, free: 7.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/1.035, allocations: 11.61 MB / 0.6266 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004968/1.04, allocations: 381.2 kB / 0.6269 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008784/1.041, allocations: 120 kB / 0.627 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/1.041, allocations: 4 kB / 0.6271 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01321/1.054, allocations: 4.288 MB / 0.6312 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/1.055, allocations: 20 kB / 0.6313 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006975/1.062, allocations: 1.276 MB / 0.6325 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003984/1.066, allocations: 483.2 kB / 0.633 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4144/1.48, allocations: 11.61 MB / 0.6443 GB, free: 155.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004174/1.484, allocations: 339.1 kB / 0.6446 GB, free: 155.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000786/1.485, allocations: 111.7 kB / 0.6447 GB, free: 155.3 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (281): * Single equations (assignments): 262 * 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.002191/1.487, allocations: 0.7384 MB / 0.6455 GB, free: 155.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006768/1.488, allocations: 153 kB / 0.6456 GB, free: 155.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01585/1.504, allocations: 5.571 MB / 0.651 GB, free: 154.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.906e-05/1.504, allocations: 23.22 kB / 0.6511 GB, free: 154.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.696e-05/1.504, allocations: 16.39 kB / 0.6511 GB, free: 154.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.991e-05/1.504, allocations: 11.53 kB / 0.6511 GB, free: 154.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005758/1.51, allocations: 2.497 MB / 0.6535 GB, free: 154.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/1.51, allocations: 0 / 0.6535 GB, free: 154.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/1.512, allocations: 324.9 kB / 0.6538 GB, free: 154.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01307/1.525, allocations: 2.693 MB / 0.6565 GB, free: 153.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009019/1.526, allocations: 95.27 kB / 0.6566 GB, free: 153.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03635/1.562, allocations: 12.4 MB / 0.6687 GB, free: 149.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/1.562, allocations: 5.984 kB / 0.6687 GB, free: 149.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02238/1.585, allocations: 7.196 MB / 0.6757 GB, free: 146.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002354/1.587, allocations: 0.5841 MB / 0.6763 GB, free: 146.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006731/1.588, allocations: 66.39 kB / 0.6763 GB, free: 146 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003171/1.591, allocations: 179.5 kB / 0.6765 GB, free: 146 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001055/1.592, allocations: 183.8 kB / 0.6767 GB, free: 146 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003458/1.592, allocations: 80.53 kB / 0.6768 GB, free: 145.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001335/1.594, allocations: 0.5206 MB / 0.6773 GB, free: 145.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/1.594, allocations: 1.062 kB / 0.6773 GB, free: 145.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0101/1.604, allocations: 1.594 MB / 0.6788 GB, free: 145.4 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 178 * 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.02067/1.625, allocations: 7.844 MB / 0.6865 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02694/1.652, allocations: 7.024 MB / 0.6933 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/1.652, allocations: 0 / 0.6933 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01017/1.662, allocations: 2.718 MB / 0.696 GB, free: 134.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006542/1.668, allocations: 0.8713 MB / 0.6968 GB, free: 133.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0414/1.71, allocations: 28.31 MB / 0.7245 GB, free: 105 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001625/1.712, allocations: 1.686 MB / 0.7261 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006124/1.718, allocations: 1.31 MB / 0.7274 GB, free: 102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001655/1.719, allocations: 0.7686 MB / 0.7282 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/1.719, allocations: 0 / 0.7282 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1282/1.848, allocations: 70.23 MB / 0.7968 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/1.848, allocations: 244.6 kB / 0.797 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.274/7.122, allocations: 0 / 0.797 GB, free: 30.62 MB / 0.4981 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) Environment - environmentSimulation: