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.0008714/0.0008714, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004345/0.004345, allocations: 165.1 kB / 24.7 MB, free: 9.426 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.8798/0.8798, allocations: 177.2 MB / 205 MB, free: 5.723 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.09248/0.09248, allocations: 19.73 MB / 281.2 MB, free: 9.453 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.813e-06/1.813e-06, allocations: 0 / 417.8 MB, free: 7.383 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.505e-05, allocations: 10.92 kB / 417.8 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.03087/0.03089, allocations: 40.71 MB / 458.5 MB, free: 9.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008242/0.03914, allocations: 8.413 MB / 466.9 MB, free: 1.375 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003515/0.03949, allocations: 23.75 kB / 467 MB, free: 1.352 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005968/0.04008, allocations: 202.4 kB / 467.2 MB, free: 1.152 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004785/0.04056, allocations: 321.5 kB / 467.5 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01213/0.05269, allocations: 5.216 MB / 472.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.0537, allocations: 0.926 MB / 473.6 MB, free: 10.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.054, allocations: 234.8 kB / 473.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006895/0.05469, allocations: 0.5373 MB / 474.4 MB, free: 9.918 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.05493, allocations: 259.2 kB / 474.6 MB, free: 9.664 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.05497, allocations: 32 kB / 474.7 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007245/0.06221, allocations: 5.911 MB / 480.6 MB, free: 3.715 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.532e-05/0.06229, allocations: 91.53 kB / 480.7 MB, free: 3.625 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.06259, allocations: 191.5 kB / 480.9 MB, free: 3.438 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004627/0.06722, allocations: 4.743 MB / 485.6 MB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.06723, allocations: 4 kB / 485.6 MB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.06723, allocations: 0 / 485.6 MB, free: 14.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.06724, allocations: 0 / 485.6 MB, free: 14.68 MB / 394.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.001811/0.06905, allocations: 1.227 MB / 486.8 MB, free: 13.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.06909, allocations: 12.03 kB / 486.8 MB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002395/0.06933, allocations: 96.53 kB / 486.9 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/0.0698, allocations: 354.2 kB / 487.3 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.06991, allocations: 148 kB / 487.4 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.06994, allocations: 32.38 kB / 487.5 MB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006897/0.07063, allocations: 488.1 kB / 487.9 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.07064, allocations: 3.938 kB / 487.9 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.07067, allocations: 12 kB / 488 MB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.07068, allocations: 8 kB / 488 MB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008408/0.07152, allocations: 0.4964 MB / 488.5 MB, free: 11.71 MB / 394.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.001344/0.07286, allocations: 1.28 MB / 489.7 MB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008891/0.07375, allocations: 421 kB / 490.2 MB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.07397, allocations: 129.6 kB / 490.3 MB, free: 9.824 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/0.07419, allocations: 47.95 kB / 490.3 MB, free: 9.777 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.07421, allocations: 34.56 kB / 490.4 MB, free: 9.734 MB / 394.7 MB Notification: Performance of pre-optimization done (n=23): time 1.323e-06/0.07421, allocations: 0 / 490.4 MB, free: 9.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.001062/0.07527, allocations: 0.5522 MB / 490.9 MB, free: 9.176 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.07531, allocations: 81.11 kB / 491 MB, free: 9.078 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.07557, allocations: 357.9 kB / 491.3 MB, free: 8.715 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.07559, allocations: 33.7 kB / 491.4 MB, free: 8.676 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.07571, allocations: 248.4 kB / 491.6 MB, free: 8.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.844e-05/0.07576, allocations: 87.25 kB / 491.7 MB, free: 8.344 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.566e-05/0.07583, allocations: 57.69 kB / 491.8 MB, free: 8.281 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.07593, allocations: 350.8 kB / 492.1 MB, free: 7.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.07615, allocations: 120.8 kB / 492.2 MB, free: 7.809 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.0764, allocations: 173.5 kB / 492.4 MB, free: 7.621 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.07684, allocations: 265 kB / 492.6 MB, free: 7.344 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.07684, allocations: 0 / 492.6 MB, free: 7.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005686/0.07741, allocations: 357.3 kB / 493 MB, free: 6.988 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.07743, allocations: 8 kB / 493 MB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.07744, allocations: 3.938 kB / 493 MB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.07746, allocations: 7.938 kB / 493 MB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.07766, allocations: 75.88 kB / 493.1 MB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.07767, allocations: 4 kB / 493.1 MB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.07781, allocations: 43.81 kB / 493.1 MB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.07783, allocations: 8 kB / 493.1 MB, free: 6.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002756/0.0781, allocations: 224 kB / 493.4 MB, free: 6.617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002165/0.07832, allocations: 153.1 kB / 493.5 MB, free: 6.449 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003938/0.07871, allocations: 259.3 kB / 493.8 MB, free: 6.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.07872, allocations: 0 / 493.8 MB, free: 6.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004901/0.07921, allocations: 333.1 kB / 494.1 MB, free: 5.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.264e-06/0.07921, allocations: 8 kB / 494.1 MB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.07922, allocations: 0 / 494.1 MB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.987e-06/0.07922, allocations: 4 kB / 494.1 MB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.07938, allocations: 87.88 kB / 494.2 MB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.07939, allocations: 0 / 494.2 MB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.07952, allocations: 35.86 kB / 494.2 MB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.07953, allocations: 12 kB / 494.2 MB, free: 5.703 MB / 394.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 9.737e-05/0.07963, allocations: 192.2 kB / 494.4 MB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.07968, allocations: 43.75 kB / 494.5 MB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005722/0.08025, allocations: 348.7 kB / 494.8 MB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.08026, allocations: 7.938 kB / 494.8 MB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.08027, allocations: 3.938 kB / 494.8 MB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.08028, allocations: 3.984 kB / 494.8 MB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/0.08078, allocations: 301 kB / 495.1 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.08078, allocations: 0 / 495.1 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.08093, allocations: 67.88 kB / 495.2 MB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.08093, allocations: 0 / 495.2 MB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.08095, allocations: 11.94 kB / 495.2 MB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.08095, allocations: 0 / 495.2 MB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.08096, allocations: 7.938 kB / 495.2 MB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/0.0815, allocations: 490.3 kB / 495.7 MB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.08154, allocations: 47.7 kB / 495.7 MB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.08158, allocations: 8 kB / 495.7 MB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.08172, allocations: 23.97 kB / 495.8 MB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.08179, allocations: 31.89 kB / 495.8 MB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.0818, allocations: 8 kB / 495.8 MB, free: 4.078 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001639/0.08196, allocations: 247.2 kB / 496 MB, free: 3.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08196, allocations: 0 / 496 MB, free: 3.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001714/0.08368, allocations: 0.9785 MB / 497 MB, free: 2.859 MB / 394.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.002201/0.08588, allocations: 1.099 MB / 498.1 MB, free: 1.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007262/0.0866, allocations: 415.5 kB / 498.5 MB, free: 1.348 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0866, allocations: 0 / 498.5 MB, free: 1.348 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.08682, allocations: 127.8 kB / 498.6 MB, free: 1.223 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006848/0.0875, allocations: 202.1 kB / 498.8 MB, free: 1.027 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.08868, allocations: 0.8207 MB / 499.7 MB, free: 168 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.08884, allocations: 216 kB / 499.9 MB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.591e-05/0.08893, allocations: 52.47 kB / 499.9 MB, free: 15.87 MB / 410.7 MB Notification: Performance of SimCode: time 7.42e-07/0.08893, allocations: 0 / 499.9 MB, free: 15.87 MB / 410.7 MB Notification: Performance of Templates: time 0.02002/0.109, allocations: 20.36 MB / 0.5081 GB, free: 11.52 MB / 426.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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.361437018029392] Failed to read output from testmodel.py, exit status != 0: 0.11523762159049511 0.123396793 0.054393628000000006 Calling exit ...