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.0009422/0.0009422, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.000934/0.000934, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9962/0.9962, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.09621/0.09621, allocations: 19.73 MB / 281.6 MB, free: 9.023 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.583e-06/1.583e-06, allocations: 0 / 305.2 MB, free: 13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.387e-05, allocations: 3.516 kB / 305.2 MB, free: 13 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.02163/0.02165, allocations: 29.36 MB / 334.6 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009039/0.03069, allocations: 9.129 MB / 343.7 MB, free: 7.562 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003421/0.03103, allocations: 31.69 kB / 343.7 MB, free: 7.531 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004969/0.03152, allocations: 237.9 kB / 344 MB, free: 7.297 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000786/0.03231, allocations: 0.6088 MB / 344.6 MB, free: 6.684 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009281/0.04159, allocations: 5.077 MB / 349.7 MB, free: 1.586 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001523/0.04311, allocations: 1.679 MB / 351.3 MB, free: 15.9 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006111/0.04372, allocations: 0.5047 MB / 351.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000772/0.0445, allocations: 0.795 MB / 352.6 MB, free: 14.58 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005332/0.04503, allocations: 0.5024 MB / 353.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.927e-05/0.04511, allocations: 64 kB / 353.2 MB, free: 14.01 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007957/0.05307, allocations: 6.294 MB / 359.5 MB, free: 7.711 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.05318, allocations: 179.2 kB / 359.7 MB, free: 7.535 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.05342, allocations: 351.2 kB / 360 MB, free: 7.191 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004898/0.05832, allocations: 4.91 MB / 364.9 MB, free: 2.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.05832, allocations: 3.984 kB / 364.9 MB, free: 2.266 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.05833, allocations: 0 / 364.9 MB, free: 2.266 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.05833, allocations: 0 / 364.9 MB, free: 2.266 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.002416/0.06075, allocations: 1.723 MB / 366.6 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.06078, allocations: 16.02 kB / 366.7 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003605/0.06114, allocations: 224.5 kB / 366.9 MB, free: 280 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/0.06166, allocations: 0.4901 MB / 367.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.06182, allocations: 342.9 kB / 367.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.06187, allocations: 52.38 kB / 367.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009293/0.0628, allocations: 0.7098 MB / 368.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.06281, allocations: 7.938 kB / 368.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.06285, allocations: 24 kB / 368.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.06286, allocations: 12 kB / 368.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007508/0.06361, allocations: 465.9 kB / 369 MB, free: 14.07 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.001861/0.06547, allocations: 1.537 MB / 370.5 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006405/0.06611, allocations: 355.2 kB / 370.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.06623, allocations: 98.88 kB / 370.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.06627, allocations: 12.38 kB / 371 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.06629, allocations: 42.92 kB / 371 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000261/0.06655, allocations: 95.75 kB / 371.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 1.653e-06/0.06656, allocations: 0 / 371.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.003707/0.07026, allocations: 1.492 MB / 372.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.0703, allocations: 63.34 kB / 372.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.07057, allocations: 500 kB / 373.1 MB, free: 9.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.0706, allocations: 33.7 kB / 373.2 MB, free: 9.766 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.07071, allocations: 290.8 kB / 373.4 MB, free: 9.477 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.16e-05/0.0708, allocations: 162.6 kB / 373.6 MB, free: 9.316 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.533e-05/0.07089, allocations: 90.11 kB / 373.7 MB, free: 9.223 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.07099, allocations: 386.6 kB / 374.1 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.0711, allocations: 62.83 kB / 374.1 MB, free: 8.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.602e-05/0.07119, allocations: 68.45 kB / 374.2 MB, free: 8.707 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.07142, allocations: 188.7 kB / 374.4 MB, free: 8.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.07142, allocations: 0 / 374.4 MB, free: 8.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004556/0.07188, allocations: 327.2 kB / 374.7 MB, free: 8.191 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.07189, allocations: 4 kB / 374.7 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.0719, allocations: 4 kB / 374.7 MB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003067/0.07497, allocations: 0.985 MB / 375.7 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.0751, allocations: 55.91 kB / 375.8 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007394/0.07584, allocations: 0.7656 MB / 376.5 MB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.07605, allocations: 28.05 kB / 376.5 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/0.0761, allocations: 11.98 kB / 376.6 MB, free: 6.316 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001746/0.07628, allocations: 149.1 kB / 376.7 MB, free: 6.164 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001052/0.07638, allocations: 99.94 kB / 376.8 MB, free: 6.059 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002029/0.07658, allocations: 186.2 kB / 377 MB, free: 5.867 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-06/0.07659, allocations: 7.969 kB / 377 MB, free: 5.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization_lambda0): time 0.0004076/0.07699, allocations: 303.2 kB / 377.3 MB, free: 5.559 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.077, allocations: 8 kB / 377.3 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.07701, allocations: 0 / 377.3 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/0.07717, allocations: 60.78 kB / 377.4 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.07741, allocations: 107.8 kB / 377.5 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006807/0.0781, allocations: 1.253 MB / 378.7 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.07827, allocations: 24.02 kB / 378.7 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.07829, allocations: 11.98 kB / 378.7 MB, free: 4.012 MB / 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 9.873e-05/0.07839, allocations: 201 kB / 378.9 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.07846, allocations: 55.94 kB / 379 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005719/0.07903, allocations: 481.1 kB / 379.5 MB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.07903, allocations: 8 kB / 379.5 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.92e-07/0.07903, allocations: 0 / 379.5 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.07904, allocations: 3.984 kB / 379.5 MB, free: 3.254 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.08011, allocations: 0.8839 MB / 380.4 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.08011, allocations: 4 kB / 380.4 MB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.08023, allocations: 59.91 kB / 380.4 MB, free: 2.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009311/0.08116, allocations: 445.1 kB / 380.9 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.08119, allocations: 19.98 kB / 380.9 MB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005801/0.08177, allocations: 0.8137 MB / 381.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.08177, allocations: 7.938 kB / 381.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007353/0.0825, allocations: 0.5038 MB / 382.2 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.08256, allocations: 71.45 kB / 382.3 MB, free: 364 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.08261, allocations: 12 kB / 382.3 MB, free: 352 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.08278, allocations: 16 kB / 382.3 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.08287, allocations: 56.33 kB / 382.4 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.08289, allocations: 19.98 kB / 382.4 MB, free: 260 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.08303, allocations: 240.6 kB / 382.6 MB, free: 24 kB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.08303, allocations: 4 kB / 382.6 MB, free: 20 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.001679/0.08471, allocations: 1.189 MB / 383.8 MB, free: 14.83 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.002161/0.08687, allocations: 1.168 MB / 385 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008302/0.0877, allocations: 0.5385 MB / 385.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.08771, allocations: 4 kB / 385.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.08804, allocations: 262 kB / 385.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009426/0.08899, allocations: 440.5 kB / 386.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.09056, allocations: 1.29 MB / 387.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.259e-05/0.09064, allocations: 147.8 kB / 387.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005636/0.0912, allocations: 0.6687 MB / 388.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.09157, allocations: 249.1 kB / 388.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.09157, allocations: 0 / 388.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of Templates: time 0.05175/0.1433, allocations: 49.33 MB / 437.9 MB, free: 8.953 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.671653690282255]