Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.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.0008903/0.0008903, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001489/0.001489, allocations: 170.4 kB / 25.61 MB, free: 8.91 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.8796/0.8796, allocations: 177.1 MB / 206 MB, free: 4.504 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.1162/0.1162, allocations: 19.74 MB / 282.3 MB, free: 12.27 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.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator") translateModel(ThermoPower.Test.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 359.2 MB, free: 44.17 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02e-05/1.152e-05, allocations: 7.953 kB / 359.2 MB, free: 44.16 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.01223/0.01224, allocations: 21.31 MB / 380.5 MB, free: 23.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005238/0.01748, allocations: 7.765 MB / 388.3 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.01766, allocations: 11.94 kB / 388.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.01802, allocations: 123 kB / 388.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.0183, allocations: 210.3 kB / 388.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006304/0.02461, allocations: 4.463 MB / 393.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004599/0.02507, allocations: 0.5987 MB / 393.7 MB, free: 10.37 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002443/0.02531, allocations: 203.2 kB / 393.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.02554, allocations: 315.2 kB / 394.2 MB, free: 9.855 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.02571, allocations: 183.4 kB / 394.4 MB, free: 9.676 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.02574, allocations: 24 kB / 394.4 MB, free: 9.652 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005187/0.03092, allocations: 5.775 MB / 400.2 MB, free: 3.871 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.03097, allocations: 75.66 kB / 400.2 MB, free: 3.797 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.562e-05/0.03105, allocations: 131.7 kB / 400.4 MB, free: 3.668 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003539/0.03459, allocations: 4.393 MB / 404.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.03459, allocations: 0 / 404.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.03459, allocations: 0 / 404.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.03459, allocations: 4 kB / 404.8 MB, free: 15.26 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001465/0.03606, allocations: 1.093 MB / 405.9 MB, free: 14.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.03609, allocations: 8.031 kB / 405.9 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.03622, allocations: 76.69 kB / 405.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.03645, allocations: 260.4 kB / 406.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.03646, allocations: 20.88 kB / 406.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.03649, allocations: 29.83 kB / 406.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.0368, allocations: 272.9 kB / 406.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.03681, allocations: 192 / 406.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.03683, allocations: 11.94 kB / 406.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.03683, allocations: 8 kB / 406.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.03699, allocations: 107.3 kB / 406.6 MB, free: 13.3 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.0008061/0.03779, allocations: 1.015 MB / 407.7 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.03802, allocations: 151 kB / 407.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.784e-05/0.03807, allocations: 51.66 kB / 407.9 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02642/0.06449, allocations: 15.34 MB / 423.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.06452, allocations: 41.38 kB / 423.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 2.214e-06/0.06453, allocations: 0 / 423.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.00127/0.0658, allocations: 0.6559 MB / 423.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.06583, allocations: 59.39 kB / 423.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.066, allocations: 306.2 kB / 424.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.06602, allocations: 29.7 kB / 424.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.06612, allocations: 239.4 kB / 424.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.565e-05/0.06619, allocations: 107 kB / 424.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.972e-05/0.06626, allocations: 59.33 kB / 424.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.0664, allocations: 0.5156 MB / 425.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.06646, allocations: 43.66 kB / 425.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-05/0.06653, allocations: 75.3 kB / 425.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.06668, allocations: 120.3 kB / 425.4 MB, free: 10.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.06668, allocations: 0 / 425.4 MB, free: 10.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005402/0.06722, allocations: 332.7 kB / 425.7 MB, free: 9.977 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.06724, allocations: 8.656 kB / 425.8 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.06724, allocations: 0 / 425.8 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005955/0.06784, allocations: 217.3 kB / 426 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/0.06791, allocations: 31.92 kB / 426 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008396/0.06875, allocations: 0.9677 MB / 427 MB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.06884, allocations: 11.98 kB / 427 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.06885, allocations: 8.062 kB / 427 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001018/0.06895, allocations: 170.8 kB / 427.1 MB, free: 8.531 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.489e-05/0.06902, allocations: 71.3 kB / 427.2 MB, free: 8.453 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001146/0.06913, allocations: 128 kB / 427.3 MB, free: 8.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.06914, allocations: 0 / 427.3 MB, free: 8.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0004624/0.0696, allocations: 316.7 kB / 427.7 MB, free: 8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.06961, allocations: 10.03 kB / 427.7 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-06/0.06961, allocations: 0 / 427.7 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004855/0.07009, allocations: 211.4 kB / 427.9 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.07016, allocations: 39.84 kB / 427.9 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004915/0.07065, allocations: 0.9428 MB / 428.8 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.07073, allocations: 8 kB / 428.9 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.07074, allocations: 15.98 kB / 428.9 MB, free: 6.746 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (Accumulator1.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.07084, allocations: 284.6 kB / 429.2 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.07089, allocations: 43.75 kB / 429.2 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003657/0.07125, allocations: 346.1 kB / 429.5 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.07126, allocations: 7.984 kB / 429.5 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.07126, allocations: 0 / 429.5 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.07127, allocations: 3.094 kB / 429.5 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006513/0.07192, allocations: 0.691 MB / 430.2 MB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.07192, allocations: 0 / 430.2 MB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.07209, allocations: 63.95 kB / 430.3 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001832/0.07227, allocations: 59.58 kB / 430.4 MB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.07229, allocations: 8 kB / 430.4 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008169/0.0731, allocations: 1.725 MB / 432.1 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.07311, allocations: 0 / 432.1 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.07354, allocations: 0.4952 MB / 432.6 MB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.07361, allocations: 47.73 kB / 432.6 MB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.07363, allocations: 4.062 kB / 432.6 MB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.726e-05/0.07373, allocations: 16 kB / 432.6 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.07378, allocations: 31.94 kB / 432.7 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.07379, allocations: 8 kB / 432.7 MB, free: 2.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.664e-05/0.07388, allocations: 203 kB / 432.9 MB, free: 2.531 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07388, allocations: 0 / 432.9 MB, free: 2.531 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002004/0.07588, allocations: 0.8813 MB / 433.8 MB, free: 1.648 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Accumulator1.zl,Accumulator1.hl,Accumulator1.Mg,Accumulator1.Tg) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(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.002239/0.07812, allocations: 1.1 MB / 434.9 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006643/0.07879, allocations: 416.2 kB / 435.3 MB, free: 128 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.07879, allocations: 0 / 435.3 MB, free: 128 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.07901, allocations: 277.4 kB / 435.5 MB, free: 15.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.07943, allocations: 134.1 kB / 435.7 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.08056, allocations: 0.8481 MB / 436.5 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.64e-05/0.08061, allocations: 105.1 kB / 436.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.146e-05/0.0807, allocations: 22.3 kB / 436.6 MB, free: 14.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.08087, allocations: 154.1 kB / 436.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.08087, allocations: 0 / 436.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of Templates: time 0.03793/0.1188, allocations: 38.78 MB / 475.6 MB, free: 7.852 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.897727073170245]