Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator") translateModel(ThermoPower.Test.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 117.7 kB / 17.7 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 191 kB / 18.63 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2949/0.2949, allocations: 48.84 MB / 320.7 MB, free: 11.05 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 66.25 kB / 391.5 MB, free: 48.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1312, allocations: 59.17 MB / 450.7 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.03573/0.167, allocations: 32.47 MB / 483.2 MB, free: 8.457 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.1795, allocations: 8.113 MB / 491.3 MB, free: 324 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003686/0.1799, allocations: 4 kB / 491.3 MB, free: 320 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005784/0.1806, allocations: 138.9 kB / 491.4 MB, free: 180 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004757/0.1811, allocations: 202.7 kB / 491.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01387/0.195, allocations: 4.399 MB / 496 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.196, allocations: 0.5872 MB / 496.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003935/0.1964, allocations: 227.4 kB / 496.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.1967, allocations: 215.1 kB / 497 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.197, allocations: 227 kB / 497.3 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.966e-05/0.197, allocations: 28 kB / 497.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0121/0.2091, allocations: 5.997 MB / 0.4915 GB, free: 4.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.2093, allocations: 75.69 kB / 0.4916 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000305/0.2096, allocations: 191 kB / 0.4917 GB, free: 4.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009425/0.2191, allocations: 3.505 MB / 0.4952 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.2191, allocations: 0 / 0.4952 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2191, allocations: 3.938 kB / 0.4952 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.2192, allocations: 0 / 0.4952 GB, free: 0.5039 MB / 382.1 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.003554/0.2227, allocations: 1.052 MB / 0.4962 GB, free: 15.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.2228, allocations: 15.89 kB / 0.4962 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002222/0.223, allocations: 52.39 kB / 0.4963 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/0.2235, allocations: 303.3 kB / 0.4965 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.2236, allocations: 20.94 kB / 0.4966 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.842e-05/0.2236, allocations: 28.38 kB / 0.4966 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006385/0.2243, allocations: 325.2 kB / 0.4969 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2243, allocations: 0 / 0.4969 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.2243, allocations: 12 kB / 0.4969 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.2244, allocations: 8 kB / 0.4969 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005388/0.2249, allocations: 242 kB / 0.4972 GB, free: 14.36 MB / 398.1 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.001538/0.2265, allocations: 1.321 MB / 0.4984 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/0.227, allocations: 234.1 kB / 0.4987 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.2273, allocations: 124.7 kB / 0.4988 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.291/0.5182, allocations: 32.1 MB / 0.5301 GB, free: 81.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.5183, allocations: 37.03 kB / 0.5302 GB, free: 81.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.244e-06/0.5183, allocations: 0 / 0.5302 GB, free: 81.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.002799/0.5211, allocations: 1.029 MB / 0.5312 GB, free: 80.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.5212, allocations: 56.62 kB / 0.5312 GB, free: 80.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/0.5215, allocations: 307.8 kB / 0.5315 GB, free: 80.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.5216, allocations: 31.67 kB / 0.5316 GB, free: 80.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.5217, allocations: 184.4 kB / 0.5317 GB, free: 80.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.814e-05/0.5218, allocations: 100.4 kB / 0.5318 GB, free: 80.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-05/0.5219, allocations: 48.84 kB / 0.5319 GB, free: 80.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.314e-05/0.5219, allocations: 345.7 kB / 0.5322 GB, free: 80.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.5222, allocations: 113.4 kB / 0.5323 GB, free: 80.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.5225, allocations: 129.4 kB / 0.5324 GB, free: 80.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.5229, allocations: 248.3 kB / 0.5327 GB, free: 80.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.5229, allocations: 0 / 0.5327 GB, free: 80.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00126/0.5242, allocations: 497 kB / 0.5331 GB, free: 80.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.5242, allocations: 5.688 kB / 0.5331 GB, free: 80.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5243, allocations: 0.5156 kB / 0.5331 GB, free: 80.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.5254, allocations: 256.5 kB / 0.5334 GB, free: 80.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.5256, allocations: 38.64 kB / 0.5334 GB, free: 80.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009193/0.5265, allocations: 0.8002 MB / 0.5342 GB, free: 79.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.5267, allocations: 15.41 kB / 0.5342 GB, free: 79.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.5268, allocations: 15.41 kB / 0.5342 GB, free: 79.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003134/0.5271, allocations: 209 kB / 0.5344 GB, free: 79.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002341/0.5273, allocations: 125.2 kB / 0.5346 GB, free: 79.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004515/0.5278, allocations: 245.8 kB / 0.5348 GB, free: 79.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.442e-06/0.5278, allocations: 0 / 0.5348 GB, free: 79.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.001195/0.529, allocations: 476.6 kB / 0.5352 GB, free: 79.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.529, allocations: 9.625 kB / 0.5353 GB, free: 79.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/0.529, allocations: 0 / 0.5353 GB, free: 79.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.5301, allocations: 243.4 kB / 0.5355 GB, free: 79.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.5303, allocations: 46.47 kB / 0.5355 GB, free: 79.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007952/0.5311, allocations: 0.7771 MB / 0.5363 GB, free: 78.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.5313, allocations: 19.27 kB / 0.5363 GB, free: 78.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.5313, allocations: 10.55 kB / 0.5363 GB, free: 78.69 MB / 414.1 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.0001129/0.5314, allocations: 193.4 kB / 0.5365 GB, free: 78.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.448e-05/0.5315, allocations: 32.19 kB / 0.5365 GB, free: 78.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.5326, allocations: 0.5574 MB / 0.5371 GB, free: 78.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.5326, allocations: 5.172 kB / 0.5371 GB, free: 78.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5326, allocations: 0.6562 kB / 0.5371 GB, free: 78.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5326, allocations: 2.719 kB / 0.5371 GB, free: 78.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.5342, allocations: 1.04 MB / 0.5381 GB, free: 77.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.5342, allocations: 0.7031 kB / 0.5381 GB, free: 77.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.5345, allocations: 73.11 kB / 0.5382 GB, free: 77.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002689/0.5348, allocations: 63.66 kB / 0.5382 GB, free: 77.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.5349, allocations: 10.67 kB / 0.5382 GB, free: 77.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000927/0.5358, allocations: 1.43 MB / 0.5396 GB, free: 76.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5358, allocations: 0 / 0.5396 GB, free: 76.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.5369, allocations: 0.6895 MB / 0.5403 GB, free: 75.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.537, allocations: 131.2 kB / 0.5404 GB, free: 75.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.5371, allocations: 5.281 kB / 0.5404 GB, free: 75.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.5373, allocations: 16.7 kB / 0.5405 GB, free: 75.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.914e-05/0.5374, allocations: 30.31 kB / 0.5405 GB, free: 75.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.5374, allocations: 9.984 kB / 0.5405 GB, free: 75.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002397/0.5377, allocations: 223 kB / 0.5407 GB, free: 75.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5377, allocations: 0 / 0.5407 GB, free: 75.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002854/0.5406, allocations: 0.8703 MB / 0.5416 GB, free: 75.49 MB / 414.1 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.003495/0.5441, allocations: 0.9423 MB / 0.5425 GB, free: 75.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.546, allocations: 0.6008 MB / 0.5431 GB, free: 75.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5461, allocations: 0 / 0.5431 GB, free: 75.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000602/0.5467, allocations: 318.2 kB / 0.5434 GB, free: 74.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009181/0.5476, allocations: 153 kB / 0.5435 GB, free: 74.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.5493, allocations: 0.9791 MB / 0.5445 GB, free: 74.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.5496, allocations: 0.7999 MB / 0.5453 GB, free: 73.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.5498, allocations: 37.25 kB / 0.5453 GB, free: 73.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.241e-05/0.5499, allocations: 28.27 kB / 0.5453 GB, free: 73.67 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5499, allocations: 0 / 0.5453 GB, free: 73.67 MB / 414.1 MB Notification: Performance of Templates: time 0.0402/0.5901, allocations: 34.26 MB / 0.5788 GB, free: 46.07 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1)