Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.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.00139/0.00139, allocations: 113 kB / 19.04 MB, free: 3.254 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.001337/0.001337, allocations: 197.9 kB / 22.22 MB, free: 72 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.535/1.535, allocations: 207.6 MB / 232.8 MB, free: 10.98 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.2939/0.2939, allocations: 49.52 MB / 334.4 MB, free: 4.672 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.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") [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.002282/0.002282, allocations: 72.45 kB / 474.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1111, allocations: 62.32 MB / 0.524 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.2725/0.3836, allocations: 78.87 MB / 0.601 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01502/0.3986, allocations: 11.16 MB / 0.6119 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000773/0.3994, allocations: 20 kB / 0.6119 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.4007, allocations: 405.8 kB / 0.6123 GB, free: 10.17 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.402, allocations: 0.514 MB / 0.6128 GB, free: 9.73 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01615/0.4181, allocations: 5.883 MB / 0.6185 GB, free: 5.523 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002218/0.4203, allocations: 1.373 MB / 0.6199 GB, free: 4.602 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00062/0.4209, allocations: 337.4 kB / 0.6202 GB, free: 4.262 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008075/0.4217, allocations: 486.1 kB / 0.6207 GB, free: 3.785 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006397/0.4224, allocations: 0.5093 MB / 0.6212 GB, free: 3.273 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.282e-05/0.4225, allocations: 44 kB / 0.6212 GB, free: 3.23 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01245/0.4349, allocations: 6.358 MB / 0.6274 GB, free: 12.87 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.4351, allocations: 127.4 kB / 0.6275 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006094/0.4357, allocations: 401.9 kB / 0.6279 GB, free: 12.35 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008231/0.444, allocations: 4.13 MB / 0.6319 GB, free: 8.207 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.444, allocations: 0 / 0.6319 GB, free: 8.207 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.444, allocations: 0 / 0.6319 GB, free: 8.207 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.444, allocations: 0 / 0.6319 GB, free: 8.207 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.003314/0.4473, allocations: 1.531 MB / 0.6334 GB, free: 6.621 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.4473, allocations: 15.89 kB / 0.6335 GB, free: 6.605 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003733/0.4477, allocations: 120.3 kB / 0.6336 GB, free: 6.488 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008183/0.4485, allocations: 0.5233 MB / 0.6341 GB, free: 5.926 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.4486, allocations: 41.38 kB / 0.6341 GB, free: 5.887 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.035e-05/0.4486, allocations: 48.56 kB / 0.6342 GB, free: 5.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.4498, allocations: 0.6087 MB / 0.6348 GB, free: 5.164 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.4498, allocations: 7.938 kB / 0.6348 GB, free: 5.156 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.4498, allocations: 20 kB / 0.6348 GB, free: 5.137 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.4499, allocations: 19.92 kB / 0.6348 GB, free: 5.117 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008101/0.4507, allocations: 364.4 kB / 0.6352 GB, free: 4.762 MB / 478.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.003639/0.4543, allocations: 3.541 MB / 0.6386 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/0.4548, allocations: 182.4 kB / 0.6388 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.4549, allocations: 63.45 kB / 0.6388 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0672/0.5221, allocations: 32.11 MB / 0.6702 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.5222, allocations: 42.5 kB / 0.6702 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 2.365e-06/0.5222, allocations: 0 / 0.6702 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.001368/0.5236, allocations: 368.9 kB / 0.6706 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/0.5236, allocations: 128.5 kB / 0.6707 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009684/0.5246, allocations: 0.728 MB / 0.6714 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.5246, allocations: 25.7 kB / 0.6715 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.5249, allocations: 360.1 kB / 0.6718 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.525, allocations: 47.61 kB / 0.6718 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-05/0.5251, allocations: 57.64 kB / 0.6719 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5252, allocations: 318 kB / 0.6722 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.5253, allocations: 52.84 kB / 0.6723 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.5255, allocations: 126.3 kB / 0.6724 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.5258, allocations: 194 kB / 0.6726 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5258, allocations: 0 / 0.6726 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000518/0.5264, allocations: 297.4 kB / 0.6728 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.5264, allocations: 8.25 kB / 0.6729 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5264, allocations: 8 kB / 0.6729 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.5264, allocations: 4 kB / 0.6729 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.5267, allocations: 56.03 kB / 0.6729 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.5267, allocations: 4 kB / 0.6729 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003673/0.5271, allocations: 51.5 kB / 0.673 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.5271, allocations: 16.86 kB / 0.673 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002238/0.5274, allocations: 164 kB / 0.6731 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001985/0.5276, allocations: 183.9 kB / 0.6733 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003033/0.5279, allocations: 243.4 kB / 0.6735 GB, free: 9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.677e-06/0.5279, allocations: 3.984 kB / 0.6736 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004601/0.5283, allocations: 305.2 kB / 0.6738 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.5283, allocations: 16 kB / 0.6739 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.5283, allocations: 4 kB / 0.6739 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5284, allocations: 8 kB / 0.6739 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.5286, allocations: 59.84 kB / 0.6739 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.5286, allocations: 7.984 kB / 0.6739 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.5289, allocations: 14.77 kB / 0.6739 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.5289, allocations: 16 kB / 0.674 GB, free: 8.57 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 initialization (23): * Single equations (assignments): 23 * 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.0001451/0.5291, allocations: 204 kB / 0.6742 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.5292, allocations: 79.48 kB / 0.6742 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000675/0.5299, allocations: 0.5056 MB / 0.6747 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5299, allocations: 4 kB / 0.6747 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5299, allocations: 0 / 0.6747 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5299, allocations: 0 / 0.6747 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008703/0.5308, allocations: 0.6129 MB / 0.6753 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.5308, allocations: 4 kB / 0.6753 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.589e-05/0.5309, allocations: 23.98 kB / 0.6754 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.5309, allocations: 0 / 0.6754 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.5309, allocations: 7.984 kB / 0.6754 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.5309, allocations: 11.88 kB / 0.6754 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5309, allocations: 0 / 0.6754 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.5314, allocations: 0.5054 MB / 0.6759 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.5315, allocations: 156.5 kB / 0.676 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.5317, allocations: 35.73 kB / 0.6761 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.532, allocations: 4 kB / 0.6761 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.532, allocations: 15.92 kB / 0.6761 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.532, allocations: 4 kB / 0.6761 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009415/0.533, allocations: 0.7267 MB / 0.6768 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.533, allocations: 0 / 0.6768 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002822/0.5358, allocations: 1.057 MB / 0.6778 GB, free: 4.512 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * 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.003168/0.539, allocations: 0.983 MB / 0.6788 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004397/0.5394, allocations: 204.2 kB / 0.679 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5394, allocations: 0 / 0.679 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.644e-05/0.5395, allocations: 31.92 kB / 0.679 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/0.5419, allocations: 462.6 kB / 0.6794 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.5436, allocations: 1.126 MB / 0.6805 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006035/0.5442, allocations: 0.9291 MB / 0.6815 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005141/0.5447, allocations: 291.3 kB / 0.6817 GB, free: 436 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.5448, allocations: 59.42 kB / 0.6818 GB, free: 376 kB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.5448, allocations: 0 / 0.6818 GB, free: 376 kB / 0.5137 GB Notification: Performance of Templates: time 0.05866/0.6035, allocations: 39.91 MB / 0.7208 GB, free: 8.383 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.513454274274409]