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.002008/0.002008, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.002497/0.002497, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.5/1.5, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.1389/0.1389, allocations: 19.74 MB / 280.4 MB, free: 12.9 MB / 270.1 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.443e-06/1.443e-06, allocations: 0 / 417 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.83e-05, allocations: 2.281 kB / 417 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.2461/0.2461, allocations: 71.08 MB / 488.1 MB, free: 2.418 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01376/0.2599, allocations: 10.22 MB / 498.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009651/0.2608, allocations: 34.62 kB / 498.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.2621, allocations: 392.7 kB / 498.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.2634, allocations: 0.5917 MB / 499.4 MB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01578/0.2792, allocations: 6.161 MB / 0.4937 GB, free: 5.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002346/0.2816, allocations: 1.631 MB / 0.4953 GB, free: 3.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006498/0.2822, allocations: 366 kB / 0.4956 GB, free: 3.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.2833, allocations: 0.7519 MB / 0.4963 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006766/0.284, allocations: 442.6 kB / 0.4968 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.473e-05/0.2841, allocations: 52 kB / 0.4968 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01231/0.2964, allocations: 6.095 MB / 0.5028 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.2966, allocations: 143.2 kB / 0.5029 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006487/0.2973, allocations: 315.3 kB / 0.5032 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.011/0.3083, allocations: 5.191 MB / 0.5083 GB, free: 6.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3083, allocations: 0 / 0.5083 GB, free: 6.578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3083, allocations: 0 / 0.5083 GB, free: 6.578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.3083, allocations: 0 / 0.5083 GB, free: 6.578 MB / 398.1 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.00436/0.3127, allocations: 1.643 MB / 0.5099 GB, free: 4.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3127, allocations: 12.03 kB / 0.5099 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004239/0.3131, allocations: 140.2 kB / 0.51 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008954/0.314, allocations: 0.5173 MB / 0.5105 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/0.3143, allocations: 283.5 kB / 0.5108 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.237e-05/0.3144, allocations: 52.38 kB / 0.5109 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.316, allocations: 0.7316 MB / 0.5116 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.316, allocations: 3.984 kB / 0.5116 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-05/0.3161, allocations: 24.88 kB / 0.5116 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.3161, allocations: 19 kB / 0.5116 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.3177, allocations: 0.6165 MB / 0.5122 GB, free: 2.398 MB / 398.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.003011/0.3207, allocations: 2.138 MB / 0.5143 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009686/0.3217, allocations: 282.3 kB / 0.5146 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.3219, allocations: 95.53 kB / 0.5147 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.322, allocations: 7.984 kB / 0.5147 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.322, allocations: 39.44 kB / 0.5147 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.994e-06/0.322, allocations: 3.938 kB / 0.5147 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.002203/0.3242, allocations: 0.5779 MB / 0.5153 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/0.3243, allocations: 144.4 kB / 0.5154 GB, free: 14.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/0.3249, allocations: 0.5275 MB / 0.5159 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.3249, allocations: 29.7 kB / 0.516 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.3253, allocations: 400 kB / 0.5163 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.176e-05/0.3253, allocations: 83.27 kB / 0.5164 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.3255, allocations: 61.69 kB / 0.5165 GB, free: 13.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3256, allocations: 378.7 kB / 0.5168 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.3259, allocations: 88.81 kB / 0.5169 GB, free: 13.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.3262, allocations: 127.9 kB / 0.517 GB, free: 13.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/0.3267, allocations: 187.3 kB / 0.5172 GB, free: 13.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3267, allocations: 4 kB / 0.5172 GB, free: 13.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007546/0.3275, allocations: 321.1 kB / 0.5175 GB, free: 12.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3275, allocations: 4 kB / 0.5175 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3275, allocations: 4 kB / 0.5175 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3275, allocations: 0 / 0.5175 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/0.3279, allocations: 71.89 kB / 0.5176 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3279, allocations: 4 kB / 0.5176 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.3283, allocations: 23.88 kB / 0.5176 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.3283, allocations: 15.98 kB / 0.5177 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003816/0.3287, allocations: 200.1 kB / 0.5178 GB, free: 12.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002876/0.329, allocations: 153.5 kB / 0.518 GB, free: 12.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004694/0.3295, allocations: 217.5 kB / 0.5182 GB, free: 11.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.3295, allocations: 0 / 0.5182 GB, free: 11.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0006913/0.3302, allocations: 316.9 kB / 0.5185 GB, free: 11.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3302, allocations: 11.98 kB / 0.5185 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3302, allocations: 4 kB / 0.5185 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/0.3302, allocations: 4 kB / 0.5185 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.3305, allocations: 70.89 kB / 0.5186 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3305, allocations: 4.219 kB / 0.5186 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.3309, allocations: 23.89 kB / 0.5186 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.3309, allocations: 11.98 kB / 0.5186 GB, free: 11.52 MB / 414.1 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 0.0001711/0.3311, allocations: 196.1 kB / 0.5188 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.3312, allocations: 67.58 kB / 0.5189 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007362/0.332, allocations: 294.6 kB / 0.5192 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.332, allocations: 4 kB / 0.5192 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.332, allocations: 0 / 0.5192 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.332, allocations: 4 kB / 0.5192 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.3338, allocations: 1.095 MB / 0.5202 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.3338, allocations: 4 kB / 0.5202 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.334, allocations: 55.83 kB / 0.5203 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.334, allocations: 4.875 kB / 0.5203 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.3341, allocations: 12 kB / 0.5203 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.3341, allocations: 4 kB / 0.5203 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.3341, allocations: 12.31 kB / 0.5203 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007487/0.3348, allocations: 0.6385 MB / 0.5209 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3349, allocations: 71.44 kB / 0.521 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-05/0.335, allocations: 15.94 kB / 0.521 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.3354, allocations: 13.48 kB / 0.521 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.3355, allocations: 32.03 kB / 0.5211 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.3355, allocations: 19.98 kB / 0.5211 GB, free: 8.852 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004702/0.336, allocations: 395.1 kB / 0.5215 GB, free: 8.469 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.336, allocations: 0 / 0.5215 GB, free: 8.469 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002988/0.339, allocations: 1.134 MB / 0.5226 GB, free: 7.332 MB / 414.1 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.003829/0.3428, allocations: 1.112 MB / 0.5237 GB, free: 6.207 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009535/0.3438, allocations: 303.5 kB / 0.524 GB, free: 5.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/0.3438, allocations: 0 / 0.524 GB, free: 5.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.344, allocations: 96.95 kB / 0.524 GB, free: 5.816 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.3463, allocations: 370.5 kB / 0.5244 GB, free: 5.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.3481, allocations: 1.107 MB / 0.5255 GB, free: 4.277 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.3484, allocations: 322.2 kB / 0.5258 GB, free: 3.934 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001202/0.3496, allocations: 0.8308 MB / 0.5266 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.3498, allocations: 52.48 kB / 0.5266 GB, free: 3.047 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3498, allocations: 0 / 0.5266 GB, free: 3.047 MB / 414.1 MB Notification: Performance of Templates: time 0.05683/0.4066, allocations: 38 MB / 0.5638 GB, free: 13.23 MB / 462.1 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: 7.23669607937336] Failed to read output from testmodel.py, exit status != 0: 0.4154561683535576 0.429812916 0.118220981 Calling exit ...