Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.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.002449/0.002449, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002831/0.002831, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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 1.566/1.566, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.1543/0.1543, allocations: 19.74 MB / 280.8 MB, free: 9.312 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.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 357.2 MB, free: 6.965 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.805e-05, allocations: 5.547 kB / 357.2 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.06117/0.06119, allocations: 45.67 MB / 402.9 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1527/0.2139, allocations: 9.269 MB / 412.2 MB, free: 16.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005344/0.2144, allocations: 18.62 kB / 412.2 MB, free: 16.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006954/0.2151, allocations: 211.8 kB / 412.4 MB, free: 16.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006476/0.2158, allocations: 322.9 kB / 412.7 MB, free: 16.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01232/0.2281, allocations: 5.196 MB / 417.9 MB, free: 16.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.2292, allocations: 0.9302 MB / 418.8 MB, free: 16.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003415/0.2296, allocations: 245.8 kB / 419.1 MB, free: 16.1 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008131/0.2304, allocations: 0.5311 MB / 419.6 MB, free: 16.05 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003547/0.2308, allocations: 265.5 kB / 419.9 MB, free: 16.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.319e-05/0.2308, allocations: 33.44 kB / 419.9 MB, free: 16.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01133/0.2422, allocations: 5.907 MB / 425.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.2423, allocations: 95.55 kB / 425.9 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003916/0.2427, allocations: 185.5 kB / 426.1 MB, free: 15.9 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009293/0.252, allocations: 4.742 MB / 430.8 MB, free: 14.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.252, allocations: 0 / 430.8 MB, free: 14.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.252, allocations: 0 / 430.8 MB, free: 14.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.252, allocations: 2.781 kB / 430.8 MB, free: 14.59 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003237/0.2552, allocations: 1.36 MB / 432.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.2553, allocations: 9.562 kB / 432.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004888/0.2558, allocations: 142.1 kB / 432.3 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000662/0.2564, allocations: 368.5 kB / 432.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.2566, allocations: 145.5 kB / 432.8 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.038e-05/0.2566, allocations: 33.53 kB / 432.9 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.2579, allocations: 493.9 kB / 433.3 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.258, allocations: 1.688 kB / 433.3 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.764e-05/0.258, allocations: 22.56 kB / 433.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.258, allocations: 9.156 kB / 433.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.2593, allocations: 455.4 kB / 433.8 MB, free: 12.99 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.001732/0.261, allocations: 1.644 MB / 435.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.2623, allocations: 391.8 kB / 435.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.2626, allocations: 117.7 kB / 436 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003976/0.263, allocations: 50.25 kB / 436 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.263, allocations: 39.23 kB / 436 MB, free: 11.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.683e-06/0.263, allocations: 6.844 kB / 436 MB, free: 11.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001586/0.2646, allocations: 0.506 MB / 436.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.2646, allocations: 80.14 kB / 436.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.2649, allocations: 462.3 kB / 437.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.265, allocations: 35.89 kB / 437.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.2651, allocations: 317.1 kB / 437.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.322e-05/0.2652, allocations: 77.83 kB / 437.5 MB, free: 10.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.2653, allocations: 67.44 kB / 437.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2654, allocations: 0.5381 MB / 438.1 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.2657, allocations: 102.2 kB / 438.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.266, allocations: 168.9 kB / 438.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000585/0.2666, allocations: 256.6 kB / 438.6 MB, free: 10.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2666, allocations: 0 / 438.6 MB, free: 10.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007569/0.2673, allocations: 331.5 kB / 438.9 MB, free: 10 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2673, allocations: 6.188 kB / 439 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2673, allocations: 1.172 kB / 439 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.2674, allocations: 6.938 kB / 439 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.2677, allocations: 72.94 kB / 439 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2677, allocations: 5.562 kB / 439 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.2679, allocations: 31.5 kB / 439.1 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.268, allocations: 11.06 kB / 439.1 MB, free: 9.965 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003662/0.2683, allocations: 245.9 kB / 439.3 MB, free: 9.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002876/0.2686, allocations: 158.7 kB / 439.5 MB, free: 9.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005249/0.2692, allocations: 231.8 kB / 439.7 MB, free: 9.645 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.2692, allocations: 0 / 439.7 MB, free: 9.645 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0006783/0.2698, allocations: 317.9 kB / 440 MB, free: 9.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.495e-06/0.2698, allocations: 5.75 kB / 440 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.2698, allocations: 3.188 kB / 440 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/0.2699, allocations: 2.844 kB / 440 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.2701, allocations: 71.33 kB / 440.1 MB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.2702, allocations: 7.922 kB / 440.1 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.2704, allocations: 26.41 kB / 440.1 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.2704, allocations: 9.094 kB / 440.1 MB, free: 9.516 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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 0.0001106/0.2705, allocations: 289 kB / 440.4 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.614e-05/0.2706, allocations: 49.84 kB / 440.5 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007975/0.2714, allocations: 310.6 kB / 440.8 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.2714, allocations: 6.938 kB / 440.8 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2714, allocations: 0 / 440.8 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2714, allocations: 7.922 kB / 440.8 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.2718, allocations: 362.1 kB / 441.1 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2718, allocations: 2.781 kB / 441.1 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.2721, allocations: 58.48 kB / 441.2 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2721, allocations: 4 kB / 441.2 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.2721, allocations: 4.656 kB / 441.2 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2721, allocations: 2.75 kB / 441.2 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2721, allocations: 3.938 kB / 441.2 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006937/0.2728, allocations: 0.5516 MB / 441.8 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.2729, allocations: 36.67 kB / 441.8 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.64e-05/0.273, allocations: 17.73 kB / 441.8 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.2732, allocations: 6.906 kB / 441.8 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.2733, allocations: 31.17 kB / 441.9 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.2733, allocations: 12.3 kB / 441.9 MB, free: 8.504 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002226/0.2735, allocations: 307.6 kB / 442.2 MB, free: 8.352 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2735, allocations: 3.344 kB / 442.2 MB, free: 8.352 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002651/0.2762, allocations: 0.9737 MB / 443.1 MB, free: 8.203 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (ValveLiqChocked.fluidState.phase,ValveVap.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.003129/0.2793, allocations: 1.093 MB / 444.2 MB, free: 7.898 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.2804, allocations: 401.4 kB / 444.6 MB, free: 7.812 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2804, allocations: 0 / 444.6 MB, free: 7.812 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.2807, allocations: 139.8 kB / 444.8 MB, free: 7.781 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.2819, allocations: 218.2 kB / 445 MB, free: 7.691 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.2833, allocations: 0.7865 MB / 445.8 MB, free: 7.223 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.2835, allocations: 215 kB / 446 MB, free: 7.086 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005423/0.284, allocations: 449 kB / 446.4 MB, free: 6.887 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.2841, allocations: 43.27 kB / 446.5 MB, free: 6.871 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2841, allocations: 0 / 446.5 MB, free: 6.871 MB / 330.7 MB Notification: Performance of Templates: time 0.05277/0.3369, allocations: 34.98 MB / 481.4 MB, free: 4.812 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.006330291973427]