Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 178.8 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 225.7 MB / 243.2 MB, free: 10.21 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000904/0.000904, allocations: 89.36 kB / 294.4 MB, free: 9.762 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4088/0.4088, allocations: 48.78 MB / 394.3 MB, free: 34.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003086, allocations: 12 kB / 468.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2685, allocations: 63.08 MB / 0.5187 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.02539/0.294, allocations: 37.1 MB / 0.5549 GB, free: 7.996 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009344/0.3033, allocations: 12 MB / 0.5667 GB, free: 13.94 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004433/0.3038, allocations: 8.531 kB / 0.5667 GB, free: 13.94 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005151/0.3044, allocations: 113.6 kB / 0.5668 GB, free: 13.88 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005678/0.3049, allocations: 197.5 kB / 0.567 GB, free: 13.75 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01105/0.316, allocations: 3.502 MB / 0.5704 GB, free: 12.18 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.3172, allocations: 0.765 MB / 0.5711 GB, free: 11.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005256/0.3177, allocations: 182.8 kB / 0.5713 GB, free: 11.8 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005108/0.3183, allocations: 187.8 kB / 0.5715 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005178/0.3188, allocations: 226.5 kB / 0.5717 GB, free: 11.63 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.299e-05/0.3189, allocations: 14.59 kB / 0.5717 GB, free: 11.63 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01217/0.331, allocations: 5.737 MB / 0.5773 GB, free: 9 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.3312, allocations: 51.7 kB / 0.5774 GB, free: 8.949 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002967/0.3315, allocations: 200.8 kB / 0.5776 GB, free: 8.746 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00798/0.3395, allocations: 3.485 MB / 0.581 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3395, allocations: 0 / 0.581 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3395, allocations: 0 / 0.581 GB, free: 5.254 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.3396, allocations: 3.938 kB / 0.581 GB, free: 5.25 MB / 394.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.002529/0.3421, allocations: 0.9978 MB / 0.5819 GB, free: 4.203 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.3421, allocations: 17.11 kB / 0.582 GB, free: 4.188 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.3423, allocations: 48.45 kB / 0.582 GB, free: 4.141 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005036/0.3429, allocations: 315.2 kB / 0.5823 GB, free: 3.789 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.3429, allocations: 20.94 kB / 0.5823 GB, free: 3.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.343, allocations: 24.38 kB / 0.5823 GB, free: 3.746 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006451/0.3436, allocations: 333.2 kB / 0.5827 GB, free: 3.406 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.3436, allocations: 0 / 0.5827 GB, free: 3.406 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.3437, allocations: 8 kB / 0.5827 GB, free: 3.398 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3437, allocations: 8 kB / 0.5827 GB, free: 3.391 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000577/0.3443, allocations: 258 kB / 0.5829 GB, free: 3.133 MB / 394.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.001449/0.3457, allocations: 1.337 MB / 0.5842 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.3462, allocations: 238.4 kB / 0.5845 GB, free: 1.426 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.3465, allocations: 135.4 kB / 0.5846 GB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05896/0.4055, allocations: 32.29 MB / 0.6161 GB, free: 13.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.4056, allocations: 34.5 kB / 0.6161 GB, free: 13.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=23): time 2.224e-06/0.4056, allocations: 0 / 0.6161 GB, free: 13.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.002814/0.4084, allocations: 1.09 MB / 0.6172 GB, free: 12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.4085, allocations: 59.39 kB / 0.6173 GB, free: 11.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.4088, allocations: 309.7 kB / 0.6176 GB, free: 11.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.4088, allocations: 29.7 kB / 0.6176 GB, free: 11.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.409, allocations: 184.7 kB / 0.6178 GB, free: 11.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.593e-05/0.4091, allocations: 94.64 kB / 0.6179 GB, free: 11.31 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.463e-05/0.4091, allocations: 4 kB / 0.6179 GB, free: 11.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4093, allocations: 346.8 kB / 0.6182 GB, free: 10.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.4095, allocations: 115.9 kB / 0.6183 GB, free: 10.85 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.4098, allocations: 139 kB / 0.6184 GB, free: 10.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/0.4103, allocations: 265.4 kB / 0.6187 GB, free: 10.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4103, allocations: 0 / 0.6187 GB, free: 10.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008343/0.4112, allocations: 433.3 kB / 0.6191 GB, free: 10.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.879e-05/0.4112, allocations: 101.9 kB / 0.6192 GB, free: 9.906 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.4113, allocations: 3.984 kB / 0.6192 GB, free: 9.902 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.4124, allocations: 252.6 kB / 0.6194 GB, free: 9.652 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.4126, allocations: 39.91 kB / 0.6195 GB, free: 9.613 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009708/0.4136, allocations: 0.8136 MB / 0.6203 GB, free: 8.773 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.4138, allocations: 31.98 kB / 0.6203 GB, free: 8.742 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.4139, allocations: 8 kB / 0.6203 GB, free: 8.734 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/0.4139, allocations: 4 kB / 0.6203 GB, free: 8.73 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007271/0.4146, allocations: 360.6 kB / 0.6207 GB, free: 8.375 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4146, allocations: 3.938 kB / 0.6207 GB, free: 8.371 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.4156, allocations: 256.5 kB / 0.6209 GB, free: 8.117 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.4158, allocations: 39.97 kB / 0.6209 GB, free: 8.078 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008508/0.4167, allocations: 0.7903 MB / 0.6217 GB, free: 7.262 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.4169, allocations: 24.05 kB / 0.6217 GB, free: 7.238 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.4169, allocations: 7.984 kB / 0.6218 GB, free: 7.23 MB / 442.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.0001738/0.4171, allocations: 227.2 kB / 0.622 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.614e-05/0.4172, allocations: 39.47 kB / 0.622 GB, free: 6.961 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009701/0.4181, allocations: 0.572 MB / 0.6226 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.4182, allocations: 8 kB / 0.6226 GB, free: 6.371 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.4182, allocations: 4 kB / 0.6226 GB, free: 6.367 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4182, allocations: 0 / 0.6226 GB, free: 6.367 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.4197, allocations: 1.055 MB / 0.6236 GB, free: 5.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4197, allocations: 0 / 0.6236 GB, free: 5.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.4201, allocations: 71.95 kB / 0.6237 GB, free: 5.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002619/0.4203, allocations: 56.8 kB / 0.6237 GB, free: 5.121 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.4204, allocations: 11.94 kB / 0.6237 GB, free: 5.109 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.4214, allocations: 1.331 MB / 0.625 GB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4214, allocations: 256 / 0.625 GB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.4226, allocations: 0.7248 MB / 0.6257 GB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.4228, allocations: 132.5 kB / 0.6259 GB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.4228, allocations: 12 kB / 0.6259 GB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.4231, allocations: 31.97 kB / 0.6259 GB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.4232, allocations: 19.97 kB / 0.6259 GB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.4232, allocations: 12 kB / 0.6259 GB, free: 2.676 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001917/0.4234, allocations: 219.2 kB / 0.6262 GB, free: 2.469 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4234, allocations: 0 / 0.6262 GB, free: 2.469 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002192/0.4256, allocations: 0.8668 MB / 0.627 GB, free: 1.602 MB / 442.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.003193/0.4288, allocations: 0.9553 MB / 0.6279 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.4305, allocations: 0.6163 MB / 0.6285 GB, free: 24 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.4305, allocations: 0 / 0.6285 GB, free: 24 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005486/0.431, allocations: 325.5 kB / 0.6288 GB, free: 15.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008567/0.4319, allocations: 158.4 kB / 0.629 GB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.4335, allocations: 1.222 MB / 0.6302 GB, free: 14.29 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.4339, allocations: 0.804 MB / 0.631 GB, free: 13.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001751/0.4341, allocations: 34.95 kB / 0.631 GB, free: 13.42 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.569e-05/0.4342, allocations: 35.42 kB / 0.631 GB, free: 13.39 MB / 458.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4342, allocations: 0 / 0.631 GB, free: 13.39 MB / 458.7 MB Notification: Performance of Templates: time 0.04287/0.4771, allocations: 33.73 MB / 0.664 GB, free: 11.67 MB / 490.7 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1)