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.001193/0.001193, allocations: 108.3 kB / 17.74 MB, free: 5.316 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.001131/0.001131, allocations: 187 kB / 18.67 MB, free: 4.395 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.161/1.161, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2346/0.2346, allocations: 48.85 MB / 320.7 MB, free: 11 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.001318/0.001318, allocations: 67.89 kB / 451.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08944/0.09077, allocations: 59.17 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.2186/0.3094, allocations: 32.45 MB / 0.5301 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007688/0.3171, allocations: 8.108 MB / 0.538 GB, free: 7.578 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.3173, allocations: 6.375 kB / 0.538 GB, free: 7.578 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004289/0.3178, allocations: 141 kB / 0.5382 GB, free: 7.578 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003693/0.3182, allocations: 203 kB / 0.5383 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01084/0.3291, allocations: 4.419 MB / 0.5427 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007953/0.3299, allocations: 0.5857 MB / 0.5432 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003469/0.3302, allocations: 225.2 kB / 0.5434 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/0.3305, allocations: 216.4 kB / 0.5437 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.3308, allocations: 227 kB / 0.5439 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.3308, allocations: 27.16 kB / 0.5439 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/0.3415, allocations: 6.007 MB / 0.5498 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.859e-05/0.3417, allocations: 71.11 kB / 0.5498 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002347/0.3419, allocations: 193 kB / 0.55 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005966/0.3479, allocations: 3.504 MB / 0.5534 GB, free: 5.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3479, allocations: 0 / 0.5534 GB, free: 5.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3479, allocations: 1.438 kB / 0.5534 GB, free: 5.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.3479, allocations: 0 / 0.5534 GB, free: 5.457 MB / 414.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.002335/0.3503, allocations: 1.045 MB / 0.5545 GB, free: 4.676 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3503, allocations: 13.14 kB / 0.5545 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.3504, allocations: 54.2 kB / 0.5545 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.3508, allocations: 306.3 kB / 0.5548 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3508, allocations: 23.62 kB / 0.5548 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/0.3509, allocations: 26 kB / 0.5549 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.3514, allocations: 320.3 kB / 0.5552 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3514, allocations: 5.562 kB / 0.5552 GB, free: 4.117 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.3515, allocations: 9.656 kB / 0.5552 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3515, allocations: 7.109 kB / 0.5552 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005031/0.352, allocations: 239 kB / 0.5554 GB, free: 4 MB / 414.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.001121/0.3531, allocations: 1.319 MB / 0.5567 GB, free: 2.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.3536, allocations: 224.3 kB / 0.5569 GB, free: 2.645 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.3539, allocations: 123.5 kB / 0.557 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05965/0.4135, allocations: 32.11 MB / 0.5884 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.4136, allocations: 38.56 kB / 0.5884 GB, free: 7.383 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 2.184e-06/0.4136, allocations: 0 / 0.5884 GB, free: 7.383 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.002666/0.4163, allocations: 1.042 MB / 0.5895 GB, free: 6.285 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.4163, allocations: 59.41 kB / 0.5895 GB, free: 6.215 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.4166, allocations: 305.7 kB / 0.5898 GB, free: 5.914 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.4166, allocations: 29.7 kB / 0.5898 GB, free: 5.879 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.4168, allocations: 190.9 kB / 0.59 GB, free: 5.691 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.732e-05/0.4169, allocations: 98.08 kB / 0.5901 GB, free: 5.598 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.41e-05/0.417, allocations: 49.69 kB / 0.5902 GB, free: 5.543 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4171, allocations: 342.8 kB / 0.5905 GB, free: 5.199 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.4173, allocations: 116.8 kB / 0.5906 GB, free: 5.082 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.4176, allocations: 133.6 kB / 0.5907 GB, free: 4.945 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004897/0.4181, allocations: 246.1 kB / 0.591 GB, free: 4.699 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4181, allocations: 4 kB / 0.591 GB, free: 4.695 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001208/0.4193, allocations: 494.3 kB / 0.5914 GB, free: 4.207 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4193, allocations: 4 kB / 0.5914 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.4194, allocations: 4 kB / 0.5914 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.4205, allocations: 256.5 kB / 0.5917 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.4206, allocations: 35.91 kB / 0.5917 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009793/0.4216, allocations: 0.8059 MB / 0.5925 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.4219, allocations: 20.05 kB / 0.5925 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.4219, allocations: 11.06 kB / 0.5925 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002972/0.4222, allocations: 208.1 kB / 0.5927 GB, free: 2.844 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002326/0.4224, allocations: 125.6 kB / 0.5928 GB, free: 2.715 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004436/0.4229, allocations: 246.4 kB / 0.5931 GB, free: 2.469 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.4229, allocations: 0 / 0.5931 GB, free: 2.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.001121/0.424, allocations: 477.6 kB / 0.5935 GB, free: 1.992 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.424, allocations: 4 kB / 0.5935 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-06/0.424, allocations: 0 / 0.5935 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.4251, allocations: 240.7 kB / 0.5938 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.4252, allocations: 39.91 kB / 0.5938 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008202/0.426, allocations: 0.7786 MB / 0.5946 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.4262, allocations: 23.92 kB / 0.5946 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.4263, allocations: 12 kB / 0.5946 GB, free: 0.8711 MB / 446.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.0001122/0.4264, allocations: 192.2 kB / 0.5948 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/0.4265, allocations: 35.53 kB / 0.5948 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009023/0.4274, allocations: 0.5526 MB / 0.5954 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.4274, allocations: 8 kB / 0.5954 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4274, allocations: 0 / 0.5954 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.4274, allocations: 3.984 kB / 0.5954 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.4289, allocations: 1.038 MB / 0.5964 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4289, allocations: 4 kB / 0.5964 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003275/0.4292, allocations: 67.89 kB / 0.5965 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002401/0.4295, allocations: 56.8 kB / 0.5965 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.4295, allocations: 4 kB / 0.5965 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.4305, allocations: 1.44 MB / 0.5979 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4305, allocations: 0 / 0.5979 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.4316, allocations: 0.6866 MB / 0.5986 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.4318, allocations: 140.5 kB / 0.5987 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.4318, allocations: 4 kB / 0.5987 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.432, allocations: 15.98 kB / 0.5987 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.4321, allocations: 28.47 kB / 0.5988 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.4321, allocations: 8 kB / 0.5988 GB, free: 12.35 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001865/0.4323, allocations: 223.2 kB / 0.599 GB, free: 12.13 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4323, allocations: 4 kB / 0.599 GB, free: 12.13 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003102/0.4354, allocations: 0.8707 MB / 0.5998 GB, free: 11.26 MB / 462.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.004822/0.4403, allocations: 0.9465 MB / 0.6008 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001578/0.4419, allocations: 0.59 MB / 0.6013 GB, free: 9.801 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4419, allocations: 0 / 0.6013 GB, free: 9.801 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004907/0.4424, allocations: 326.4 kB / 0.6017 GB, free: 9.469 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008663/0.4433, allocations: 145.1 kB / 0.6018 GB, free: 9.328 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.4447, allocations: 1.02 MB / 0.6028 GB, free: 8.285 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.4451, allocations: 0.8041 MB / 0.6036 GB, free: 7.457 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/0.4452, allocations: 31.44 kB / 0.6036 GB, free: 7.426 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4452, allocations: 0 / 0.6036 GB, free: 7.426 MB / 462.1 MB Notification: Performance of Templates: time 0.02665/0.4719, allocations: 19.79 MB / 0.6229 GB, free: 3.609 MB / 478.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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1)