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.00119/0.001189, allocations: 94.05 kB / 16.3 MB, free: 6 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.001244/0.001245, allocations: 185.3 kB / 17.2 MB, free: 5.91 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.369/1.369, allocations: 205.4 MB / 223.4 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2941/0.2941, allocations: 48.77 MB / 320.4 MB, free: 11.32 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.0005234/0.0005235, allocations: 13.22 kB / 391.1 MB, free: 50.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1074, allocations: 60.29 MB / 451.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.03054/0.138, allocations: 27.49 MB / 478.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009263/0.1473, allocations: 7.059 MB / 486 MB, free: 6.941 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000676/0.148, allocations: 7.938 kB / 486 MB, free: 6.934 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006293/0.1487, allocations: 111.4 kB / 486.1 MB, free: 6.824 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005473/0.1492, allocations: 195.4 kB / 486.3 MB, free: 6.633 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01123/0.1605, allocations: 3.393 MB / 489.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009495/0.1615, allocations: 379.2 kB / 490 MB, free: 2.859 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004147/0.1619, allocations: 172.9 kB / 490.2 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.1622, allocations: 171.3 kB / 490.4 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.1625, allocations: 167.2 kB / 490.5 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.1625, allocations: 16 kB / 490.5 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01114/0.1736, allocations: 5.849 MB / 496.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.1738, allocations: 51.77 kB / 496.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.1739, allocations: 93.52 kB / 496.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004074/0.178, allocations: 2.323 MB / 498.9 MB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1781, allocations: 0 / 498.9 MB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1781, allocations: 4 kB / 498.9 MB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1781, allocations: 0 / 498.9 MB, free: 10 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.002365/0.1804, allocations: 1.002 MB / 499.9 MB, free: 8.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1805, allocations: 8.031 kB / 499.9 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.1807, allocations: 55.47 kB / 499.9 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.181, allocations: 286.3 kB / 0.4885 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1811, allocations: 24.56 kB / 0.4885 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.1811, allocations: 24 kB / 0.4885 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006145/0.1817, allocations: 333.2 kB / 0.4888 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1818, allocations: 4 kB / 0.4888 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.1818, allocations: 12 kB / 0.4889 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.1818, allocations: 11.95 kB / 0.4889 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000583/0.1824, allocations: 258 kB / 0.4891 GB, free: 7.895 MB / 382.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.001514/0.1839, allocations: 1.329 MB / 0.4904 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.1845, allocations: 238.7 kB / 0.4906 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.064/0.2485, allocations: 32.29 MB / 0.5222 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.2486, allocations: 30.56 kB / 0.5222 GB, free: 2.043 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.455e-06/0.2486, allocations: 0 / 0.5222 GB, free: 2.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.002697/0.2513, allocations: 1.096 MB / 0.5233 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.2513, allocations: 63.34 kB / 0.5233 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.2516, allocations: 305.7 kB / 0.5236 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.2517, allocations: 29.7 kB / 0.5237 GB, free: 480 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.2518, allocations: 180.7 kB / 0.5238 GB, free: 296 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.368e-05/0.2519, allocations: 94.56 kB / 0.5239 GB, free: 200 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.2519, allocations: 4 kB / 0.5239 GB, free: 196 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.1952/0.4471, allocations: 346.8 kB / 0.5242 GB, free: 87.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/0.4477, allocations: 111.9 kB / 0.5244 GB, free: 87.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.448, allocations: 139 kB / 0.5245 GB, free: 87.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.4484, allocations: 125.5 kB / 0.5246 GB, free: 87.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4484, allocations: 2.344 kB / 0.5246 GB, free: 87.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009988/0.4494, allocations: 432.9 kB / 0.525 GB, free: 87.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.289e-05/0.4495, allocations: 182.7 kB / 0.5252 GB, free: 87.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.4495, allocations: 7.219 kB / 0.5252 GB, free: 87.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.4509, allocations: 255.6 kB / 0.5254 GB, free: 87.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.4511, allocations: 40.86 kB / 0.5255 GB, free: 87.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.4521, allocations: 0.8053 MB / 0.5263 GB, free: 86.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.4525, allocations: 33.42 kB / 0.5263 GB, free: 86.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.4525, allocations: 11.72 kB / 0.5263 GB, free: 86.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4525, allocations: 2.844 kB / 0.5263 GB, free: 86.76 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007773/0.4533, allocations: 358 kB / 0.5267 GB, free: 86.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4533, allocations: 3.953 kB / 0.5267 GB, free: 86.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.4544, allocations: 244.6 kB / 0.5269 GB, free: 86.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.4546, allocations: 45.08 kB / 0.5269 GB, free: 86.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009029/0.4555, allocations: 0.7801 MB / 0.5277 GB, free: 86.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.4558, allocations: 29.81 kB / 0.5277 GB, free: 86.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.4558, allocations: 10.02 kB / 0.5277 GB, free: 86.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002061/0.456, allocations: 222.8 kB / 0.528 GB, free: 86.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.698e-05/0.4561, allocations: 34.11 kB / 0.528 GB, free: 86.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.4574, allocations: 0.5693 MB / 0.5285 GB, free: 85.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.4574, allocations: 5.828 kB / 0.5285 GB, free: 85.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.4574, allocations: 1.875 kB / 0.5285 GB, free: 85.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.4574, allocations: 1.312 kB / 0.5286 GB, free: 85.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.4592, allocations: 1.073 MB / 0.5296 GB, free: 85.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.4593, allocations: 0.5156 kB / 0.5296 GB, free: 85.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/0.4596, allocations: 81.38 kB / 0.5297 GB, free: 85.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002651/0.4599, allocations: 56.3 kB / 0.5297 GB, free: 85.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.4599, allocations: 10.69 kB / 0.5297 GB, free: 85.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000919/0.4609, allocations: 1.334 MB / 0.531 GB, free: 84.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4609, allocations: 1.125 kB / 0.531 GB, free: 84.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.4621, allocations: 0.7237 MB / 0.5318 GB, free: 83.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.4622, allocations: 134.5 kB / 0.5319 GB, free: 83.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.4623, allocations: 5.875 kB / 0.5319 GB, free: 83.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.4625, allocations: 32.66 kB / 0.5319 GB, free: 83.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/0.4626, allocations: 28.11 kB / 0.5319 GB, free: 83.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.4626, allocations: 12.08 kB / 0.532 GB, free: 83.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002119/0.4628, allocations: 216.3 kB / 0.5322 GB, free: 83.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4629, allocations: 0 / 0.5322 GB, free: 83.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002771/0.4656, allocations: 0.8697 MB / 0.533 GB, free: 83.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003633/0.4693, allocations: 0.9369 MB / 0.5339 GB, free: 83.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.4712, allocations: 0.6202 MB / 0.5345 GB, free: 83.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4712, allocations: 3.844 kB / 0.5345 GB, free: 83.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005381/0.4717, allocations: 322.9 kB / 0.5348 GB, free: 83.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009089/0.4726, allocations: 139 kB / 0.535 GB, free: 83.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.4743, allocations: 1.226 MB / 0.5362 GB, free: 82.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.4746, allocations: 0.8122 MB / 0.537 GB, free: 81.63 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001908/0.4748, allocations: 35.41 kB / 0.537 GB, free: 81.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.4749, allocations: 26.98 kB / 0.537 GB, free: 81.61 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4749, allocations: 0 / 0.537 GB, free: 81.61 MB / 414.1 MB Notification: Performance of Templates: time 0.0407/0.5156, allocations: 34.1 MB / 0.5703 GB, free: 56.21 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1) Environment - environmentSimulation: