Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.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.0009602/0.0009602, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001431/0.001431, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.8913/0.8913, allocations: 177.1 MB / 205 MB, free: 5.637 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.09456/0.09456, allocations: 19.73 MB / 281.2 MB, free: 9.273 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.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 357.9 MB, free: 7.703 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.539e-05, allocations: 2.312 kB / 357.9 MB, free: 7.699 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.01488/0.01489, allocations: 20.06 MB / 378 MB, free: 3.574 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006788/0.02168, allocations: 8.367 MB / 386.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.02185, allocations: 15.88 kB / 386.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000377/0.02223, allocations: 130.9 kB / 386.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.02263, allocations: 325.7 kB / 386.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006506/0.02913, allocations: 4.6 MB / 391.4 MB, free: 6.094 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005983/0.02973, allocations: 0.8441 MB / 392.3 MB, free: 5.242 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.03, allocations: 218.8 kB / 392.5 MB, free: 5.023 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000325/0.03032, allocations: 419 kB / 392.9 MB, free: 4.613 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.03057, allocations: 263.2 kB / 393.2 MB, free: 4.355 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.03061, allocations: 35.94 kB / 393.2 MB, free: 4.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006007/0.03662, allocations: 5.802 MB / 399 MB, free: 14.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.827e-05/0.03668, allocations: 87.61 kB / 399.1 MB, free: 14.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.0368, allocations: 167.7 kB / 399.2 MB, free: 14.26 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003847/0.04065, allocations: 4.49 MB / 403.7 MB, free: 9.762 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.04065, allocations: 0 / 403.7 MB, free: 9.762 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.04065, allocations: 0 / 403.7 MB, free: 9.762 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.04065, allocations: 0 / 403.7 MB, free: 9.762 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001683/0.04234, allocations: 1.218 MB / 405 MB, free: 8.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.04238, allocations: 8.031 kB / 405 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002908/0.04267, allocations: 144.6 kB / 405.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.04297, allocations: 300.3 kB / 405.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-05/0.04305, allocations: 84.61 kB / 405.5 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-05/0.0431, allocations: 32.38 kB / 405.5 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.04363, allocations: 422.2 kB / 405.9 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.04364, allocations: 3.938 kB / 405.9 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.04367, allocations: 16 kB / 405.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.04368, allocations: 11.98 kB / 406 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/0.0441, allocations: 243.6 kB / 406.2 MB, free: 7.188 MB / 378.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.001235/0.04534, allocations: 1.61 MB / 407.8 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.04576, allocations: 223.2 kB / 408 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.942e-05/0.04586, allocations: 76.59 kB / 408.1 MB, free: 5.199 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03059/0.07645, allocations: 17.53 MB / 425.6 MB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.07648, allocations: 45.33 kB / 425.7 MB, free: 3.586 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.07648, allocations: 0 / 425.7 MB, free: 3.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002319/0.0788, allocations: 1.196 MB / 426.9 MB, free: 2.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.07882, allocations: 67.28 kB / 426.9 MB, free: 2.262 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.07901, allocations: 318.3 kB / 427.2 MB, free: 1.938 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002461/0.07926, allocations: 37.69 kB / 427.3 MB, free: 1.895 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.07936, allocations: 255.6 kB / 427.5 MB, free: 1.641 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.75e-05/0.07943, allocations: 138.8 kB / 427.7 MB, free: 1.504 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.228e-05/0.07951, allocations: 75.34 kB / 427.7 MB, free: 1.422 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.07963, allocations: 0.5157 MB / 428.3 MB, free: 0.8945 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.07974, allocations: 79.64 kB / 428.3 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.07989, allocations: 138.7 kB / 428.5 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.08015, allocations: 232.1 kB / 428.7 MB, free: 420 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.08015, allocations: 3.938 kB / 428.7 MB, free: 416 kB / 394.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004808/0.08063, allocations: 369.4 kB / 429.1 MB, free: 32 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.08065, allocations: 4 kB / 429.1 MB, free: 28 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.08065, allocations: 8.062 kB / 429.1 MB, free: 20 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000255/0.08091, allocations: 83.3 kB / 429.2 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.08111, allocations: 83.89 kB / 429.2 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005653/0.08168, allocations: 1.616 MB / 430.8 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.699e-05/0.08177, allocations: 8 kB / 430.9 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.08179, allocations: 12 kB / 430.9 MB, free: 14.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000164/0.08195, allocations: 202.8 kB / 431.1 MB, free: 13.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001257/0.08208, allocations: 135 kB / 431.2 MB, free: 13.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002321/0.08231, allocations: 210.5 kB / 431.4 MB, free: 13.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.08231, allocations: 0 / 431.4 MB, free: 13.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0004354/0.08275, allocations: 360.8 kB / 431.8 MB, free: 13.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.642e-06/0.08276, allocations: 8.031 kB / 431.8 MB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.08276, allocations: 0 / 431.8 MB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.08296, allocations: 75.3 kB / 431.8 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.08313, allocations: 91.77 kB / 431.9 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005041/0.08363, allocations: 1.604 MB / 433.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.577e-05/0.08372, allocations: 11.94 kB / 433.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.08373, allocations: 19.94 kB / 433.6 MB, free: 11.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Valve.fluidState.phase,Tank2.liquidState.phase,Tank1.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.08383, allocations: 284 kB / 433.8 MB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.0839, allocations: 55.88 kB / 433.9 MB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009461/0.08484, allocations: 0.666 MB / 434.6 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.08485, allocations: 11.98 kB / 434.6 MB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.08486, allocations: 0 / 434.6 MB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.08486, allocations: 7.984 kB / 434.6 MB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.0852, allocations: 414.9 kB / 435 MB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.0852, allocations: 0 / 435 MB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.08538, allocations: 79.83 kB / 435.1 MB, free: 9.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000271/0.08566, allocations: 103.2 kB / 435.2 MB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.08567, allocations: 4 kB / 435.2 MB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005086/0.08618, allocations: 1.604 MB / 436.8 MB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.08618, allocations: 4 kB / 436.8 MB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007427/0.08693, allocations: 0.7934 MB / 437.6 MB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.08701, allocations: 75.59 kB / 437.6 MB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.08705, allocations: 8 kB / 437.7 MB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.895e-05/0.08714, allocations: 7.938 kB / 437.7 MB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.0872, allocations: 35.94 kB / 437.7 MB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.08722, allocations: 8 kB / 437.7 MB, free: 7.023 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.08732, allocations: 223 kB / 437.9 MB, free: 6.809 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08732, allocations: 0 / 437.9 MB, free: 6.809 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001473/0.0888, allocations: 0.9477 MB / 438.9 MB, free: 5.859 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Tank1.y,Tank1.h,Tank2.y,Tank2.h) * Number of discrete variables: 5 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,Valve.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00222/0.09102, allocations: 1.075 MB / 439.9 MB, free: 4.773 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007583/0.09177, allocations: 0.4903 MB / 440.4 MB, free: 4.277 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.09178, allocations: 0 / 440.4 MB, free: 4.277 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.09206, allocations: 241.3 kB / 440.7 MB, free: 4.035 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005574/0.09262, allocations: 192.8 kB / 440.9 MB, free: 3.848 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.09426, allocations: 1.044 MB / 441.9 MB, free: 2.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.741e-05/0.09433, allocations: 122.8 kB / 442 MB, free: 2.629 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003041/0.09463, allocations: 342.6 kB / 442.4 MB, free: 2.293 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.0947, allocations: 36.48 kB / 442.4 MB, free: 2.258 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.0947, allocations: 0 / 442.4 MB, free: 2.258 MB / 410.7 MB Notification: Performance of Templates: time 0.1374/0.2321, allocations: 36.2 MB / 478.6 MB, free: 95.12 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.572642480954528]