Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.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.000859/0.000859, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004605/0.004605, allocations: 160.2 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.9376/0.9376, allocations: 177.1 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.08772/0.08772, allocations: 19.74 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.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 417.8 MB, free: 7.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.414e-05, allocations: 2.984 kB / 417.8 MB, free: 7.227 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.04699/0.04702, allocations: 71.1 MB / 488.9 MB, free: 11.19 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.009991/0.05701, allocations: 10.21 MB / 499.1 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005781/0.05759, allocations: 31.69 kB / 499.2 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009589/0.05854, allocations: 400.9 kB / 499.5 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009672/0.05951, allocations: 0.5738 MB / 0.4884 GB, free: 15.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01428/0.07379, allocations: 6.189 MB / 0.4944 GB, free: 9.742 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00166/0.07545, allocations: 1.628 MB / 0.496 GB, free: 8.105 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003872/0.07584, allocations: 366 kB / 0.4964 GB, free: 7.742 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005577/0.0764, allocations: 0.7519 MB / 0.4971 GB, free: 6.988 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000387/0.07678, allocations: 442.6 kB / 0.4975 GB, free: 6.555 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.07684, allocations: 48 kB / 0.4976 GB, free: 6.508 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008024/0.08486, allocations: 6.098 MB / 0.5035 GB, free: 412 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.08496, allocations: 155.2 kB / 0.5037 GB, free: 256 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.08518, allocations: 311.3 kB / 0.504 GB, free: 15.94 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005938/0.09112, allocations: 5.184 MB / 0.509 GB, free: 10.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.09112, allocations: 0 / 0.509 GB, free: 10.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.09112, allocations: 0 / 0.509 GB, free: 10.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.09113, allocations: 0 / 0.509 GB, free: 10.75 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002323/0.09346, allocations: 1.639 MB / 0.5106 GB, free: 9.074 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.0935, allocations: 12.03 kB / 0.5107 GB, free: 9.062 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.09375, allocations: 140.2 kB / 0.5108 GB, free: 8.926 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000664/0.09441, allocations: 0.5174 MB / 0.5113 GB, free: 8.379 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.09459, allocations: 279.5 kB / 0.5116 GB, free: 8.059 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.09463, allocations: 52.38 kB / 0.5116 GB, free: 8.008 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/0.09554, allocations: 0.7275 MB / 0.5123 GB, free: 7.238 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.09556, allocations: 3.938 kB / 0.5123 GB, free: 7.234 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.09559, allocations: 24 kB / 0.5123 GB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.09561, allocations: 12 kB / 0.5124 GB, free: 7.199 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008331/0.09644, allocations: 0.6243 MB / 0.513 GB, free: 6.574 MB / 426.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.001815/0.09825, allocations: 2.146 MB / 0.5151 GB, free: 4.352 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.09873, allocations: 274.4 kB / 0.5153 GB, free: 4.047 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.09887, allocations: 99.52 kB / 0.5154 GB, free: 3.938 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.0989, allocations: 7.938 kB / 0.5154 GB, free: 3.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.09893, allocations: 38.56 kB / 0.5155 GB, free: 3.883 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.824e-06/0.09893, allocations: 0 / 0.5155 GB, free: 3.883 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.001145/0.1001, allocations: 0.5833 MB / 0.516 GB, free: 3.289 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.1001, allocations: 132.5 kB / 0.5162 GB, free: 3.129 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006031/0.1007, allocations: 0.5276 MB / 0.5167 GB, free: 2.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.1008, allocations: 37.69 kB / 0.5167 GB, free: 2.547 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.1009, allocations: 396.1 kB / 0.5171 GB, free: 2.156 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.101, allocations: 83.27 kB / 0.5172 GB, free: 2.074 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.337e-05/0.1011, allocations: 57.69 kB / 0.5172 GB, free: 2.012 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1012, allocations: 374.7 kB / 0.5176 GB, free: 1.637 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.1013, allocations: 88.81 kB / 0.5177 GB, free: 1.547 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.1015, allocations: 127.8 kB / 0.5178 GB, free: 1.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.1018, allocations: 191.4 kB / 0.518 GB, free: 1.211 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1018, allocations: 0 / 0.518 GB, free: 1.211 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004222/0.1022, allocations: 325 kB / 0.5183 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1022, allocations: 8 kB / 0.5183 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1023, allocations: 3.938 kB / 0.5183 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1023, allocations: 4 kB / 0.5183 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.1025, allocations: 71.88 kB / 0.5184 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1025, allocations: 4 kB / 0.5184 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.1026, allocations: 31.7 kB / 0.5184 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.1027, allocations: 12 kB / 0.5184 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002262/0.1029, allocations: 208 kB / 0.5186 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001529/0.103, allocations: 145.7 kB / 0.5187 GB, free: 380 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002648/0.1033, allocations: 225.6 kB / 0.519 GB, free: 120 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.1033, allocations: 0 / 0.519 GB, free: 120 kB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0003859/0.1037, allocations: 305 kB / 0.5193 GB, free: 15.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.823e-06/0.1037, allocations: 4.219 kB / 0.5193 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-06/0.1037, allocations: 8 kB / 0.5193 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-06/0.1037, allocations: 4 kB / 0.5193 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.1038, allocations: 75.83 kB / 0.5193 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.1038, allocations: 4 kB / 0.5193 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.104, allocations: 19.88 kB / 0.5194 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.104, allocations: 16 kB / 0.5194 GB, free: 15.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (31): * Single equations (assignments): 31 * 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.209e-05/0.1041, allocations: 196.1 kB / 0.5196 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/0.1042, allocations: 71.56 kB / 0.5196 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003856/0.1046, allocations: 287.2 kB / 0.5199 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1046, allocations: 8 kB / 0.5199 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1046, allocations: 0 / 0.5199 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1046, allocations: 7.922 kB / 0.5199 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009865/0.1056, allocations: 1.087 MB / 0.521 GB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1056, allocations: 7.938 kB / 0.521 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.575e-05/0.1057, allocations: 56.28 kB / 0.521 GB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1057, allocations: 8 kB / 0.5211 GB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.1057, allocations: 19.92 kB / 0.5211 GB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1057, allocations: 7.938 kB / 0.5211 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1057, allocations: 4 kB / 0.5211 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.1061, allocations: 0.6357 MB / 0.5217 GB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.1062, allocations: 67.5 kB / 0.5218 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.1062, allocations: 8 kB / 0.5218 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.1064, allocations: 4 kB / 0.5218 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.1064, allocations: 47.83 kB / 0.5218 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.1065, allocations: 12 kB / 0.5218 GB, free: 13.01 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002604/0.1067, allocations: 391.1 kB / 0.5222 GB, free: 12.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1067, allocations: 0 / 0.5222 GB, free: 12.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001858/0.1086, allocations: 1.134 MB / 0.5233 GB, free: 11.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (24): * Single equations (assignments): 24 * 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.0025/0.1111, allocations: 1.114 MB / 0.5244 GB, free: 10.37 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004856/0.1116, allocations: 315.4 kB / 0.5247 GB, free: 10.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1116, allocations: 4 kB / 0.5247 GB, free: 10.06 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.1117, allocations: 96.64 kB / 0.5248 GB, free: 9.965 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.1128, allocations: 352.4 kB / 0.5251 GB, free: 9.629 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1139, allocations: 1.132 MB / 0.5262 GB, free: 8.414 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.1141, allocations: 322.4 kB / 0.5266 GB, free: 8.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.1142, allocations: 60.47 kB / 0.5266 GB, free: 8.012 MB / 442.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1142, allocations: 0 / 0.5266 GB, free: 8.012 MB / 442.7 MB Notification: Performance of Templates: time 0.02173/0.1359, allocations: 23.96 MB / 0.55 GB, free: 76 kB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.386817842721939] Failed to read output from testmodel.py, exit status != 0: 0.14186130370944738 0.149470941 0.05668708 Calling exit ...