Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.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.001477/0.001477, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001012/0.001012, allocations: 174.3 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9356/0.9356, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.08576/0.08576, allocations: 19.74 MB / 281.6 MB, free: 9.152 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0.7969 kB / 305.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.494e-05, allocations: 9.344 kB / 305.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.02369/0.02371, allocations: 36.12 MB / 341.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00846/0.03217, allocations: 8.98 MB / 350.3 MB, free: 1 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00039/0.03256, allocations: 31.69 kB / 350.4 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006265/0.03319, allocations: 273.6 kB / 350.6 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008652/0.03405, allocations: 0.5739 MB / 351.2 MB, free: 124 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01081/0.04486, allocations: 5.454 MB / 356.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.04623, allocations: 1.628 MB / 358.3 MB, free: 9.008 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004409/0.04667, allocations: 386.9 kB / 358.7 MB, free: 8.613 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006927/0.04736, allocations: 0.7364 MB / 359.4 MB, free: 7.875 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005018/0.04787, allocations: 426.6 kB / 359.8 MB, free: 7.457 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.779e-05/0.04793, allocations: 56 kB / 359.9 MB, free: 7.402 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008863/0.0568, allocations: 6.259 MB / 366.1 MB, free: 1.137 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.05691, allocations: 147.3 kB / 366.3 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.05718, allocations: 307.2 kB / 366.6 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005032/0.06221, allocations: 4.778 MB / 371.3 MB, free: 11.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.06221, allocations: 0 / 371.3 MB, free: 11.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.06222, allocations: 4 kB / 371.4 MB, free: 11.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.06222, allocations: 0 / 371.4 MB, free: 11.9 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002629/0.06485, allocations: 1.598 MB / 372.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.06488, allocations: 8.031 kB / 373 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004091/0.06529, allocations: 196.6 kB / 373.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006165/0.06591, allocations: 489.9 kB / 373.6 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.06607, allocations: 275.5 kB / 373.9 MB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.278e-05/0.06613, allocations: 52.38 kB / 373.9 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.06713, allocations: 0.6187 MB / 374.6 MB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.06715, allocations: 3.938 kB / 374.6 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.06718, allocations: 28 kB / 374.6 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.0672, allocations: 12 kB / 374.6 MB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008254/0.06802, allocations: 379.3 kB / 375 MB, free: 8.117 MB / 346.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.001725/0.06975, allocations: 1.835 MB / 376.8 MB, free: 6.223 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006067/0.07036, allocations: 234.4 kB / 377 MB, free: 5.957 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.928e-05/0.07043, allocations: 51.55 kB / 377.1 MB, free: 5.895 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.07046, allocations: 7.984 kB / 377.1 MB, free: 5.887 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.07048, allocations: 46.5 kB / 377.1 MB, free: 5.832 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.463e-06/0.07049, allocations: 0 / 377.1 MB, free: 5.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001339/0.07182, allocations: 449.1 kB / 377.6 MB, free: 5.387 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.07188, allocations: 132.5 kB / 377.7 MB, free: 5.227 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/0.07223, allocations: 488.1 kB / 378.2 MB, free: 4.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.07226, allocations: 33.7 kB / 378.2 MB, free: 4.699 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.07241, allocations: 310 kB / 378.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/0.07247, allocations: 79.25 kB / 378.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.551e-05/0.07255, allocations: 61.66 kB / 378.7 MB, free: 4.242 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.07267, allocations: 374.6 kB / 379 MB, free: 3.867 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.556e-05/0.07274, allocations: 28.84 kB / 379.1 MB, free: 3.836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-05/0.07283, allocations: 67.91 kB / 379.1 MB, free: 3.758 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.07301, allocations: 119.2 kB / 379.2 MB, free: 3.629 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.07301, allocations: 0 / 379.2 MB, free: 3.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002622/0.07327, allocations: 161.4 kB / 379.4 MB, free: 3.465 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.07329, allocations: 8 kB / 379.4 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.07329, allocations: 0 / 379.4 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.0733, allocations: 11.98 kB / 379.4 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.07366, allocations: 93.28 kB / 379.5 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.07366, allocations: 4.312 kB / 379.5 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.07384, allocations: 23.78 kB / 379.5 MB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.07386, allocations: 11.98 kB / 379.5 MB, free: 3.316 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001331/0.074, allocations: 108.1 kB / 379.7 MB, free: 3.207 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.997e-05/0.0741, allocations: 101.4 kB / 379.8 MB, free: 3.074 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001704/0.07427, allocations: 153.2 kB / 379.9 MB, free: 2.891 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.418e-06/0.07427, allocations: 11.94 kB / 379.9 MB, free: 2.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0002569/0.07453, allocations: 173.3 kB / 380.1 MB, free: 2.703 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.962e-06/0.07454, allocations: 4 kB / 380.1 MB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.07454, allocations: 4 kB / 380.1 MB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.388e-06/0.07454, allocations: 8.219 kB / 380.1 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.07479, allocations: 88.36 kB / 380.2 MB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.0748, allocations: 8.234 kB / 380.2 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.07498, allocations: 15.89 kB / 380.2 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.075, allocations: 16 kB / 380.2 MB, free: 2.562 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq1.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq4.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.028e-05/0.07509, allocations: 197.5 kB / 380.4 MB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.0752, allocations: 47.94 kB / 380.5 MB, free: 2.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.07549, allocations: 206.9 kB / 380.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.07549, allocations: 0 / 380.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.0755, allocations: 4 kB / 380.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.0755, allocations: 0 / 380.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009766/0.07648, allocations: 0.8455 MB / 381.5 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.07648, allocations: 4 kB / 381.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.07661, allocations: 55.89 kB / 381.6 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.07662, allocations: 7.938 kB / 381.6 MB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.07663, allocations: 12 kB / 381.6 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.07664, allocations: 4 kB / 381.6 MB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.07664, allocations: 7.938 kB / 381.6 MB, free: 1.102 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.07697, allocations: 0.5457 MB / 382.2 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.07704, allocations: 63.48 kB / 382.2 MB, free: 452 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.66e-05/0.0771, allocations: 15.95 kB / 382.2 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.07736, allocations: 8 kB / 382.2 MB, free: 428 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/0.0774, allocations: 31.83 kB / 382.3 MB, free: 396 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.07741, allocations: 12 kB / 382.3 MB, free: 384 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.07756, allocations: 244.6 kB / 382.5 MB, free: 144 kB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07756, allocations: 4 kB / 382.5 MB, free: 140 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.001307/0.07887, allocations: 1.126 MB / 383.6 MB, free: 15.01 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006303/0.08517, allocations: 1.167 MB / 384.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004176/0.08559, allocations: 193.6 kB / 385 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.26e-05/0.08561, allocations: 4.062 kB / 385 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.08572, allocations: 72.62 kB / 385.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.08737, allocations: 372.6 kB / 385.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.08943, allocations: 1.114 MB / 386.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.08956, allocations: 137.5 kB / 386.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001029/0.09059, allocations: 0.8369 MB / 387.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005504/0.09114, allocations: 233.1 kB / 387.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.09114, allocations: 0 / 387.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of Templates: time 0.03772/0.1289, allocations: 42.92 MB / 430.7 MB, free: 80 kB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.025098029058427]