Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001307/0.001307, allocations: 83.59 kB / 21.18 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.00141/0.00141, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8165/0.8165, allocations: 158.6 MB / 186.4 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1764/0.1764, allocations: 36.33 MB / 275.1 MB, free: 10.66 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.WaterComponents.ValveZeroFlow2") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 353.8 MB, free: 3.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.187e-05, allocations: 6.312 kB / 353.8 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.01465/0.01467, allocations: 19.8 MB / 373.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009829/0.0245, allocations: 8.269 MB / 381.9 MB, free: 7.238 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.02471, allocations: 7.938 kB / 381.9 MB, free: 7.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004608/0.02517, allocations: 142.9 kB / 382 MB, free: 7.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005784/0.02575, allocations: 313.7 kB / 382.3 MB, free: 6.781 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007806/0.03356, allocations: 4.507 MB / 386.8 MB, free: 2.258 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005683/0.03413, allocations: 0.8054 MB / 387.7 MB, free: 1.449 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.03439, allocations: 222.1 kB / 387.9 MB, free: 1.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.03469, allocations: 403 kB / 388.3 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.03492, allocations: 251.3 kB / 388.5 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.487e-05/0.03496, allocations: 28 kB / 388.5 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006049/0.04101, allocations: 5.79 MB / 394.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.04107, allocations: 87.66 kB / 394.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.04119, allocations: 163.6 kB / 394.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003841/0.04503, allocations: 4.455 MB / 399 MB, free: 6.055 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.04504, allocations: 0 / 399 MB, free: 6.055 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.04504, allocations: 3.938 kB / 399 MB, free: 6.051 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.04504, allocations: 0 / 399 MB, free: 6.051 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001561/0.0466, allocations: 1.152 MB / 400.2 MB, free: 4.859 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.04664, allocations: 12.03 kB / 400.2 MB, free: 4.848 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002835/0.04692, allocations: 140.6 kB / 400.3 MB, free: 4.711 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.04721, allocations: 284.4 kB / 400.6 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.04723, allocations: 29.03 kB / 400.6 MB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.04726, allocations: 28.38 kB / 400.7 MB, free: 4.348 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.04776, allocations: 394 kB / 401 MB, free: 3.918 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.04777, allocations: 192 / 401 MB, free: 3.918 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.04779, allocations: 15.94 kB / 401.1 MB, free: 3.902 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.0478, allocations: 8 kB / 401.1 MB, free: 3.895 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.04811, allocations: 199.6 kB / 401.3 MB, free: 3.699 MB / 330.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.00111/0.04922, allocations: 1.695 MB / 403 MB, free: 1.934 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.0496, allocations: 203.2 kB / 403.2 MB, free: 1.723 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.128e-05/0.04968, allocations: 59.66 kB / 403.2 MB, free: 1.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02747/0.07715, allocations: 16.8 MB / 420 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.07718, allocations: 41.33 kB / 420.1 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 1.883e-06/0.07718, allocations: 0 / 420.1 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.002253/0.07944, allocations: 1.116 MB / 421.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.07947, allocations: 55.41 kB / 421.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.07967, allocations: 314.3 kB / 421.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.07969, allocations: 33.7 kB / 421.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.0798, allocations: 267.1 kB / 421.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/0.07987, allocations: 119 kB / 421.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/0.07994, allocations: 71.34 kB / 422 MB, free: 14.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.08006, allocations: 0.5118 MB / 422.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.08016, allocations: 79.64 kB / 422.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.08029, allocations: 137.6 kB / 422.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.08054, allocations: 217.8 kB / 423 MB, free: 13.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.08054, allocations: 0 / 423 MB, free: 13.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004673/0.08101, allocations: 360 kB / 423.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.08103, allocations: 11.94 kB / 423.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.08103, allocations: 0 / 423.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000257/0.08129, allocations: 83.44 kB / 423.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.08149, allocations: 75.84 kB / 423.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006057/0.08209, allocations: 1.616 MB / 425.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.689e-05/0.08219, allocations: 16.11 kB / 425.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.08221, allocations: 12 kB / 425.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001476/0.08236, allocations: 194.6 kB / 425.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000128/0.08249, allocations: 134 kB / 425.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000212/0.0827, allocations: 210.1 kB / 425.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.42e-07/0.0827, allocations: 0 / 425.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0004215/0.08312, allocations: 347.8 kB / 426 MB, free: 10.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.08313, allocations: 8 kB / 426 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.08313, allocations: 3.938 kB / 426 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002055/0.08334, allocations: 87.44 kB / 426.1 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.0835, allocations: 75.91 kB / 426.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005306/0.08403, allocations: 1.604 MB / 427.8 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/0.08412, allocations: 16.02 kB / 427.8 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.08413, allocations: 16 kB / 427.8 MB, free: 8.664 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (40): * Single equations (assignments): 38 * 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.0001079/0.08424, allocations: 284 kB / 428.1 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.0843, allocations: 51.77 kB / 428.1 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007601/0.08506, allocations: 0.7635 MB / 428.9 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.08507, allocations: 11.98 kB / 428.9 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.08507, allocations: 0 / 428.9 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.08507, allocations: 4 kB / 428.9 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.08544, allocations: 460.1 kB / 429.3 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.08544, allocations: 0 / 429.3 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.08561, allocations: 63.91 kB / 429.4 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002685/0.08587, allocations: 99.25 kB / 429.5 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.08589, allocations: 11.94 kB / 429.5 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005213/0.08642, allocations: 1.608 MB / 431.1 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.08642, allocations: 0 / 431.1 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007378/0.08715, allocations: 0.8331 MB / 432 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/0.08724, allocations: 71.61 kB / 432 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.08727, allocations: 15.88 kB / 432 MB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.08737, allocations: 8 kB / 432 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.08743, allocations: 28.02 kB / 432.1 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.08744, allocations: 11.98 kB / 432.1 MB, free: 4.191 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001051/0.08755, allocations: 215 kB / 432.3 MB, free: 3.984 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08755, allocations: 0 / 432.3 MB, free: 3.984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001631/0.08918, allocations: 0.9321 MB / 433.2 MB, free: 3.051 MB / 362.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: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002303/0.09148, allocations: 1.071 MB / 434.3 MB, free: 1.969 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006918/0.09217, allocations: 489.8 kB / 434.8 MB, free: 1.484 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.09217, allocations: 0 / 434.8 MB, free: 1.484 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002774/0.09245, allocations: 233 kB / 435 MB, free: 1.254 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.09297, allocations: 172.3 kB / 435.2 MB, free: 1.086 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.09437, allocations: 1.084 MB / 436.3 MB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.249e-05/0.09444, allocations: 126.9 kB / 436.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002144/0.09465, allocations: 186.7 kB / 436.6 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.595e-05/0.09472, allocations: 36.44 kB / 436.6 MB, free: 15.61 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.09472, allocations: 0 / 436.6 MB, free: 15.61 MB / 378.7 MB Notification: Performance of Templates: time 0.147/0.2417, allocations: 40.85 MB / 477.4 MB, free: 72.32 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.077072489075363]