Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.T|N_pump.y|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V1_Opening.y|V2_Opening.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.T|N_pump.y|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V1_Opening.y|V2_Opening.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001123/0.001123, allocations: 117.8 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.001231, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2225/0.2225, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 75.88 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3347, allocations: 62.43 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation): time 0.02515/0.3599, allocations: 21.23 MB / 0.5524 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01278/0.3727, allocations: 8.208 MB / 0.5604 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009941/0.3737, allocations: 23.81 kB / 0.5604 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.3749, allocations: 361.5 kB / 0.5608 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002828/0.3777, allocations: 1.08 MB / 0.5618 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.3801, allocations: 0.9843 MB / 0.5628 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002409/0.3826, allocations: 1.754 MB / 0.5645 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.3836, allocations: 0.6178 MB / 0.5651 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.385, allocations: 0.7551 MB / 0.5658 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.3863, allocations: 0.6499 MB / 0.5665 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002347/0.3865, allocations: 76 kB / 0.5666 GB, free: 13.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.388, allocations: 0.7137 MB / 0.5672 GB, free: 13.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003439/0.3884, allocations: 227.2 kB / 0.5675 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004843/0.3889, allocations: 457.9 kB / 0.5679 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001819/0.3907, allocations: 1.478 MB / 0.5693 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3907, allocations: 7.938 kB / 0.5694 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3907, allocations: 0 / 0.5694 GB, free: 10.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.3907, allocations: 0 / 0.5694 GB, free: 10.99 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002411/0.3931, allocations: 1.225 MB / 0.5705 GB, free: 9.719 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3932, allocations: 8.031 kB / 0.5706 GB, free: 9.711 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003676/0.3936, allocations: 99.89 kB / 0.5707 GB, free: 9.613 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008985/0.3945, allocations: 0.5929 MB / 0.5712 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/0.3945, allocations: 49.44 kB / 0.5713 GB, free: 8.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.693e-05/0.3946, allocations: 48 kB / 0.5713 GB, free: 8.883 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.396, allocations: 0.8078 MB / 0.5721 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.396, allocations: 7.938 kB / 0.5721 GB, free: 8.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-05/0.3961, allocations: 24 kB / 0.5721 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.3962, allocations: 20.98 kB / 0.5722 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.3977, allocations: 0.7571 MB / 0.5729 GB, free: 7.219 MB / 430.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.004871/0.4025, allocations: 3.585 MB / 0.5764 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.4037, allocations: 464 kB / 0.5768 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007153/0.4045, allocations: 325.3 kB / 0.5772 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005964/0.4051, allocations: 0.5743 MB / 0.5777 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.4051, allocations: 38.94 kB / 0.5778 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006359/0.4057, allocations: 115.4 kB / 0.5779 GB, free: 1.762 MB / 430.1 MB Notification: Performance of pre-optimization done (n=45): time 4.709e-06/0.4058, allocations: 0 / 0.5779 GB, free: 1.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=69): time 0.0546/0.4604, allocations: 7.951 MB / 0.5856 GB, free: 9.629 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.861e-05/0.4605, allocations: 111.4 kB / 0.5857 GB, free: 9.492 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008758/0.4614, allocations: 0.637 MB / 0.5864 GB, free: 8.844 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.4615, allocations: 37.7 kB / 0.5864 GB, free: 8.801 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.4618, allocations: 356.2 kB / 0.5867 GB, free: 8.445 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.4621, allocations: 236.6 kB / 0.587 GB, free: 8.211 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003751/0.4625, allocations: 214.3 kB / 0.5872 GB, free: 7.996 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.4627, allocations: 386.8 kB / 0.5875 GB, free: 7.609 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.4642, allocations: 0.52 MB / 0.588 GB, free: 7.086 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.4658, allocations: 0.7067 MB / 0.5887 GB, free: 6.301 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003095/0.4689, allocations: 1.222 MB / 0.5899 GB, free: 5.008 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.4689, allocations: 4 kB / 0.5899 GB, free: 5.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00411/0.473, allocations: 1.567 MB / 0.5915 GB, free: 3.422 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4731, allocations: 10.19 kB / 0.5915 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.4731, allocations: 8.406 kB / 0.5915 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01218/0.4853, allocations: 1.531 MB / 0.593 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.4867, allocations: 247.6 kB / 0.5932 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002944/0.4897, allocations: 1.678 MB / 0.5948 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.4912, allocations: 107.9 kB / 0.5949 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.4915, allocations: 67.91 kB / 0.595 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001731/0.4932, allocations: 0.6501 MB / 0.5956 GB, free: 15.06 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001629/0.4948, allocations: 0.6833 MB / 0.5963 GB, free: 14.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003061/0.4979, allocations: 1.191 MB / 0.5975 GB, free: 13.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.568e-06/0.4979, allocations: 0 / 0.5975 GB, free: 13.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.004356/0.5023, allocations: 1.532 MB / 0.599 GB, free: 11.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.5023, allocations: 6.5 kB / 0.599 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.5023, allocations: 11.94 kB / 0.599 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002807/0.5052, allocations: 477.5 kB / 0.5994 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.5066, allocations: 255.5 kB / 0.5997 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004803/0.5114, allocations: 3.157 MB / 0.6028 GB, free: 7.395 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.5129, allocations: 99.92 kB / 0.6029 GB, free: 7.297 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.513, allocations: 59.94 kB / 0.6029 GB, free: 7.238 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,10), (3,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003925/0.5134, allocations: 228 kB / 0.6031 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/0.5137, allocations: 83.05 kB / 0.6032 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004721/0.5184, allocations: 1.82 MB / 0.605 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.5185, allocations: 7.969 kB / 0.605 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.5185, allocations: 7.938 kB / 0.605 GB, free: 5.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004491/0.5189, allocations: 275.7 kB / 0.6053 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.5191, allocations: 16 kB / 0.6053 GB, free: 4.785 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.5203, allocations: 95.86 kB / 0.6054 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.5205, allocations: 64.91 kB / 0.6054 GB, free: 4.629 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006634/0.5272, allocations: 1.678 MB / 0.6071 GB, free: 2.938 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004675/0.5318, allocations: 1.919 MB / 0.609 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001348/0.5332, allocations: 0.4918 MB / 0.6094 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005543/0.5338, allocations: 451 kB / 0.6099 GB, free: 76 kB / 462.1 MB Notification: Performance of Backend: time 4.81e-07/0.5338, allocations: 4 kB / 0.6099 GB, free: 72 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007724/0.5415, allocations: 2.085 MB / 0.6119 GB, free: 13.98 MB / 478.1 MB Notification: Performance of SimCode: time 0.004009/0.5455, allocations: 2.398 MB / 0.6143 GB, free: 11.54 MB / 478.1 MB Notification: Performance of Templates: time 0.05805/0.6036, allocations: 35.29 MB / 0.6487 GB, free: 8.379 MB / 0.4981 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1)