Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 99.16 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.001513/0.001512, 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.771/1.771, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.4971/0.4971, 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.0006505/0.0006506, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1584, allocations: 57.52 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve): time 0.2886/0.447, allocations: 35.41 MB / 469.3 MB, free: 33.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02029/0.4674, allocations: 17.35 MB / 486.7 MB, free: 24.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.4685, allocations: 25.16 kB / 486.7 MB, free: 24.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.4699, allocations: 433.4 kB / 487.1 MB, free: 24.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01406/0.484, allocations: 4.082 MB / 491.2 MB, free: 22.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01025/0.4943, allocations: 2.922 MB / 494.1 MB, free: 21.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002156/0.4964, allocations: 1.027 MB / 495.2 MB, free: 20.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006141/0.4971, allocations: 396.8 kB / 495.6 MB, free: 20.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.4983, allocations: 0.6405 MB / 496.2 MB, free: 20.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009472/0.5077, allocations: 6.082 MB / 0.4905 GB, free: 19.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002274/0.508, allocations: 32.72 kB / 0.4905 GB, free: 19.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01631/0.5243, allocations: 7.56 MB / 0.4979 GB, free: 17.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003342/0.5247, allocations: 152.1 kB / 0.4981 GB, free: 17.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003938/0.5251, allocations: 171.7 kB / 0.4982 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009784/0.5349, allocations: 3.571 MB / 0.5017 GB, free: 16.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.535, allocations: 0 / 0.5017 GB, free: 16.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.535, allocations: 0 / 0.5017 GB, free: 16.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.535, allocations: 4 kB / 0.5017 GB, free: 16.89 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.006499/0.5415, allocations: 1.548 MB / 0.5032 GB, free: 15.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.5415, allocations: 9.438 kB / 0.5032 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00225/0.5438, allocations: 320.3 kB / 0.5035 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008278/0.5446, allocations: 0.5105 MB / 0.504 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.91e-05/0.5447, allocations: 46.56 kB / 0.5041 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.5448, allocations: 56.94 kB / 0.5041 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.5472, allocations: 0.9954 MB / 0.5051 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.5473, allocations: 1.156 kB / 0.5051 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.576e-05/0.5473, allocations: 31.52 kB / 0.5051 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.406e-05/0.5474, allocations: 24.97 kB / 0.5052 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002685/0.5501, allocations: 0.92 MB / 0.5061 GB, free: 14.57 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.005135/0.5552, allocations: 4.495 MB / 0.5105 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.5575, allocations: 0.7838 MB / 0.5112 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1185/0.676, allocations: 56.33 MB / 0.5662 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.238e-05/0.6761, allocations: 42.98 kB / 0.5663 GB, free: 14.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=48): time 2.324e-06/0.6761, allocations: 0 / 0.5663 GB, free: 14.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.007866/0.684, allocations: 2.368 MB / 0.5686 GB, free: 11.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/0.6841, allocations: 111.2 kB / 0.5687 GB, free: 11.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007329/0.6848, allocations: 0.5263 MB / 0.5692 GB, free: 11.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-05/0.6849, allocations: 37.7 kB / 0.5693 GB, free: 11.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.6852, allocations: 320.2 kB / 0.5696 GB, free: 10.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.6853, allocations: 185.3 kB / 0.5697 GB, free: 10.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.6854, allocations: 16 kB / 0.5697 GB, free: 10.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.6856, allocations: 370.8 kB / 0.5701 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006783/0.6862, allocations: 269.1 kB / 0.5704 GB, free: 9.953 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007499/0.687, allocations: 430.7 kB / 0.5708 GB, free: 9.461 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007051/0.6877, allocations: 302 kB / 0.5711 GB, free: 9.168 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.6877, allocations: 4 kB / 0.5711 GB, free: 9.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002394/0.6901, allocations: 0.9633 MB / 0.572 GB, free: 8.191 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001022/0.6912, allocations: 1.831 MB / 0.5738 GB, free: 6.215 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.6912, allocations: 8 kB / 0.5738 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002638/0.6939, allocations: 488.2 kB / 0.5743 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/0.6944, allocations: 139.7 kB / 0.5744 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.696, allocations: 0.9385 MB / 0.5753 GB, free: 4.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009628/0.697, allocations: 91.97 kB / 0.5754 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-05/0.6971, allocations: 31.98 kB / 0.5754 GB, free: 4.504 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.6971, allocations: 7.953 kB / 0.5754 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002587/0.6997, allocations: 0.9075 MB / 0.5763 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6997, allocations: 4 kB / 0.5763 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.7012, allocations: 335.7 kB / 0.5766 GB, free: 3.258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/0.7017, allocations: 151 kB / 0.5768 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.703, allocations: 0.8844 MB / 0.5777 GB, free: 2.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007764/0.7038, allocations: 87.8 kB / 0.5777 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/0.7039, allocations: 35.98 kB / 0.5778 GB, free: 2.082 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (54): * Single equations (assignments): 53 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.000518/0.7044, allocations: 286 kB / 0.578 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.7046, allocations: 63.25 kB / 0.5781 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004154/0.7088, allocations: 2.757 MB / 0.5808 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.894e-05/0.7088, allocations: 39.94 kB / 0.5808 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.7088, allocations: 3.953 kB / 0.5808 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.7088, allocations: 3.984 kB / 0.5808 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005217/0.7141, allocations: 3.834 MB / 0.5846 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.7141, allocations: 0.875 kB / 0.5846 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005895/0.7147, allocations: 151.8 kB / 0.5847 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004329/0.7151, allocations: 101.6 kB / 0.5848 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.7152, allocations: 15.98 kB / 0.5848 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008112/0.716, allocations: 1.136 MB / 0.586 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.716, allocations: 0 / 0.586 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003483/0.7195, allocations: 2.297 MB / 0.5882 GB, free: 7.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000693/0.7202, allocations: 373.1 kB / 0.5886 GB, free: 6.848 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/0.7205, allocations: 15.94 kB / 0.5886 GB, free: 6.832 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006799/0.7211, allocations: 71.91 kB / 0.5886 GB, free: 6.762 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.7213, allocations: 60.47 kB / 0.5887 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.225e-05/0.7214, allocations: 23.94 kB / 0.5887 GB, free: 6.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008315/0.7222, allocations: 0.5654 MB / 0.5893 GB, free: 6.113 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.7222, allocations: 0 / 0.5893 GB, free: 6.113 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007488/0.7297, allocations: 1.359 MB / 0.5906 GB, free: 4.754 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: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01096/0.7407, allocations: 1.373 MB / 0.5919 GB, free: 3.375 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003725/0.7444, allocations: 1.405 MB / 0.5933 GB, free: 1.973 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.7445, allocations: 0 / 0.5933 GB, free: 1.973 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001576/0.746, allocations: 0.7467 MB / 0.594 GB, free: 1.223 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/0.7485, allocations: 333.3 kB / 0.5944 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004672/0.7532, allocations: 2.968 MB / 0.5973 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.7543, allocations: 1.158 MB / 0.5984 GB, free: 12.72 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001585/0.7559, allocations: 0.6606 MB / 0.599 GB, free: 12.06 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.7562, allocations: 63.42 kB / 0.5991 GB, free: 12 MB / 478.1 MB Notification: Performance of SimCode: time 8.91e-07/0.7562, allocations: 0 / 0.5991 GB, free: 12 MB / 478.1 MB Notification: Performance of Templates: time 0.3086/1.065, allocations: 50.02 MB / 0.6479 GB, free: 153.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) Environment - environmentSimulation: