Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/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(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001203/0.001204, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.838/1.838, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3819/0.3819, allocations: 38.03 MB / 308.4 MB, free: 10.44 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005769/0.000577, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1444, allocations: 57.52 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.2918/0.4363, allocations: 35.41 MB / 469.3 MB, free: 34.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02096/0.4573, allocations: 17.36 MB / 486.7 MB, free: 25.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.4586, allocations: 28.22 kB / 486.7 MB, free: 25.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.4601, allocations: 423.2 kB / 487.1 MB, free: 24.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01177/0.4719, allocations: 4.076 MB / 491.2 MB, free: 22.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00891/0.4808, allocations: 2.927 MB / 494.1 MB, free: 21.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002059/0.4828, allocations: 1.019 MB / 495.2 MB, free: 20.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006949/0.4836, allocations: 383.2 kB / 495.5 MB, free: 20.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.4853, allocations: 0.6421 MB / 496.2 MB, free: 20.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01025/0.4955, allocations: 5.836 MB / 0.4903 GB, free: 19.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002693/0.4958, allocations: 32.59 kB / 0.4903 GB, free: 19.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01797/0.5138, allocations: 7.558 MB / 0.4977 GB, free: 18.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004101/0.5142, allocations: 150.5 kB / 0.4978 GB, free: 18.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005341/0.5148, allocations: 172.2 kB / 0.498 GB, free: 17.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0118/0.5266, allocations: 3.575 MB / 0.5015 GB, free: 17.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5267, allocations: 0 / 0.5015 GB, free: 17.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.5267, allocations: 1.031 kB / 0.5015 GB, free: 17.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.964e-05/0.5267, allocations: 0 / 0.5015 GB, free: 17.2 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008926/0.5356, allocations: 1.543 MB / 0.503 GB, free: 16.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.5357, allocations: 9.156 kB / 0.503 GB, free: 16.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002755/0.5385, allocations: 315.3 kB / 0.5033 GB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.54, allocations: 0.5107 MB / 0.5038 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.88e-05/0.5401, allocations: 49.88 kB / 0.5038 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.5402, allocations: 59.11 kB / 0.5039 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/0.5429, allocations: 0.9879 MB / 0.5048 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.5429, allocations: 9.062 kB / 0.5049 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.566e-05/0.543, allocations: 31.14 kB / 0.5049 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.291e-05/0.5431, allocations: 21.12 kB / 0.5049 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.5456, allocations: 0.9159 MB / 0.5058 GB, free: 14.91 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.005343/0.551, allocations: 4.562 MB / 0.5103 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/0.5535, allocations: 0.8033 MB / 0.511 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1271/0.6807, allocations: 56.34 MB / 0.5661 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.658e-05/0.6808, allocations: 39.81 kB / 0.5661 GB, free: 14.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=48): time 3.436e-06/0.6808, allocations: 4 kB / 0.5661 GB, free: 14.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.01206/0.6928, allocations: 2.307 MB / 0.5684 GB, free: 12.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.693, allocations: 115.2 kB / 0.5685 GB, free: 12.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.6944, allocations: 0.5027 MB / 0.569 GB, free: 11.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.6946, allocations: 37.7 kB / 0.569 GB, free: 11.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004639/0.695, allocations: 320.2 kB / 0.5693 GB, free: 11.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.6954, allocations: 185.3 kB / 0.5695 GB, free: 11.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.6954, allocations: 8 kB / 0.5695 GB, free: 11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002969/0.6958, allocations: 374.8 kB / 0.5698 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.6968, allocations: 273.1 kB / 0.5701 GB, free: 10.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.698, allocations: 454.1 kB / 0.5705 GB, free: 9.852 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.6992, allocations: 314 kB / 0.5708 GB, free: 9.547 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.6992, allocations: 4 kB / 0.5708 GB, free: 9.543 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003842/0.7031, allocations: 1.002 MB / 0.5718 GB, free: 8.531 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00101/0.7041, allocations: 1.749 MB / 0.5735 GB, free: 6.645 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.7041, allocations: 4 kB / 0.5735 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00358/0.7077, allocations: 468.3 kB / 0.574 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007296/0.7085, allocations: 138.7 kB / 0.5741 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.7106, allocations: 0.9192 MB / 0.575 GB, free: 5.102 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.7119, allocations: 95.83 kB / 0.5751 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.712, allocations: 35.98 kB / 0.5751 GB, free: 4.973 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.7121, allocations: 8 kB / 0.5751 GB, free: 4.965 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003777/0.7158, allocations: 0.9351 MB / 0.576 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.7159, allocations: 4 kB / 0.576 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/0.7181, allocations: 340.6 kB / 0.5764 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007574/0.7189, allocations: 139.8 kB / 0.5765 GB, free: 3.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.721, allocations: 0.8865 MB / 0.5774 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.7221, allocations: 87.88 kB / 0.5775 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.842e-05/0.7223, allocations: 28 kB / 0.5775 GB, free: 2.531 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0006863/0.723, allocations: 305.9 kB / 0.5778 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/0.7232, allocations: 71.19 kB / 0.5778 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005922/0.7292, allocations: 2.925 MB / 0.5807 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-05/0.7293, allocations: 43.92 kB / 0.5807 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.7293, allocations: 4 kB / 0.5807 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.7293, allocations: 0 / 0.5807 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00779/0.7371, allocations: 4.113 MB / 0.5848 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.7371, allocations: 0 / 0.5848 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.7382, allocations: 163.8 kB / 0.5849 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005496/0.7388, allocations: 80.69 kB / 0.585 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.508e-05/0.7389, allocations: 19.95 kB / 0.585 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009593/0.7399, allocations: 1.17 MB / 0.5862 GB, free: 9.516 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7399, allocations: 0 / 0.5862 GB, free: 9.516 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004649/0.7445, allocations: 2.605 MB / 0.5887 GB, free: 6.887 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008899/0.7455, allocations: 334.7 kB / 0.589 GB, free: 6.539 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002816/0.7458, allocations: 15.98 kB / 0.589 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009993/0.7468, allocations: 75.86 kB / 0.5891 GB, free: 6.449 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/0.747, allocations: 56.47 kB / 0.5892 GB, free: 6.395 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.359e-05/0.7471, allocations: 19.98 kB / 0.5892 GB, free: 6.375 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001008/0.7481, allocations: 467 kB / 0.5896 GB, free: 5.918 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.7481, allocations: 4 kB / 0.5896 GB, free: 5.914 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007539/0.7556, allocations: 1.339 MB / 0.5909 GB, free: 4.574 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01034/0.766, allocations: 1.375 MB / 0.5923 GB, free: 3.191 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00429/0.7703, allocations: 1.503 MB / 0.5937 GB, free: 1.691 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.7704, allocations: 4.062 kB / 0.5938 GB, free: 1.688 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.7719, allocations: 0.8753 MB / 0.5946 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/0.774, allocations: 317.7 kB / 0.5949 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/0.7784, allocations: 3.127 MB / 0.598 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00081/0.7792, allocations: 1.17 MB / 0.5991 GB, free: 12.15 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001253/0.7805, allocations: 0.7264 MB / 0.5998 GB, free: 11.42 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.7807, allocations: 63.42 kB / 0.5999 GB, free: 11.36 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.7807, allocations: 0 / 0.5999 GB, free: 11.36 MB / 478.1 MB Notification: Performance of Templates: time 0.3025/1.083, allocations: 49.48 MB / 0.6482 GB, free: 154.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) Environment - environmentSimulation: