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.00135/0.00135, allocations: 75.52 kB / 21.28 MB, free: 0.5117 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.001522/0.001522, allocations: 160.8 kB / 24.53 MB, free: 3.836 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.454/1.454, allocations: 177.2 MB / 204.9 MB, free: 9.277 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.1438/0.1438, allocations: 19.7 MB / 281 MB, free: 13.05 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.00208/0.00208, allocations: 71.89 kB / 417.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2659, 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.04423/0.3101, allocations: 38.73 MB / 0.5047 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01284/0.3229, allocations: 8.904 MB / 0.5134 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004233/0.3234, allocations: 19.81 kB / 0.5134 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006962/0.3241, allocations: 222.4 kB / 0.5136 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007054/0.3248, allocations: 321.8 kB / 0.5139 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01277/0.3375, allocations: 4.815 MB / 0.5186 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.3388, allocations: 0.8825 MB / 0.5195 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003974/0.3392, allocations: 236.1 kB / 0.5197 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005887/0.3398, allocations: 462.6 kB / 0.5201 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004375/0.3402, allocations: 314.6 kB / 0.5204 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.265e-05/0.3403, allocations: 32 kB / 0.5205 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01105/0.3513, allocations: 5.97 MB / 0.5263 GB, free: 5.246 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.3515, allocations: 103.5 kB / 0.5264 GB, free: 5.145 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003461/0.3518, allocations: 219 kB / 0.5266 GB, free: 4.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008415/0.3602, allocations: 3.85 MB / 0.5304 GB, free: 1.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3602, allocations: 0 / 0.5304 GB, free: 1.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3602, allocations: 0 / 0.5304 GB, free: 1.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.3603, allocations: 4 kB / 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.00338/0.3636, allocations: 1.265 MB / 0.5316 GB, free: 15.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3637, allocations: 8.031 kB / 0.5316 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000307/0.364, allocations: 80.58 kB / 0.5317 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000644/0.3646, allocations: 367 kB / 0.532 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.3648, allocations: 211.3 kB / 0.5322 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.3649, allocations: 40.12 kB / 0.5323 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.3661, allocations: 481.7 kB / 0.5327 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3661, allocations: 0 / 0.5327 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.3661, allocations: 16 kB / 0.5328 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.3661, allocations: 11.94 kB / 0.5328 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.3673, allocations: 458.2 kB / 0.5332 GB, free: 14.05 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.00191/0.3692, allocations: 1.036 MB / 0.5342 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009659/0.3702, allocations: 298.3 kB / 0.5345 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.3705, allocations: 136.7 kB / 0.5346 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.3706, allocations: 4 kB / 0.5346 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.3706, allocations: 34.56 kB / 0.5347 GB, free: 12.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.3706, allocations: 0 / 0.5347 GB, free: 12.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.003408/0.374, allocations: 0.7479 MB / 0.5354 GB, free: 11.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.374, allocations: 59.39 kB / 0.5355 GB, free: 11.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003851/0.3744, allocations: 337.7 kB / 0.5358 GB, free: 11.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.3745, allocations: 29.7 kB / 0.5358 GB, free: 11.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.3747, allocations: 232.5 kB / 0.536 GB, free: 11.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.428e-05/0.3747, allocations: 103.1 kB / 0.5361 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.3749, allocations: 61.69 kB / 0.5362 GB, free: 10.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.375, allocations: 346.8 kB / 0.5365 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.3753, allocations: 112.8 kB / 0.5366 GB, free: 10.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.3756, allocations: 115.9 kB / 0.5367 GB, free: 10.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005658/0.3762, allocations: 212.7 kB / 0.5369 GB, free: 10.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3762, allocations: 0 / 0.5369 GB, free: 10.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009148/0.3771, allocations: 382.7 kB / 0.5373 GB, free: 9.723 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3771, allocations: 8 kB / 0.5373 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3771, allocations: 0 / 0.5373 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002848/0.38, allocations: 368.3 kB / 0.5377 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.3803, allocations: 67.94 kB / 0.5377 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.3814, allocations: 0.6733 MB / 0.5384 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.3817, allocations: 27.86 kB / 0.5384 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.3817, allocations: 15.98 kB / 0.5384 GB, free: 8.543 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000394/0.3821, allocations: 204.7 kB / 0.5386 GB, free: 8.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002923/0.3824, allocations: 131.3 kB / 0.5387 GB, free: 8.199 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005191/0.3829, allocations: 208.4 kB / 0.5389 GB, free: 7.984 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.522e-06/0.3829, allocations: 7.938 kB / 0.539 GB, free: 7.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.001043/0.384, allocations: 370 kB / 0.5393 GB, free: 7.605 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.384, allocations: 8 kB / 0.5393 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-06/0.384, allocations: 0 / 0.5393 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003712/0.3844, allocations: 72.78 kB / 0.5394 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.3847, allocations: 83.86 kB / 0.5395 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.3865, allocations: 1.433 MB / 0.5409 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.3868, allocations: 31.89 kB / 0.5409 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.3868, allocations: 8 kB / 0.5409 GB, free: 5.871 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.0001651/0.387, allocations: 196.2 kB / 0.5411 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-05/0.3871, allocations: 43.7 kB / 0.5411 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.3882, allocations: 414.9 kB / 0.5415 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.3882, allocations: 12 kB / 0.5415 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.3882, allocations: 0 / 0.5415 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3882, allocations: 0 / 0.5415 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.3887, allocations: 312.9 kB / 0.5418 GB, free: 4.863 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3887, allocations: 4 kB / 0.5418 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.3889, allocations: 43.97 kB / 0.5419 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.3904, allocations: 232.6 kB / 0.5421 GB, free: 4.586 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.3904, allocations: 8 kB / 0.5421 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007646/0.3912, allocations: 0.6889 MB / 0.5428 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3912, allocations: 0 / 0.5428 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.3922, allocations: 487.8 kB / 0.5432 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.318e-05/0.3923, allocations: 39.64 kB / 0.5433 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.3924, allocations: 7.984 kB / 0.5433 GB, free: 3.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.3926, allocations: 15.94 kB / 0.5433 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.296e-05/0.3927, allocations: 31.94 kB / 0.5433 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.3927, allocations: 11.98 kB / 0.5434 GB, free: 3.262 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000275/0.393, allocations: 239.2 kB / 0.5436 GB, free: 3.027 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.393, allocations: 0 / 0.5436 GB, free: 3.027 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002569/0.3956, allocations: 1.01 MB / 0.5446 GB, free: 2.016 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (V1.fluidState.phase,V2.fluidState.phase,V3.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003149/0.3987, allocations: 0.9736 MB / 0.5455 GB, free: 1.031 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.4005, allocations: 0.5256 MB / 0.546 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4005, allocations: 0 / 0.546 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004537/0.4009, allocations: 164.5 kB / 0.5462 GB, free: 340 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.4021, allocations: 223.8 kB / 0.5464 GB, free: 124 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.4039, allocations: 0.8379 MB / 0.5472 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.4041, allocations: 216.3 kB / 0.5474 GB, free: 15.01 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.4043, allocations: 40.48 kB / 0.5475 GB, free: 14.97 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4043, allocations: 0 / 0.5475 GB, free: 14.97 MB / 462.1 MB Notification: Performance of Templates: time 0.03493/0.4392, allocations: 22.18 MB / 0.5691 GB, free: 8.797 MB / 478.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 sys.exit(0), Time elapsed: 9.605918129906058] Failed to read output from testmodel.py, exit status != 0: 0.44861699314787984 0.46377142200000004 0.1001525 Calling exit ...