Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.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.002018/0.002018, allocations: 79.44 kB / 21.28 MB, free: 380 kB / 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.001537/0.001537, allocations: 162.8 kB / 24.54 MB, free: 3.586 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.414/1.414, allocations: 177.2 MB / 204.9 MB, free: 9.27 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.1388/0.1388, allocations: 19.71 MB / 281 MB, free: 13.04 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.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002153/0.002153, allocations: 67.91 kB / 417.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.282, allocations: 60.45 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.05149/0.3335, allocations: 38.73 MB / 0.5047 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.3475, allocations: 8.9 MB / 0.5134 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004835/0.348, allocations: 19.81 kB / 0.5134 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008204/0.3488, allocations: 222.5 kB / 0.5136 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000905/0.3497, allocations: 333.8 kB / 0.5139 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01406/0.3638, allocations: 4.808 MB / 0.5186 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.3651, allocations: 0.8825 MB / 0.5195 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005908/0.3657, allocations: 224.1 kB / 0.5197 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008033/0.3665, allocations: 470.5 kB / 0.5202 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000609/0.3671, allocations: 314.6 kB / 0.5205 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.46e-05/0.3672, allocations: 36 kB / 0.5205 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01267/0.3799, allocations: 5.97 MB / 0.5263 GB, free: 5.242 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.3801, allocations: 95.55 kB / 0.5264 GB, free: 5.148 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003905/0.3805, allocations: 227 kB / 0.5266 GB, free: 4.926 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008572/0.3891, allocations: 3.846 MB / 0.5304 GB, free: 1.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3891, allocations: 0 / 0.5304 GB, free: 1.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.988e-06/0.3891, allocations: 3.984 kB / 0.5304 GB, free: 1.066 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.3891, allocations: 0 / 0.5304 GB, free: 1.066 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.003798/0.3929, allocations: 1.254 MB / 0.5316 GB, free: 15.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.778e-05/0.3929, allocations: 12.03 kB / 0.5316 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003506/0.3933, allocations: 88.58 kB / 0.5317 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007601/0.3941, allocations: 367 kB / 0.5321 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002358/0.3943, allocations: 207.3 kB / 0.5323 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.401e-05/0.3944, allocations: 48.05 kB / 0.5323 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.3956, allocations: 481.7 kB / 0.5328 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3957, allocations: 0 / 0.5328 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.3957, allocations: 12 kB / 0.5328 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.3957, allocations: 11.94 kB / 0.5328 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.397, allocations: 466.2 kB / 0.5332 GB, free: 14.04 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.002093/0.3991, allocations: 1.028 MB / 0.5342 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.4001, allocations: 303.2 kB / 0.5345 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.4004, allocations: 124.8 kB / 0.5346 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.4005, allocations: 4 kB / 0.5346 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.4005, allocations: 30.56 kB / 0.5347 GB, free: 12.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.4005, allocations: 0 / 0.5347 GB, free: 12.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.003605/0.4041, allocations: 0.7518 MB / 0.5354 GB, free: 11.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.4042, allocations: 59.39 kB / 0.5355 GB, free: 11.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004347/0.4046, allocations: 337.7 kB / 0.5358 GB, free: 11.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.4047, allocations: 29.7 kB / 0.5358 GB, free: 11.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.4048, allocations: 232.5 kB / 0.536 GB, free: 11.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.405, allocations: 107 kB / 0.5361 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.4051, allocations: 57.69 kB / 0.5362 GB, free: 10.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.4053, allocations: 354.8 kB / 0.5365 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.4056, allocations: 108.8 kB / 0.5366 GB, free: 10.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.4059, allocations: 115.9 kB / 0.5367 GB, free: 10.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006034/0.4065, allocations: 212.7 kB / 0.5369 GB, free: 10.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4065, allocations: 0 / 0.5369 GB, free: 10.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009761/0.4075, allocations: 382.7 kB / 0.5373 GB, free: 9.723 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.4075, allocations: 4 kB / 0.5373 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4075, allocations: 0 / 0.5373 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/0.4103, allocations: 372.4 kB / 0.5377 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.4107, allocations: 67.88 kB / 0.5377 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.4117, allocations: 0.6733 MB / 0.5384 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.4121, allocations: 27.86 kB / 0.5384 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.4121, allocations: 11.98 kB / 0.5384 GB, free: 8.547 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004073/0.4125, allocations: 208.1 kB / 0.5386 GB, free: 8.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003283/0.4128, allocations: 131.4 kB / 0.5388 GB, free: 8.199 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005328/0.4134, allocations: 207.4 kB / 0.539 GB, free: 7.984 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.4134, allocations: 3.938 kB / 0.539 GB, free: 7.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.001059/0.4144, allocations: 374.9 kB / 0.5393 GB, free: 7.605 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.4144, allocations: 4 kB / 0.5393 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-06/0.4144, allocations: 0 / 0.5393 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003671/0.4148, allocations: 76.81 kB / 0.5394 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.4152, allocations: 79.86 kB / 0.5395 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.417, allocations: 1.433 MB / 0.5409 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.4173, allocations: 31.77 kB / 0.5409 GB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.4173, allocations: 16 kB / 0.5409 GB, free: 5.867 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.4175, allocations: 196.2 kB / 0.5411 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.276e-05/0.4176, allocations: 39.77 kB / 0.5411 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.4187, allocations: 418.9 kB / 0.5415 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4188, allocations: 0 / 0.5415 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4188, allocations: 0 / 0.5415 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.287e-05/0.4188, allocations: 43.66 kB / 0.5416 GB, free: 5.164 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.4189, allocations: 7.984 kB / 0.5416 GB, free: 5.156 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.4191, allocations: 19.92 kB / 0.5416 GB, free: 5.137 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.4192, allocations: 31.89 kB / 0.5416 GB, free: 5.105 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001239/0.4204, allocations: 465.4 kB / 0.5421 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001074/0.4215, allocations: 0.5894 MB / 0.5427 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002934/0.4218, allocations: 116.1 kB / 0.5428 GB, free: 3.922 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002602/0.4221, allocations: 239.2 kB / 0.543 GB, free: 3.688 MB / 446.1 MB Notification: Performance of Backend: time 5.51e-07/0.4221, allocations: 0 / 0.543 GB, free: 3.688 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006491/0.4286, allocations: 1.613 MB / 0.5446 GB, free: 2.059 MB / 446.1 MB Notification: Performance of SimCode: time 0.002103/0.4307, allocations: 1.383 MB / 0.5459 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of Templates: time 0.06114/0.4918, allocations: 40.62 MB / 0.5856 GB, free: 8.117 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.042285851901397] Failed to read output from testmodel.py, exit status != 0: 0.5009026050101966 0.516839748 0.12428710800000001 Calling exit ...