Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 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 1.433/1.433, allocations: 207.6 MB / 232.8 MB, free: 11 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2949/0.2949, allocations: 49.52 MB / 334.4 MB, free: 4.688 MB / 270.1 MB " [Timeout remaining time 179] 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: translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") [Timeout 660] "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.002212/0.002212, allocations: 72.41 kB / 474.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1182, allocations: 62.33 MB / 0.524 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.2494/0.3675, allocations: 45 MB / 0.5679 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01315/0.3807, allocations: 9.326 MB / 0.577 GB, free: 6.711 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004205/0.3811, allocations: 11.38 kB / 0.577 GB, free: 6.707 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007245/0.3818, allocations: 210.2 kB / 0.5772 GB, free: 6.574 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007139/0.3826, allocations: 286.3 kB / 0.5775 GB, free: 6.387 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01444/0.397, allocations: 5.05 MB / 0.5824 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.3982, allocations: 0.7934 MB / 0.5832 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003815/0.3986, allocations: 209.6 kB / 0.5834 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007225/0.3993, allocations: 409.8 kB / 0.5838 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003845/0.3997, allocations: 305.1 kB / 0.5841 GB, free: 2.258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.3997, allocations: 29.69 kB / 0.5841 GB, free: 2.258 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01174/0.4115, allocations: 6.162 MB / 0.5901 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.4116, allocations: 88.94 kB / 0.5902 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004722/0.4121, allocations: 238.3 kB / 0.5904 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008361/0.4205, allocations: 3.716 MB / 0.5941 GB, free: 12.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4205, allocations: 0 / 0.5941 GB, free: 12.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4205, allocations: 1.375 kB / 0.5941 GB, free: 12.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.4205, allocations: 4 kB / 0.5941 GB, free: 12.43 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003439/0.4239, allocations: 1.216 MB / 0.5953 GB, free: 11.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.424, allocations: 12.98 kB / 0.5953 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002596/0.4242, allocations: 77.38 kB / 0.5954 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000566/0.4248, allocations: 380.1 kB / 0.5957 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.4248, allocations: 26.41 kB / 0.5957 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.4249, allocations: 33.28 kB / 0.5958 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.4259, allocations: 436.1 kB / 0.5962 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.4259, allocations: 5.688 kB / 0.5962 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.426, allocations: 12.17 kB / 0.5962 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.426, allocations: 7.969 kB / 0.5962 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.4272, allocations: 358.9 kB / 0.5966 GB, free: 10.62 MB / 446.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.002513/0.4298, allocations: 2.13 MB / 0.5986 GB, free: 8.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.4309, allocations: 284.3 kB / 0.5989 GB, free: 8.418 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003854/0.4313, allocations: 118.4 kB / 0.599 GB, free: 8.348 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06888/0.5002, allocations: 32.24 MB / 0.6305 GB, free: 5.668 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.5003, allocations: 38.56 kB / 0.6305 GB, free: 5.621 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 2.264e-06/0.5003, allocations: 0 / 0.6305 GB, free: 5.621 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.001823/0.5021, allocations: 417 kB / 0.6309 GB, free: 5.207 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.5021, allocations: 81.11 kB / 0.631 GB, free: 5.109 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005652/0.5027, allocations: 446 kB / 0.6314 GB, free: 4.664 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.5027, allocations: 25.7 kB / 0.6315 GB, free: 4.633 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.5029, allocations: 224.4 kB / 0.6317 GB, free: 4.41 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.211e-05/0.503, allocations: 67.36 kB / 0.6317 GB, free: 4.344 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.5031, allocations: 53.64 kB / 0.6318 GB, free: 4.285 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.5033, allocations: 362.7 kB / 0.6321 GB, free: 3.922 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/0.5037, allocations: 100.8 kB / 0.6322 GB, free: 3.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/0.5041, allocations: 160.5 kB / 0.6324 GB, free: 3.637 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007843/0.5049, allocations: 263.8 kB / 0.6326 GB, free: 3.352 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5049, allocations: 3.938 kB / 0.6326 GB, free: 3.348 MB / 478.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009895/0.5059, allocations: 329.2 kB / 0.633 GB, free: 3.02 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.5059, allocations: 11.91 kB / 0.633 GB, free: 3.008 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.5059, allocations: 4 kB / 0.633 GB, free: 3.004 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.5059, allocations: 0 / 0.633 GB, free: 3.004 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.5063, allocations: 77.05 kB / 0.6331 GB, free: 2.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.5063, allocations: 8.062 kB / 0.6331 GB, free: 2.922 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/0.5067, allocations: 51.7 kB / 0.6331 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.5067, allocations: 11.94 kB / 0.6331 GB, free: 2.859 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004477/0.5072, allocations: 192.1 kB / 0.6333 GB, free: 2.668 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003953/0.5076, allocations: 161.3 kB / 0.6335 GB, free: 2.477 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007338/0.5083, allocations: 249.2 kB / 0.6337 GB, free: 2.199 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/0.5083, allocations: 4 kB / 0.6337 GB, free: 2.195 MB / 478.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0009114/0.5092, allocations: 321.6 kB / 0.634 GB, free: 1.875 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.5092, allocations: 4 kB / 0.634 GB, free: 1.871 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.5092, allocations: 4 kB / 0.634 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.5092, allocations: 4 kB / 0.634 GB, free: 1.863 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.5096, allocations: 72.06 kB / 0.6341 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5096, allocations: 4.062 kB / 0.6341 GB, free: 1.789 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.5099, allocations: 40.72 kB / 0.6341 GB, free: 1.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.51, allocations: 15.98 kB / 0.6341 GB, free: 1.734 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (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 prepare postOptimizeDAE: time 0.0001371/0.5101, allocations: 196.1 kB / 0.6343 GB, free: 1.535 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.5102, allocations: 47.67 kB / 0.6344 GB, free: 1.488 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.5114, allocations: 444.6 kB / 0.6348 GB, free: 1.043 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5114, allocations: 0 / 0.6348 GB, free: 1.043 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5114, allocations: 7.938 kB / 0.6348 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.5114, allocations: 0 / 0.6348 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006206/0.512, allocations: 464.6 kB / 0.6352 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.512, allocations: 4 kB / 0.6353 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/0.5123, allocations: 51.89 kB / 0.6353 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.5123, allocations: 4 kB / 0.6353 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.5123, allocations: 7.984 kB / 0.6353 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5123, allocations: 0 / 0.6353 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5123, allocations: 4 kB / 0.6353 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009615/0.5133, allocations: 454.3 kB / 0.6358 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.5134, allocations: 128.8 kB / 0.6359 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.659e-05/0.5135, allocations: 19.84 kB / 0.6359 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.5139, allocations: 23.97 kB / 0.6359 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.5139, allocations: 11.98 kB / 0.6359 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.514, allocations: 15.92 kB / 0.6359 GB, free: 15.79 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005374/0.5145, allocations: 406.8 kB / 0.6363 GB, free: 15.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5145, allocations: 0 / 0.6363 GB, free: 15.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003367/0.5179, allocations: 0.9436 MB / 0.6373 GB, free: 14.45 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (19): * Single equations (assignments): 19 * 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.004267/0.5221, allocations: 0.9697 MB / 0.6382 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.5235, allocations: 340.3 kB / 0.6385 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5235, allocations: 192 / 0.6385 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.5239, allocations: 115.8 kB / 0.6386 GB, free: 13.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.5253, allocations: 236.5 kB / 0.6389 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.5268, allocations: 0.7798 MB / 0.6396 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.5273, allocations: 0.823 MB / 0.6404 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003876/0.5277, allocations: 160.4 kB / 0.6406 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.5278, allocations: 39.42 kB / 0.6406 GB, free: 10.94 MB / 494.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5278, allocations: 0 / 0.6406 GB, free: 10.94 MB / 494.1 MB Notification: Performance of Templates: time 0.05025/0.578, allocations: 34.53 MB / 0.6743 GB, free: 8.355 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.087348393164575]