Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.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.0009193/0.0009193, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001012/0.001012, allocations: 165.9 kB / 24.99 MB, free: 8.336 MB / 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.8099/0.8099, allocations: 158.6 MB / 186.8 MB, free: 2.918 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.1574/0.1574, allocations: 36.34 MB / 275.4 MB, free: 10.73 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.TestExpansionTankIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal") translateModel(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 353.8 MB, free: 3.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.967e-05, allocations: 7.375 kB / 353.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal): time 0.03855/0.03857, allocations: 46.49 MB / 400.3 MB, free: 5.121 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009133/0.0477, allocations: 11.4 MB / 411.7 MB, free: 9.688 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002746/0.04798, allocations: 23.81 kB / 411.7 MB, free: 9.664 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005303/0.04851, allocations: 321.8 kB / 412 MB, free: 9.348 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000904/0.04941, allocations: 0.6757 MB / 412.7 MB, free: 8.668 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008165/0.05758, allocations: 4.301 MB / 417 MB, free: 4.352 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.05922, allocations: 1.835 MB / 418.8 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004549/0.05967, allocations: 477.9 kB / 419.3 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008675/0.06054, allocations: 0.8766 MB / 420.2 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007823/0.06132, allocations: 0.6816 MB / 420.8 MB, free: 476 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.268e-05/0.06141, allocations: 68 kB / 420.9 MB, free: 408 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008522/0.06994, allocations: 6.067 MB / 427 MB, free: 10.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003136/0.07025, allocations: 351 kB / 427.3 MB, free: 9.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003386/0.07059, allocations: 339.2 kB / 427.6 MB, free: 9.648 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005582/0.07617, allocations: 5.078 MB / 432.7 MB, free: 4.559 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.07617, allocations: 4 kB / 432.7 MB, free: 4.555 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.07618, allocations: 0 / 432.7 MB, free: 4.555 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.07618, allocations: 0 / 432.7 MB, free: 4.555 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.002982/0.07917, allocations: 1.724 MB / 434.5 MB, free: 2.785 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.0792, allocations: 8.031 kB / 434.5 MB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.08031, allocations: 343.7 kB / 434.8 MB, free: 2.441 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007937/0.08111, allocations: 0.522 MB / 435.3 MB, free: 1.895 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.71e-05/0.08116, allocations: 54.38 kB / 435.4 MB, free: 1.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.08127, allocations: 80.31 kB / 435.5 MB, free: 1.762 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/0.08425, allocations: 1.508 MB / 437 MB, free: 220 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.08427, allocations: 192 / 437 MB, free: 220 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.584e-05/0.08433, allocations: 35.92 kB / 437 MB, free: 184 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.195e-05/0.08438, allocations: 37.98 kB / 437 MB, free: 144 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1287/0.213, allocations: 1.073 MB / 438.1 MB, free: 34.18 MB / 362.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.002943/0.216, allocations: 1.877 MB / 440 MB, free: 33.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/0.2184, allocations: 1.111 MB / 441.1 MB, free: 33.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.2187, allocations: 148.4 kB / 441.2 MB, free: 33.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05639/0.2751, allocations: 33.62 MB / 474.9 MB, free: 20.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.2751, allocations: 46.78 kB / 474.9 MB, free: 20.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 2.785e-06/0.2751, allocations: 4 kB / 474.9 MB, free: 20.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=56): time 0.003326/0.2784, allocations: 1.769 MB / 476.7 MB, free: 19.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.644e-05/0.2784, allocations: 55.91 kB / 476.7 MB, free: 19.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.2787, allocations: 0.4983 MB / 477.2 MB, free: 18.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.503e-05/0.2788, allocations: 37.27 kB / 477.3 MB, free: 18.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.2789, allocations: 412.6 kB / 477.7 MB, free: 18.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.279, allocations: 212.3 kB / 477.9 MB, free: 18.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.2792, allocations: 231.4 kB / 478.1 MB, free: 17.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.335e-05/0.2793, allocations: 0.5411 MB / 478.6 MB, free: 17.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.2797, allocations: 441.7 kB / 479.1 MB, free: 17.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.2802, allocations: 0.7661 MB / 479.8 MB, free: 16.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/0.281, allocations: 0.9917 MB / 480.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.281, allocations: 0 / 480.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001778/0.2828, allocations: 1.696 MB / 482.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2828, allocations: 4.344 kB / 482.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2828, allocations: 8 kB / 482.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002118/0.2849, allocations: 1.606 MB / 484.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.2851, allocations: 75.61 kB / 484.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.2867, allocations: 1.988 MB / 486.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.287, allocations: 68.7 kB / 486.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/0.2871, allocations: 74.03 kB / 486.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005253/0.2876, allocations: 0.5516 MB / 486.9 MB, free: 9.996 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004633/0.2881, allocations: 0.7799 MB / 487.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000842/0.2889, allocations: 1.002 MB / 488.7 MB, free: 8.277 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.289, allocations: 1.094 kB / 488.7 MB, free: 8.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001694/0.2906, allocations: 1.67 MB / 490.4 MB, free: 6.848 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.2907, allocations: 4.938 kB / 490.4 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.2907, allocations: 4 kB / 490.4 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/0.2922, allocations: 1.496 MB / 491.9 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.2923, allocations: 67.09 kB / 491.9 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.2938, allocations: 1.965 MB / 493.9 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.2941, allocations: 63.39 kB / 493.9 MB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/0.2942, allocations: 77.3 kB / 494 MB, free: 3.535 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (heater.fluidState[2].phase,heater.fluidState[1].phase,boiler.fluidState[2].phase,boiler.fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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 {(3,37)} Notification: Performance of prepare postOptimizeDAE: time 0.00016/0.2943, allocations: 298.3 kB / 494.3 MB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.2945, allocations: 78.94 kB / 494.4 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003122/0.2976, allocations: 5.221 MB / 499.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.2976, allocations: 21.16 kB / 499.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2976, allocations: 4 kB / 499.6 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2976, allocations: 4 kB / 499.6 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.2989, allocations: 2.059 MB / 0.4899 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2989, allocations: 0 / 0.4899 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006904/0.2996, allocations: 213.4 kB / 0.4901 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003091/0.2999, allocations: 114.4 kB / 0.4903 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.2999, allocations: 21.53 kB / 0.4903 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.3018, allocations: 5.308 MB / 0.4955 GB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3018, allocations: 0 / 0.4955 GB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.3032, allocations: 1.328 MB / 0.4968 GB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.3034, allocations: 152.4 kB / 0.4969 GB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/0.3034, allocations: 17.75 kB / 0.4969 GB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.3037, allocations: 26.98 kB / 0.4969 GB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.3038, allocations: 47.94 kB / 0.497 GB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.3038, allocations: 23.72 kB / 0.497 GB, free: 5.207 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000207/0.304, allocations: 319.8 kB / 0.4973 GB, free: 4.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.304, allocations: 0 / 0.4973 GB, free: 4.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002122/0.3061, allocations: 1.227 MB / 0.4985 GB, free: 3.762 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (boiler.p,boiler.htilde[1],heater.p,heater.htilde[1]) * Number of discrete variables: 8 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002235/0.3083, allocations: 1.101 MB / 0.4996 GB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001955/0.3103, allocations: 1.687 MB / 0.5012 GB, free: 1.289 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3103, allocations: 4 kB / 0.5012 GB, free: 1.285 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009318/0.3112, allocations: 0.7889 MB / 0.502 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007314/0.312, allocations: 275.8 kB / 0.5023 GB, free: 304 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.3142, allocations: 1.84 MB / 0.5041 GB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.3143, allocations: 240.5 kB / 0.5043 GB, free: 14.35 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003359/0.3146, allocations: 188.7 kB / 0.5045 GB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.3148, allocations: 60.28 kB / 0.5045 GB, free: 14.11 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3148, allocations: 0 / 0.5045 GB, free: 14.11 MB / 394.7 MB Notification: Performance of Templates: time 0.04737/0.3622, allocations: 54.83 MB / 0.5581 GB, free: 7.355 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.921311154030263]