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.001434/0.001434, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001586/0.001586, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.467/1.467, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.1492/0.1492, allocations: 19.73 MB / 280.8 MB, free: 9.289 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.343e-06/1.343e-06, allocations: 0 / 357.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.286e-05, allocations: 2.312 kB / 357.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.2038/0.2038, allocations: 65.06 MB / 422.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.2158, allocations: 11 MB / 433.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005097/0.2163, allocations: 33.81 kB / 433.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008752/0.2172, allocations: 404.1 kB / 433.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009536/0.2181, allocations: 0.6041 MB / 434.3 MB, free: 15.28 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01292/0.2311, allocations: 5.941 MB / 440.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.2326, allocations: 1.65 MB / 441.9 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005722/0.2332, allocations: 0.4937 MB / 442.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007804/0.234, allocations: 0.8214 MB / 443.2 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005563/0.2345, allocations: 0.5086 MB / 443.7 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.936e-05/0.2346, allocations: 64.47 kB / 443.8 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009871/0.2445, allocations: 6.213 MB / 450 MB, free: 11.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.2447, allocations: 177.6 kB / 450.2 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005248/0.2452, allocations: 350.8 kB / 450.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00771/0.2529, allocations: 5.443 MB / 456 MB, free: 7.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2529, allocations: 0 / 456 MB, free: 7.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2529, allocations: 0 / 456 MB, free: 7.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.2529, allocations: 0 / 456 MB, free: 7.68 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.004095/0.257, allocations: 1.799 MB / 457.8 MB, free: 5.863 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.2571, allocations: 12.03 kB / 457.8 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005608/0.2576, allocations: 243.3 kB / 458 MB, free: 5.617 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007686/0.2584, allocations: 0.5811 MB / 458.6 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.2585, allocations: 342.5 kB / 458.9 MB, free: 4.656 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.782e-05/0.2586, allocations: 56.38 kB / 459 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.2605, allocations: 0.888 MB / 459.9 MB, free: 3.699 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.2605, allocations: 3.281 kB / 459.9 MB, free: 3.699 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-05/0.2605, allocations: 27.94 kB / 459.9 MB, free: 3.672 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.2605, allocations: 16 kB / 459.9 MB, free: 3.656 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.2626, allocations: 0.8866 MB / 460.8 MB, free: 2.77 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.002876/0.2655, allocations: 1.999 MB / 462.8 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.2669, allocations: 0.5067 MB / 463.3 MB, free: 276 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005591/0.2675, allocations: 245.5 kB / 463.6 MB, free: 28 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.698e-05/0.2675, allocations: 12.36 kB / 463.6 MB, free: 16 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.875e-05/0.2676, allocations: 42.88 kB / 463.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000606/0.2682, allocations: 102.7 kB / 463.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 2.584e-06/0.2682, allocations: 0 / 463.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.01133/0.2795, allocations: 2.076 MB / 465.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.2796, allocations: 63.33 kB / 465.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007392/0.2803, allocations: 0.5277 MB / 466.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/0.2804, allocations: 37.7 kB / 466.4 MB, free: 13.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/0.2808, allocations: 388.9 kB / 466.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.281, allocations: 155.7 kB / 466.9 MB, free: 12.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.2812, allocations: 94.16 kB / 467 MB, free: 12.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002462/0.2814, allocations: 378.8 kB / 467.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006828/0.2821, allocations: 214.7 kB / 467.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006731/0.2828, allocations: 223.7 kB / 467.8 MB, free: 11.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.2841, allocations: 432.4 kB / 468.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2841, allocations: 0 / 468.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002186/0.2863, allocations: 0.7408 MB / 469 MB, free: 10.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2863, allocations: 4 kB / 469 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2863, allocations: 0 / 469 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0097/0.296, allocations: 1.203 MB / 470.2 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.2963, allocations: 71.5 kB / 470.3 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.2986, allocations: 0.9845 MB / 471.3 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00058/0.2992, allocations: 35.95 kB / 471.3 MB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/0.2992, allocations: 27.98 kB / 471.3 MB, free: 8.176 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008161/0.3, allocations: 325 kB / 471.6 MB, free: 7.855 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000647/0.3007, allocations: 239.2 kB / 471.9 MB, free: 7.621 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001196/0.3019, allocations: 410.4 kB / 472.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.3019, allocations: 0 / 472.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization_lambda0): time 0.001881/0.3038, allocations: 0.6328 MB / 472.9 MB, free: 6.574 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.3038, allocations: 4 kB / 472.9 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3038, allocations: 0.875 kB / 472.9 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004061/0.3042, allocations: 75.42 kB / 473 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.3048, allocations: 114.6 kB / 473.1 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.3066, allocations: 1.444 MB / 474.5 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.3072, allocations: 28 kB / 474.6 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.3072, allocations: 23.98 kB / 474.6 MB, free: 4.801 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 0.0002263/0.3074, allocations: 196.2 kB / 474.8 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.3077, allocations: 95.47 kB / 474.9 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.31, allocations: 0.8312 MB / 475.7 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.31, allocations: 8 kB / 475.7 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.31, allocations: 0 / 475.7 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.31, allocations: 3.984 kB / 475.7 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003658/0.3136, allocations: 1.443 MB / 477.2 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.3136, allocations: 4.125 kB / 477.2 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.314, allocations: 75.88 kB / 477.2 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003039/0.317, allocations: 0.5204 MB / 477.8 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.624e-05/0.3171, allocations: 19.98 kB / 477.8 MB, free: 1.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.3189, allocations: 1.042 MB / 478.8 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.3189, allocations: 3.938 kB / 478.8 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/0.3211, allocations: 0.8783 MB / 479.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.3212, allocations: 75.47 kB / 479.8 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.3213, allocations: 15.94 kB / 479.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/0.3218, allocations: 27.97 kB / 479.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.322, allocations: 60.39 kB / 479.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.322, allocations: 23.98 kB / 479.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005167/0.3225, allocations: 379.1 kB / 480.3 MB, free: 15 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3225, allocations: 0 / 480.3 MB, free: 15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003246/0.3258, allocations: 1.185 MB / 481.5 MB, free: 13.82 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.004165/0.3299, allocations: 1.136 MB / 482.6 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003262/0.3332, allocations: 0.9159 MB / 483.5 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3332, allocations: 0 / 483.5 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.3344, allocations: 368 kB / 483.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/0.3367, allocations: 449.2 kB / 484.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.3398, allocations: 1.339 MB / 485.6 MB, free: 9.652 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.3402, allocations: 345.8 kB / 486 MB, free: 9.289 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001151/0.3414, allocations: 0.6638 MB / 486.6 MB, free: 8.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.3415, allocations: 56.48 kB / 486.7 MB, free: 8.57 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.3415, allocations: 0 / 486.7 MB, free: 8.57 MB / 362.7 MB Notification: Performance of Templates: time 0.0738/0.4153, allocations: 44.19 MB / 0.5184 GB, free: 12.7 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.919935384998098]