Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.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.TestExpansionTankIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal") translateModel(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009877/0.0009879, allocations: 96 kB / 16.3 MB, free: 5.996 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.0008976/0.0008977, allocations: 183.2 kB / 17.2 MB, free: 5.914 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.545/1.545, allocations: 205.4 MB / 223.4 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.493/0.493, allocations: 48.78 MB / 320.4 MB, free: 3.816 MB / 254.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.0008427/0.0008428, allocations: 12 kB / 391.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1457, allocations: 60.25 MB / 451.4 MB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal): time 0.2584/0.4041, allocations: 38.1 MB / 489.5 MB, free: 26.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.4167, allocations: 10.03 MB / 499.5 MB, free: 19.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006649/0.4174, allocations: 14.75 kB / 499.5 MB, free: 19.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009292/0.4183, allocations: 291.5 kB / 499.8 MB, free: 19.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.4194, allocations: 417.9 kB / 0.4885 GB, free: 18.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01356/0.4329, allocations: 3.254 MB / 0.4917 GB, free: 17.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002358/0.4353, allocations: 1.002 MB / 0.4927 GB, free: 16.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006742/0.436, allocations: 425.5 kB / 0.4931 GB, free: 16.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008604/0.4369, allocations: 466.1 kB / 0.4935 GB, free: 16.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006293/0.4375, allocations: 452 kB / 0.4939 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.4376, allocations: 36.03 kB / 0.494 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01433/0.452, allocations: 6.186 MB / 0.5 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000554/0.4526, allocations: 250.8 kB / 0.5003 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004867/0.4531, allocations: 193 kB / 0.5004 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006538/0.4596, allocations: 2.914 MB / 0.5033 GB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4597, allocations: 0 / 0.5033 GB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.4597, allocations: 3.984 kB / 0.5033 GB, free: 11.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.4597, allocations: 0 / 0.5033 GB, free: 11.29 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.006088/0.4658, allocations: 1.494 MB / 0.5047 GB, free: 10.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.4659, allocations: 17.53 kB / 0.5048 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.4671, allocations: 202.8 kB / 0.505 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.4683, allocations: 0.5594 MB / 0.5055 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/0.4684, allocations: 50.94 kB / 0.5056 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.4685, allocations: 84.08 kB / 0.5056 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003939/0.4725, allocations: 1.709 MB / 0.5073 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.4725, allocations: 3.953 kB / 0.5073 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.008e-05/0.4726, allocations: 27 kB / 0.5073 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.052e-05/0.4726, allocations: 36.27 kB / 0.5074 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003626/0.4763, allocations: 1.644 MB / 0.509 GB, free: 7.535 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.003978/0.4803, allocations: 3.653 MB / 0.5125 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002743/0.483, allocations: 1.212 MB / 0.5137 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.132/0.6151, allocations: 64.59 MB / 0.5768 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.081e-05/0.6152, allocations: 43.12 kB / 0.5768 GB, free: 10.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=56): time 2.445e-06/0.6152, allocations: 3.938 kB / 0.5768 GB, free: 10.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=56): time 0.007029/0.6222, allocations: 2.103 MB / 0.5789 GB, free: 7.879 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.6223, allocations: 67.86 kB / 0.579 GB, free: 7.801 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008224/0.6231, allocations: 0.5107 MB / 0.5795 GB, free: 7.281 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.6233, allocations: 37.7 kB / 0.5795 GB, free: 7.238 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/0.6237, allocations: 356 kB / 0.5798 GB, free: 6.883 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/0.624, allocations: 197.1 kB / 0.58 GB, free: 6.688 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.223e-05/0.6241, allocations: 12 kB / 0.58 GB, free: 6.676 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.6243, allocations: 374.8 kB / 0.5804 GB, free: 6.301 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008923/0.6251, allocations: 0.5049 MB / 0.5809 GB, free: 5.797 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.6262, allocations: 0.6467 MB / 0.5815 GB, free: 5.094 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.6272, allocations: 0.5292 MB / 0.582 GB, free: 4.566 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.6272, allocations: 0 / 0.582 GB, free: 4.566 MB / 462.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003712/0.6309, allocations: 1.854 MB / 0.5838 GB, free: 2.703 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005519/0.6315, allocations: 1.053 MB / 0.5849 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/0.6315, allocations: 4 kB / 0.5849 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004664/0.6362, allocations: 1.611 MB / 0.5864 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.6365, allocations: 59.91 kB / 0.5865 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003765/0.6403, allocations: 2.189 MB / 0.5886 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.6415, allocations: 127.3 kB / 0.5888 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.6417, allocations: 79.88 kB / 0.5888 GB, free: 13.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.6417, allocations: 4 kB / 0.5888 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00322/0.6449, allocations: 1.747 MB / 0.5906 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.6449, allocations: 4 kB / 0.5906 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003294/0.6482, allocations: 1.491 MB / 0.592 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.6486, allocations: 75.83 kB / 0.5921 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003225/0.6518, allocations: 2.144 MB / 0.5942 GB, free: 7.973 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009988/0.6528, allocations: 103.5 kB / 0.5943 GB, free: 7.871 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.653, allocations: 78.73 kB / 0.5944 GB, free: 7.797 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (heater.fluidState[2].phase,heater.fluidState[1].phase,boiler.fluidState[2].phase,boiler.fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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 {3 37} Notification: Performance of prepare postOptimizeDAE: time 0.0005898/0.6536, allocations: 332.9 kB / 0.5947 GB, free: 7.461 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/0.6538, allocations: 75.11 kB / 0.5947 GB, free: 7.387 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008203/0.662, allocations: 7.933 MB / 0.6025 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.15e-05/0.6621, allocations: 23.97 kB / 0.6025 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.6621, allocations: 0 / 0.6025 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.6621, allocations: 3.984 kB / 0.6025 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00405/0.6662, allocations: 3.808 MB / 0.6062 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.6662, allocations: 0 / 0.6062 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.6678, allocations: 211.7 kB / 0.6064 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006196/0.6684, allocations: 145.4 kB / 0.6066 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.6685, allocations: 15.98 kB / 0.6066 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004071/0.6726, allocations: 4.058 MB / 0.6106 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.6726, allocations: 0 / 0.6106 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003405/0.676, allocations: 1.941 MB / 0.6124 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006607/0.6767, allocations: 239.8 kB / 0.6127 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/0.6769, allocations: 12 kB / 0.6127 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008365/0.6778, allocations: 83.77 kB / 0.6128 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.6779, allocations: 44.5 kB / 0.6128 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-05/0.678, allocations: 23.94 kB / 0.6128 GB, free: 4.234 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005256/0.6785, allocations: 362.8 kB / 0.6132 GB, free: 3.883 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6785, allocations: 0 / 0.6132 GB, free: 3.883 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005704/0.6842, allocations: 1.206 MB / 0.6144 GB, free: 2.676 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (boiler.p,boiler.htilde[1],heater.p,heater.htilde[1]) * Number of discrete variables: 8 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007219/0.6915, allocations: 0.9787 MB / 0.6153 GB, free: 1.688 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00454/0.6961, allocations: 1.984 MB / 0.6172 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.6961, allocations: 4.562 kB / 0.6173 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002226/0.6983, allocations: 0.8835 MB / 0.6181 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.7003, allocations: 299.2 kB / 0.6184 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005088/0.7055, allocations: 2.555 MB / 0.6209 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008071/0.7063, allocations: 1.093 MB / 0.622 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008892/0.7072, allocations: 209 kB / 0.6222 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.7075, allocations: 67.39 kB / 0.6222 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of SimCode: time 1.093e-06/0.7075, allocations: 0 / 0.6222 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.3025/1.01, allocations: 61.31 MB / 0.6821 GB, free: 142.4 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe 2>&1) Environment - environmentSimulation: