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.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.001399/0.001399, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001489/0.001489, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 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.376/1.376, allocations: 158.6 MB / 186.3 MB, free: 6.215 MB / 174.1 MB " [Timeout remaining time 178] 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.2905/0.2905, allocations: 36.36 MB / 274.9 MB, free: 14.64 MB / 270.1 MB " [Timeout remaining time 179] 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.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 79.89 kB / 415.3 MB, free: 14.07 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3269, allocations: 62.38 MB / 477.6 MB, free: 43.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.03188/0.3588, allocations: 40.66 MB / 0.5062 GB, free: 17.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009797/0.3686, allocations: 8.213 MB / 0.5142 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004155/0.369, allocations: 13.94 kB / 0.5142 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006505/0.3697, allocations: 203.1 kB / 0.5144 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006388/0.3703, allocations: 290.3 kB / 0.5147 GB, free: 11.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01406/0.3844, allocations: 4.995 MB / 0.5195 GB, free: 9.449 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.3856, allocations: 0.7977 MB / 0.5203 GB, free: 9.055 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003938/0.386, allocations: 214.6 kB / 0.5205 GB, free: 8.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008202/0.3868, allocations: 390.8 kB / 0.5209 GB, free: 8.797 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000437/0.3872, allocations: 283.3 kB / 0.5212 GB, free: 8.684 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.962e-05/0.3873, allocations: 30.47 kB / 0.5212 GB, free: 8.684 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01295/0.4002, allocations: 5.883 MB / 0.5269 GB, free: 7.242 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.4004, allocations: 83.72 kB / 0.527 GB, free: 7.172 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003677/0.4008, allocations: 199.5 kB / 0.5272 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008846/0.4096, allocations: 3.718 MB / 0.5308 GB, free: 4.688 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.4096, allocations: 7.922 kB / 0.5308 GB, free: 4.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4096, allocations: 0 / 0.5308 GB, free: 4.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.4096, allocations: 0 / 0.5308 GB, free: 4.68 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.003204/0.4128, allocations: 1.131 MB / 0.5319 GB, free: 3.867 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4129, allocations: 13.78 kB / 0.532 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002701/0.4131, allocations: 74.36 kB / 0.532 GB, free: 3.824 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/0.4137, allocations: 314.2 kB / 0.5323 GB, free: 3.551 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.4138, allocations: 25.84 kB / 0.5324 GB, free: 3.535 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.4138, allocations: 29.5 kB / 0.5324 GB, free: 3.527 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009281/0.4147, allocations: 435.3 kB / 0.5328 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.4147, allocations: 0 / 0.5328 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.4148, allocations: 20.53 kB / 0.5328 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.4148, allocations: 6.844 kB / 0.5328 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.416, allocations: 354.5 kB / 0.5332 GB, free: 3.055 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.001888/0.4179, allocations: 1.523 MB / 0.5347 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.419, allocations: 291.8 kB / 0.5349 GB, free: 1.543 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.4194, allocations: 107.4 kB / 0.535 GB, free: 1.484 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06282/0.4822, allocations: 16.87 MB / 0.5515 GB, free: 5.441 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.4822, allocations: 38.55 kB / 0.5515 GB, free: 5.395 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.843e-06/0.4822, allocations: 0 / 0.5515 GB, free: 5.395 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001772/0.484, allocations: 409.1 kB / 0.5519 GB, free: 4.988 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.4841, allocations: 89.05 kB / 0.552 GB, free: 4.883 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.4845, allocations: 341.6 kB / 0.5523 GB, free: 4.543 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.4845, allocations: 25.7 kB / 0.5524 GB, free: 4.512 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.4847, allocations: 244.4 kB / 0.5526 GB, free: 4.27 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.637e-05/0.4848, allocations: 63.47 kB / 0.5527 GB, free: 4.207 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.4849, allocations: 45.69 kB / 0.5527 GB, free: 4.156 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.4851, allocations: 350.7 kB / 0.553 GB, free: 3.805 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.4855, allocations: 104.8 kB / 0.5531 GB, free: 3.699 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.4859, allocations: 153.8 kB / 0.5533 GB, free: 3.523 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008372/0.4867, allocations: 259.4 kB / 0.5535 GB, free: 3.242 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.4867, allocations: 4 kB / 0.5535 GB, free: 3.238 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00101/0.4878, allocations: 321.3 kB / 0.5538 GB, free: 2.918 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.4878, allocations: 4 kB / 0.5538 GB, free: 2.914 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4878, allocations: 7.938 kB / 0.5539 GB, free: 2.906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4878, allocations: 4 kB / 0.5539 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/0.4882, allocations: 67.88 kB / 0.5539 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.4882, allocations: 3.938 kB / 0.5539 GB, free: 2.832 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.4885, allocations: 39.91 kB / 0.554 GB, free: 2.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.4886, allocations: 15.98 kB / 0.554 GB, free: 2.777 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004898/0.4891, allocations: 194.1 kB / 0.5542 GB, free: 2.586 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004381/0.4895, allocations: 169.7 kB / 0.5543 GB, free: 2.387 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007632/0.4903, allocations: 245.2 kB / 0.5546 GB, free: 2.113 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.4903, allocations: 192 / 0.5546 GB, free: 2.113 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.001157/0.4914, allocations: 309.3 kB / 0.5549 GB, free: 1.805 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.4914, allocations: 15.94 kB / 0.5549 GB, free: 1.789 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.4914, allocations: 480 / 0.5549 GB, free: 1.789 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.174e-06/0.4915, allocations: 7.984 kB / 0.5549 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.4918, allocations: 63.89 kB / 0.5549 GB, free: 1.719 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.4918, allocations: 4 kB / 0.5549 GB, free: 1.715 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.4921, allocations: 39.81 kB / 0.555 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.4922, allocations: 16 kB / 0.555 GB, free: 1.66 MB / 462.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.000156/0.4923, allocations: 200.1 kB / 0.5552 GB, free: 1.457 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.4925, allocations: 39.77 kB / 0.5552 GB, free: 1.418 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.4938, allocations: 464 kB / 0.5557 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.4938, allocations: 0 / 0.5557 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4938, allocations: 0 / 0.5557 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.4939, allocations: 4 kB / 0.5557 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006297/0.4945, allocations: 336.8 kB / 0.556 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4945, allocations: 0 / 0.556 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/0.4948, allocations: 55.83 kB / 0.556 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4948, allocations: 4.188 kB / 0.556 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.4948, allocations: 15.86 kB / 0.5561 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4948, allocations: 3.938 kB / 0.5561 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4948, allocations: 0 / 0.5561 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.4959, allocations: 447.5 kB / 0.5565 GB, free: 64 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.496, allocations: 43.69 kB / 0.5565 GB, free: 20 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.566e-05/0.4961, allocations: 15.83 kB / 0.5566 GB, free: 4 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.4965, allocations: 23.97 kB / 0.5566 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.4966, allocations: 7.984 kB / 0.5566 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.4966, allocations: 11.98 kB / 0.5566 GB, free: 15.96 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004375/0.497, allocations: 338.9 kB / 0.5569 GB, free: 15.63 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.497, allocations: 0 / 0.5569 GB, free: 15.63 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00342/0.5005, allocations: 0.9668 MB / 0.5579 GB, free: 14.66 MB / 478.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.004841/0.5053, allocations: 0.9678 MB / 0.5588 GB, free: 13.68 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.5067, allocations: 340.1 kB / 0.5591 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5067, allocations: 8.25 kB / 0.5591 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004101/0.5072, allocations: 99.88 kB / 0.5592 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.5083, allocations: 168.8 kB / 0.5594 GB, free: 13.09 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.5099, allocations: 0.7654 MB / 0.5601 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.5102, allocations: 228.9 kB / 0.5604 GB, free: 12.05 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003671/0.5105, allocations: 156.4 kB / 0.5605 GB, free: 11.89 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.577e-05/0.5106, allocations: 32.48 kB / 0.5605 GB, free: 11.86 MB / 478.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5106, allocations: 4 kB / 0.5605 GB, free: 11.86 MB / 478.1 MB Notification: Performance of Templates: time 0.05325/0.5639, allocations: 33.02 MB / 0.5928 GB, free: 10.84 MB / 0.4981 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 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.10682786302641] Failed to read output from testmodel.py, exit status != 0: 0.5736058040056378 0.588965511 0.175836455 Calling exit ...