Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.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.001224/0.001224, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.001033/0.001033, allocations: 168.6 kB / 25.61 MB, free: 8.898 MB / 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.9007/0.9007, allocations: 177.1 MB / 206.1 MB, free: 4.492 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.1207/0.1207, allocations: 19.74 MB / 282.3 MB, free: 12.13 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.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 359.2 MB, free: 44.22 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026e-05/1.151e-05, allocations: 6.234 kB / 359.2 MB, free: 44.21 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.01632/0.01633, allocations: 29.09 MB / 388.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006395/0.02273, allocations: 8.965 MB / 397.3 MB, free: 6.742 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000331/0.02306, allocations: 31.69 kB / 397.3 MB, free: 6.711 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004669/0.02353, allocations: 245.9 kB / 397.5 MB, free: 6.469 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006468/0.02417, allocations: 0.601 MB / 398.1 MB, free: 5.863 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007754/0.03193, allocations: 5.497 MB / 403.6 MB, free: 356 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.03329, allocations: 1.674 MB / 405.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00055/0.03384, allocations: 0.4924 MB / 405.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000702/0.03454, allocations: 0.8028 MB / 406.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000738/0.03528, allocations: 0.527 MB / 407.1 MB, free: 12.83 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.005e-05/0.03535, allocations: 68 kB / 407.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00678/0.04213, allocations: 5.88 MB / 413.1 MB, free: 6.875 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.04224, allocations: 179.2 kB / 413.2 MB, free: 6.699 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002675/0.04251, allocations: 351.2 kB / 413.6 MB, free: 6.355 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00566/0.04817, allocations: 4.907 MB / 418.5 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.04817, allocations: 0 / 418.5 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.04817, allocations: 0 / 418.5 MB, free: 1.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.04818, allocations: 0 / 418.5 MB, free: 1.438 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002532/0.05071, allocations: 1.82 MB / 420.3 MB, free: 15.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.05074, allocations: 8.031 kB / 420.3 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003626/0.05111, allocations: 248 kB / 420.6 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005463/0.05165, allocations: 0.5747 MB / 421.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003955/0.05205, allocations: 338.9 kB / 421.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/0.05211, allocations: 57.69 kB / 421.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009287/0.05303, allocations: 0.7108 MB / 422.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.05305, allocations: 3.938 kB / 422.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/0.05309, allocations: 28 kB / 422.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.0531, allocations: 12 kB / 422.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007396/0.05384, allocations: 0.5096 MB / 422.8 MB, free: 12.97 MB / 346.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.001881/0.05572, allocations: 2.098 MB / 424.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006492/0.05637, allocations: 376.2 kB / 425.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.05651, allocations: 116.4 kB / 425.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.05655, allocations: 16.36 kB / 425.4 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.05657, allocations: 45.77 kB / 425.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002814/0.05685, allocations: 103.7 kB / 425.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 1.674e-06/0.05685, allocations: 0 / 425.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.004107/0.06096, allocations: 1.604 MB / 427.1 MB, free: 8.539 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.06099, allocations: 55.41 kB / 427.2 MB, free: 8.473 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.06131, allocations: 0.5499 MB / 427.7 MB, free: 7.906 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.06134, allocations: 41.7 kB / 427.8 MB, free: 7.859 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.06153, allocations: 423.6 kB / 428.2 MB, free: 7.438 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.0617, allocations: 158.6 kB / 428.4 MB, free: 7.281 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.06181, allocations: 103.8 kB / 428.5 MB, free: 7.172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.06195, allocations: 0.5546 MB / 429 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.06208, allocations: 89.61 kB / 429.1 MB, free: 6.512 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.0622, allocations: 84.44 kB / 429.2 MB, free: 6.434 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.06247, allocations: 199.3 kB / 429.4 MB, free: 6.234 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.06247, allocations: 3.938 kB / 429.4 MB, free: 6.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006214/0.06309, allocations: 464.5 kB / 429.8 MB, free: 5.766 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.06311, allocations: 8 kB / 429.8 MB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.06311, allocations: 0 / 429.8 MB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003196/0.06631, allocations: 1.023 MB / 430.9 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.06644, allocations: 59.89 kB / 430.9 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009436/0.06738, allocations: 1.105 MB / 432 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.06759, allocations: 15.98 kB / 432 MB, free: 3.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.06762, allocations: 15.98 kB / 432.1 MB, free: 3.504 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001934/0.06781, allocations: 207.8 kB / 432.3 MB, free: 3.297 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001375/0.06795, allocations: 124.5 kB / 432.4 MB, free: 3.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002378/0.06819, allocations: 194.9 kB / 432.6 MB, free: 2.957 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.283e-06/0.06819, allocations: 0 / 432.6 MB, free: 2.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization_lambda0): time 0.0005331/0.06872, allocations: 404.6 kB / 433 MB, free: 2.555 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/0.06873, allocations: 4 kB / 433 MB, free: 2.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.06873, allocations: 64 / 433 MB, free: 2.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001957/0.06893, allocations: 63.62 kB / 433 MB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.06916, allocations: 103.8 kB / 433.1 MB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008429/0.07, allocations: 1.825 MB / 435 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.07019, allocations: 19.98 kB / 435 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.07022, allocations: 19.98 kB / 435 MB, free: 420 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,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 (28): * Single equations (assignments): 27 * 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 {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.07034, allocations: 280.1 kB / 435.3 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.784e-05/0.07043, allocations: 87.53 kB / 435.4 MB, free: 44 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009628/0.0714, allocations: 0.5709 MB / 435.9 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.0714, allocations: 8 kB / 435.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.0714, allocations: 0 / 435.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.07141, allocations: 3.984 kB / 435.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.07271, allocations: 1.146 MB / 437.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.07271, allocations: 8.188 kB / 437.1 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.07283, allocations: 67.83 kB / 437.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/0.07386, allocations: 464 kB / 437.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.07388, allocations: 19.98 kB / 437.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007278/0.07461, allocations: 1.155 MB / 438.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.07461, allocations: 3.984 kB / 438.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006364/0.07525, allocations: 0.6893 MB / 439.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.07531, allocations: 71.45 kB / 439.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/0.07537, allocations: 15.95 kB / 439.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.07555, allocations: 24 kB / 439.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/0.07564, allocations: 60.33 kB / 439.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.07566, allocations: 19.98 kB / 439.7 MB, free: 11.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001899/0.07585, allocations: 354.9 kB / 440 MB, free: 11.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07585, allocations: 4 kB / 440 MB, free: 11.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001916/0.07777, allocations: 1.177 MB / 441.2 MB, free: 10.06 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (V2.fluidState.phase,V3.fluidState.phase,V5.fluidState.phase,V4.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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 {(7,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002239/0.08001, allocations: 1.133 MB / 442.3 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.08121, allocations: 0.6525 MB / 443 MB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.08121, allocations: 4 kB / 443 MB, free: 8.234 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003713/0.08158, allocations: 276.9 kB / 443.3 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.08266, allocations: 459.7 kB / 443.7 MB, free: 7.523 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.08425, allocations: 1.288 MB / 445 MB, free: 6.184 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.266e-05/0.08433, allocations: 151.7 kB / 445.1 MB, free: 6.016 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005908/0.08492, allocations: 0.6656 MB / 445.8 MB, free: 5.359 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.08531, allocations: 306 kB / 446.1 MB, free: 5.059 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.08531, allocations: 0 / 446.1 MB, free: 5.059 MB / 362.7 MB Notification: Performance of Templates: time 0.04582/0.1311, allocations: 50.64 MB / 496.7 MB, free: 2.746 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.567886570934206]