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.001064/0.001064, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001148/0.001148, 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.441/1.441, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 75.86 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3671, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation): time 0.02362/0.3908, allocations: 21.23 MB / 0.5524 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.404, allocations: 8.21 MB / 0.5604 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.4056, allocations: 27.81 kB / 0.5604 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.4068, allocations: 353.5 kB / 0.5608 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003647/0.4105, allocations: 1.1 MB / 0.5619 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002909/0.4134, allocations: 0.9805 MB / 0.5628 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002584/0.416, allocations: 1.758 MB / 0.5645 GB, free: 8 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009348/0.417, allocations: 0.6257 MB / 0.5651 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.4183, allocations: 0.7474 MB / 0.5659 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009907/0.4193, allocations: 0.6537 MB / 0.5665 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.4195, allocations: 79.94 kB / 0.5666 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.4212, allocations: 0.7098 MB / 0.5673 GB, free: 13.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.4215, allocations: 227.2 kB / 0.5675 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000554/0.4221, allocations: 461.8 kB / 0.5679 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002504/0.4246, allocations: 1.478 MB / 0.5694 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4246, allocations: 7.938 kB / 0.5694 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4246, allocations: 0 / 0.5694 GB, free: 11.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.4246, allocations: 0 / 0.5694 GB, free: 11.01 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.003079/0.4277, allocations: 1.223 MB / 0.5706 GB, free: 9.734 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.4278, allocations: 8.031 kB / 0.5706 GB, free: 9.727 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004125/0.4282, allocations: 99.89 kB / 0.5707 GB, free: 9.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.4294, allocations: 0.6007 MB / 0.5713 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.4294, allocations: 41.44 kB / 0.5713 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.4295, allocations: 48 kB / 0.5714 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.4311, allocations: 0.8078 MB / 0.5721 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.4312, allocations: 0 / 0.5721 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-05/0.4312, allocations: 24 kB / 0.5722 GB, free: 8.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.044e-05/0.4313, allocations: 24.94 kB / 0.5722 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.4329, allocations: 0.761 MB / 0.5729 GB, free: 7.234 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.005164/0.4381, allocations: 3.585 MB / 0.5764 GB, free: 3.422 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.4392, allocations: 458.2 kB / 0.5769 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007197/0.4399, allocations: 329.3 kB / 0.5772 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005318/0.4405, allocations: 0.5704 MB / 0.5777 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.4405, allocations: 38.94 kB / 0.5778 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007024/0.4412, allocations: 119.4 kB / 0.5779 GB, free: 1.781 MB / 430.1 MB Notification: Performance of pre-optimization done (n=45): time 3.646e-06/0.4413, allocations: 0 / 0.5779 GB, free: 1.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=69): time 0.05359/0.4948, allocations: 7.948 MB / 0.5857 GB, free: 9.648 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.495, allocations: 111.4 kB / 0.5858 GB, free: 9.512 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008267/0.4958, allocations: 0.6409 MB / 0.5864 GB, free: 8.859 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.4959, allocations: 41.69 kB / 0.5864 GB, free: 8.812 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.4962, allocations: 352.2 kB / 0.5868 GB, free: 8.461 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.4964, allocations: 236.6 kB / 0.587 GB, free: 8.227 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003586/0.4968, allocations: 210.3 kB / 0.5872 GB, free: 8.016 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.497, allocations: 386.8 kB / 0.5876 GB, free: 7.629 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.4985, allocations: 0.52 MB / 0.5881 GB, free: 7.105 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.5002, allocations: 0.7106 MB / 0.5888 GB, free: 6.316 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00333/0.5035, allocations: 1.218 MB / 0.5899 GB, free: 5.027 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.5036, allocations: 4 kB / 0.5899 GB, free: 5.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004385/0.508, allocations: 1.575 MB / 0.5915 GB, free: 3.434 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.508, allocations: 4 kB / 0.5915 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.508, allocations: 8.406 kB / 0.5915 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01192/0.52, allocations: 1.534 MB / 0.593 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.5215, allocations: 247.6 kB / 0.5932 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003213/0.5247, allocations: 1.688 MB / 0.5949 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.5264, allocations: 99.94 kB / 0.595 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/0.5266, allocations: 63.92 kB / 0.595 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001989/0.5286, allocations: 0.6501 MB / 0.5957 GB, free: 15.08 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001914/0.5306, allocations: 0.6871 MB / 0.5963 GB, free: 14.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003544/0.5341, allocations: 1.187 MB / 0.5975 GB, free: 13.06 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.168e-05/0.5342, allocations: 4 kB / 0.5975 GB, free: 13.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.004745/0.5389, allocations: 1.528 MB / 0.599 GB, free: 11.51 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.5389, allocations: 4 kB / 0.599 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.539, allocations: 11.94 kB / 0.599 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002806/0.5418, allocations: 469.5 kB / 0.5995 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.5432, allocations: 267.5 kB / 0.5997 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005204/0.5484, allocations: 3.142 MB / 0.6028 GB, free: 7.418 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.55, allocations: 107.9 kB / 0.6029 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/0.5502, allocations: 59.92 kB / 0.6029 GB, free: 7.254 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.0005205/0.5507, allocations: 232 kB / 0.6032 GB, free: 7.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003613/0.5511, allocations: 83.06 kB / 0.6032 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005367/0.5564, allocations: 1.819 MB / 0.605 GB, free: 5.121 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.5565, allocations: 3.984 kB / 0.605 GB, free: 5.117 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.5565, allocations: 3.938 kB / 0.605 GB, free: 5.113 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006271/0.5571, allocations: 279.7 kB / 0.6053 GB, free: 4.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/0.5574, allocations: 16 kB / 0.6053 GB, free: 4.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.5587, allocations: 99.86 kB / 0.6054 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.5589, allocations: 64.84 kB / 0.6055 GB, free: 4.645 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006579/0.5655, allocations: 1.678 MB / 0.6071 GB, free: 2.953 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005191/0.5707, allocations: 1.927 MB / 0.609 GB, free: 1.004 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001489/0.5722, allocations: 499.6 kB / 0.6095 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000793/0.573, allocations: 455 kB / 0.6099 GB, free: 84 kB / 462.1 MB Notification: Performance of Backend: time 6.71e-07/0.573, allocations: 0 / 0.6099 GB, free: 84 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009224/0.5823, allocations: 2.081 MB / 0.6119 GB, free: 13.99 MB / 478.1 MB Notification: Performance of SimCode: time 0.00445/0.5867, allocations: 2.391 MB / 0.6143 GB, free: 11.55 MB / 478.1 MB Notification: Performance of Templates: time 0.05891/0.6457, allocations: 34.43 MB / 0.6479 GB, free: 9.258 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)