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.001092/0.001092, allocations: 115.4 kB / 17.69 MB, free: 5.312 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.00103/0.00103, allocations: 191 kB / 18.63 MB, free: 4.379 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.284/1.284, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2741/0.2741, allocations: 48.83 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.001485/0.001485, allocations: 75.25 kB / 391.5 MB, free: 48.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0847/0.0862, allocations: 59.16 MB / 450.7 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.03368/0.1199, allocations: 32.47 MB / 483.2 MB, free: 8.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009639/0.1296, allocations: 8.113 MB / 491.3 MB, free: 328 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.1299, allocations: 7.938 kB / 491.3 MB, free: 320 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004975/0.1305, allocations: 139 kB / 491.4 MB, free: 180 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003955/0.1309, allocations: 202.6 kB / 491.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01051/0.1414, allocations: 4.403 MB / 496 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007086/0.1422, allocations: 0.5872 MB / 496.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.1425, allocations: 223.3 kB / 496.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.1428, allocations: 219.1 kB / 497 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.143, allocations: 222.9 kB / 497.3 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.1431, allocations: 28 kB / 497.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01012/0.1532, allocations: 6.005 MB / 0.4915 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.465e-05/0.1533, allocations: 71.7 kB / 0.4916 GB, free: 4.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.1536, allocations: 191 kB / 0.4917 GB, free: 4.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00553/0.1591, allocations: 3.505 MB / 0.4952 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1592, allocations: 0 / 0.4952 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1592, allocations: 0 / 0.4952 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1592, 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.002233/0.1614, allocations: 1.044 MB / 0.4962 GB, free: 15.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1615, allocations: 11.89 kB / 0.4962 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.1616, allocations: 56.45 kB / 0.4962 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.1621, allocations: 311.2 kB / 0.4965 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.1621, allocations: 24.94 kB / 0.4966 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/0.1621, allocations: 28.38 kB / 0.4966 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006059/0.1628, allocations: 325.2 kB / 0.4969 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1628, allocations: 0 / 0.4969 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.1628, allocations: 12 kB / 0.4969 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1628, allocations: 4 kB / 0.4969 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005745/0.1634, 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.001451/0.1649, allocations: 1.318 MB / 0.4984 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/0.1654, allocations: 238.1 kB / 0.4987 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.1656, allocations: 120.8 kB / 0.4988 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2262/0.3919, allocations: 32.1 MB / 0.5301 GB, free: 81.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.3919, allocations: 36.42 kB / 0.5302 GB, free: 81.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.354e-06/0.3919, allocations: 1.312 kB / 0.5302 GB, free: 81.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.002594/0.3945, allocations: 1.034 MB / 0.5312 GB, free: 80.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.3946, allocations: 55.28 kB / 0.5312 GB, free: 80.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.3949, allocations: 310.1 kB / 0.5315 GB, free: 80.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3949, allocations: 30.08 kB / 0.5315 GB, free: 80.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.509e-05/0.395, allocations: 179.4 kB / 0.5317 GB, free: 80.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.505e-05/0.3951, allocations: 101.7 kB / 0.5318 GB, free: 80.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.483e-05/0.3952, allocations: 49.98 kB / 0.5319 GB, free: 80.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.3953, allocations: 347.3 kB / 0.5322 GB, free: 80.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.3955, allocations: 116.3 kB / 0.5323 GB, free: 80.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.3958, allocations: 133 kB / 0.5324 GB, free: 80.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.3962, allocations: 246 kB / 0.5327 GB, free: 80.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3962, allocations: 0 / 0.5327 GB, free: 80.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001215/0.3974, allocations: 493.5 kB / 0.5331 GB, free: 80.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3975, allocations: 5.5 kB / 0.5331 GB, free: 80.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3975, allocations: 0.8438 kB / 0.5331 GB, free: 80.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.3986, allocations: 256.2 kB / 0.5334 GB, free: 80.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.3988, allocations: 36.48 kB / 0.5334 GB, free: 80.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008661/0.3997, allocations: 0.803 MB / 0.5342 GB, free: 79.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.3999, allocations: 18.33 kB / 0.5342 GB, free: 79.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.3999, allocations: 9.938 kB / 0.5342 GB, free: 79.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002886/0.4002, allocations: 212.8 kB / 0.5344 GB, free: 79.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002229/0.4004, allocations: 127.9 kB / 0.5346 GB, free: 79.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004436/0.4009, allocations: 245.2 kB / 0.5348 GB, free: 79.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.4009, allocations: 0 / 0.5348 GB, free: 79.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.00116/0.4021, allocations: 471.5 kB / 0.5352 GB, free: 79.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/0.4021, allocations: 5.938 kB / 0.5352 GB, free: 79.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.4021, allocations: 0.5625 kB / 0.5353 GB, free: 79.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.4032, allocations: 248.1 kB / 0.5355 GB, free: 79.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.4033, allocations: 41.89 kB / 0.5355 GB, free: 79.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000746/0.4041, allocations: 0.7845 MB / 0.5363 GB, free: 78.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.4043, allocations: 17.22 kB / 0.5363 GB, free: 78.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.4043, allocations: 13.53 kB / 0.5363 GB, free: 78.63 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 8.276e-05/0.4044, allocations: 193 kB / 0.5365 GB, free: 78.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.4045, allocations: 32.12 kB / 0.5365 GB, free: 78.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009339/0.4054, allocations: 0.5541 MB / 0.5371 GB, free: 78.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.4054, allocations: 6.562 kB / 0.5371 GB, free: 78.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4054, allocations: 0 / 0.5371 GB, free: 78.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4054, allocations: 1.312 kB / 0.5371 GB, free: 78.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.4069, allocations: 1.05 MB / 0.5381 GB, free: 77.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.407, allocations: 6.188 kB / 0.5381 GB, free: 77.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.4073, allocations: 62.47 kB / 0.5382 GB, free: 77.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002652/0.4076, allocations: 58.08 kB / 0.5382 GB, free: 77.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.4076, allocations: 9.469 kB / 0.5382 GB, free: 77.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008939/0.4085, allocations: 1.435 MB / 0.5396 GB, free: 76.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4085, allocations: 3.109 kB / 0.5396 GB, free: 76.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.4096, allocations: 0.6908 MB / 0.5403 GB, free: 75.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.4097, allocations: 130.9 kB / 0.5404 GB, free: 75.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.4098, allocations: 6.234 kB / 0.5405 GB, free: 75.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.41, allocations: 15.56 kB / 0.5405 GB, free: 75.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.4101, allocations: 26.39 kB / 0.5405 GB, free: 75.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.4101, allocations: 6.422 kB / 0.5405 GB, free: 75.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.4103, allocations: 223.4 kB / 0.5407 GB, free: 75.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4103, allocations: 4 kB / 0.5407 GB, free: 75.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002136/0.4125, allocations: 0.8735 MB / 0.5416 GB, free: 75.43 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.003034/0.4155, allocations: 0.9342 MB / 0.5425 GB, free: 75.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001725/0.4173, allocations: 0.5968 MB / 0.5431 GB, free: 75.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4173, allocations: 0 / 0.5431 GB, free: 75.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005009/0.4178, allocations: 320.3 kB / 0.5434 GB, free: 74.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008288/0.4186, allocations: 153.1 kB / 0.5435 GB, free: 74.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.4201, allocations: 0.9865 MB / 0.5445 GB, free: 74.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.4203, allocations: 0.8038 MB / 0.5453 GB, free: 73.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.4205, allocations: 32.28 kB / 0.5453 GB, free: 73.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.662e-05/0.4206, allocations: 31.7 kB / 0.5453 GB, free: 73.6 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4206, allocations: 3.828 kB / 0.5453 GB, free: 73.6 MB / 414.1 MB Notification: Performance of Templates: time 0.03634/0.4569, allocations: 34.26 MB / 0.5788 GB, free: 46.1 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 gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1)