Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009698/0.0009698, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8855/0.8855, allocations: 158.6 MB / 187.5 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1672/0.1672, allocations: 36.34 MB / 276.2 MB, free: 14.38 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 355.1 MB, free: 62.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.553e-05, allocations: 2.312 kB / 355.1 MB, free: 62.6 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D): time 0.02058/0.0206, allocations: 24.4 MB / 379.5 MB, free: 45.61 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.03106, allocations: 12.29 MB / 391.8 MB, free: 34.07 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002784/0.03134, allocations: 23.81 kB / 391.8 MB, free: 34.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004672/0.03181, allocations: 178.6 kB / 392 MB, free: 33.87 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009508/0.04132, allocations: 4.713 MB / 396.7 MB, free: 29.14 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.04387, allocations: 1.251 MB / 397.9 MB, free: 27.88 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.04502, allocations: 1.571 MB / 399.5 MB, free: 26.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004729/0.04549, allocations: 482.8 kB / 400 MB, free: 25.83 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007055/0.04619, allocations: 0.7444 MB / 400.7 MB, free: 25.08 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006419/0.04684, allocations: 0.5727 MB / 401.3 MB, free: 24.51 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.437e-05/0.04693, allocations: 72 kB / 401.4 MB, free: 24.44 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007792/0.05472, allocations: 6.01 MB / 407.4 MB, free: 18.42 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.05495, allocations: 382.9 kB / 407.7 MB, free: 18.05 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003051/0.05525, allocations: 379.2 kB / 408.1 MB, free: 17.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004831/0.06008, allocations: 5.105 MB / 413.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.06009, allocations: 4 kB / 413.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.06009, allocations: 0 / 413.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.0601, allocations: 0 / 413.2 MB, free: 12.55 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002394/0.06249, allocations: 1.81 MB / 415 MB, free: 10.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.06252, allocations: 8.031 kB / 415 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008136/0.06334, allocations: 423.6 kB / 415.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.06376, allocations: 492.5 kB / 415.9 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.06378, allocations: 66.38 kB / 416 MB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.023e-05/0.06386, allocations: 88.33 kB / 416.1 MB, free: 9.621 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.06598, allocations: 1.696 MB / 417.8 MB, free: 7.883 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.066, allocations: 192 / 417.8 MB, free: 7.883 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.06604, allocations: 35.94 kB / 417.8 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.06608, allocations: 42 kB / 417.9 MB, free: 7.809 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.06789, allocations: 1.244 MB / 419.1 MB, free: 6.566 MB / 330.7 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.002161/0.07006, allocations: 2.604 MB / 421.7 MB, free: 3.906 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.07174, allocations: 1.191 MB / 422.9 MB, free: 2.703 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.07187, allocations: 149.6 kB / 423.1 MB, free: 2.551 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05013/0.122, allocations: 29.21 MB / 452.3 MB, free: 5.305 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.122, allocations: 38.05 kB / 452.3 MB, free: 5.258 MB / 362.7 MB Notification: Performance of pre-optimization done (n=67): time 2.134e-06/0.122, allocations: 0 / 452.3 MB, free: 5.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=67): time 0.004647/0.1267, allocations: 2.236 MB / 454.5 MB, free: 3.008 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.1267, allocations: 56.06 kB / 454.6 MB, free: 2.941 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.127, allocations: 466.2 kB / 455 MB, free: 2.465 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.024e-05/0.1271, allocations: 41.7 kB / 455.1 MB, free: 2.418 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.1273, allocations: 443.1 kB / 455.5 MB, free: 1.977 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.1275, allocations: 253.8 kB / 455.8 MB, free: 1.727 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/0.1277, allocations: 276 kB / 456 MB, free: 1.449 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1279, allocations: 0.5507 MB / 456.6 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/0.1283, allocations: 441.6 kB / 457 MB, free: 464 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000545/0.1289, allocations: 0.6815 MB / 457.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009704/0.1298, allocations: 1.021 MB / 458.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1298, allocations: 0 / 458.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002194/0.132, allocations: 1.79 MB / 460.5 MB, free: 12.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.132, allocations: 4 kB / 460.5 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1321, allocations: 8.281 kB / 460.5 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/0.134, allocations: 1.63 MB / 462.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.1342, allocations: 91.83 kB / 462.2 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.1364, allocations: 2.05 MB / 464.3 MB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.1367, allocations: 70.39 kB / 464.4 MB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/0.1368, allocations: 83.91 kB / 464.4 MB, free: 8.879 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005571/0.1373, allocations: 0.5706 MB / 465 MB, free: 8.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005467/0.1379, allocations: 0.6666 MB / 465.7 MB, free: 7.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001034/0.1389, allocations: 1.032 MB / 466.7 MB, free: 6.473 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/0.1389, allocations: 0 / 466.7 MB, free: 6.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.00212/0.1411, allocations: 1.741 MB / 468.5 MB, free: 4.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.747e-06/0.1411, allocations: 7.938 kB / 468.5 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1411, allocations: 4.094 kB / 468.5 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002036/0.1431, allocations: 1.623 MB / 470.1 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.1433, allocations: 83.89 kB / 470.2 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.1453, allocations: 2.054 MB / 472.2 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.1457, allocations: 59.61 kB / 472.3 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.331e-05/0.1458, allocations: 83.91 kB / 472.4 MB, free: 0.7656 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (hex.fluidState[1].phase,hex.fluidState[2].phase,hex.fluidState[3].phase,hex.fluidState[4].phase,hex.fluidState[5].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,37)} Notification: Performance of prepare postOptimizeDAE: time 0.0002448/0.146, allocations: 312.7 kB / 472.7 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.1462, allocations: 87.55 kB / 472.8 MB, free: 376 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004387/0.1506, allocations: 5.592 MB / 478.3 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.1506, allocations: 23.97 kB / 478.4 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1506, allocations: 3.938 kB / 478.4 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.1506, allocations: 3.984 kB / 478.4 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.1525, allocations: 2.416 MB / 480.8 MB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1525, allocations: 0 / 480.8 MB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.1529, allocations: 151.8 kB / 480.9 MB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/0.1542, allocations: 391.2 kB / 481.3 MB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.563e-05/0.1543, allocations: 27.97 kB / 481.4 MB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002981/0.1572, allocations: 4.07 MB / 485.4 MB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1572, allocations: 0 / 485.4 MB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.1588, allocations: 1.509 MB / 486.9 MB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.159, allocations: 163 kB / 487.1 MB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.948e-05/0.1591, allocations: 19.98 kB / 487.1 MB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.1593, allocations: 19.94 kB / 487.1 MB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.576e-05/0.1594, allocations: 60.78 kB / 487.2 MB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.312e-05/0.1595, allocations: 15.98 kB / 487.2 MB, free: 1.344 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.1597, allocations: 283 kB / 487.5 MB, free: 1.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1597, allocations: 0 / 487.5 MB, free: 1.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002319/0.162, allocations: 1.326 MB / 488.8 MB, free: 15.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4]) * Number of discrete variables: 10 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,8,76.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002261/0.1642, allocations: 1.109 MB / 489.9 MB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002159/0.1664, allocations: 1.874 MB / 491.8 MB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1664, allocations: 0 / 491.8 MB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007123/0.1671, allocations: 0.8454 MB / 492.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007659/0.1679, allocations: 296 kB / 492.9 MB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.1701, allocations: 2.066 MB / 495 MB, free: 9.473 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.1703, allocations: 262.2 kB / 495.2 MB, free: 9.195 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003738/0.1707, allocations: 276.7 kB / 495.5 MB, free: 8.926 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/0.1711, allocations: 282 kB / 495.8 MB, free: 8.648 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1711, allocations: 0 / 495.8 MB, free: 8.648 MB / 410.7 MB Notification: Performance of Templates: time 0.1668/0.3379, allocations: 70.38 MB / 0.5529 GB, free: 96.64 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.625816525891423]