Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001177/0.001177, 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.001337/0.001337, 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.274/1.274, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2806/0.2806, allocations: 39.99 MB / 310.4 MB, free: 9.996 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.2. 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.0005218/0.0005219, allocations: 20 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09779/0.09832, allocations: 57.94 MB / 436.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve): time 0.2056/0.304, allocations: 35.41 MB / 472.2 MB, free: 33.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01767/0.3217, allocations: 17.36 MB / 489.5 MB, free: 22.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008143/0.3226, allocations: 28.16 kB / 489.6 MB, free: 22.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.3237, allocations: 431.4 kB / 490 MB, free: 21.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009491/0.3332, allocations: 4.073 MB / 494.1 MB, free: 19.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007208/0.3404, allocations: 2.931 MB / 497 MB, free: 18.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001525/0.342, allocations: 1.029 MB / 498 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005467/0.3425, allocations: 391.2 kB / 498.4 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.3436, allocations: 0.6508 MB / 499.1 MB, free: 17.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00883/0.3524, allocations: 6.079 MB / 0.4933 GB, free: 16.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.3527, allocations: 31.81 kB / 0.4933 GB, free: 16.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01478/0.3674, allocations: 7.557 MB / 0.5007 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003099/0.3678, allocations: 152.6 kB / 0.5009 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003885/0.3682, allocations: 171.3 kB / 0.501 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009018/0.3772, allocations: 3.57 MB / 0.5045 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3773, allocations: 1.031 kB / 0.5045 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3773, allocations: 0 / 0.5045 GB, free: 14.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.3773, allocations: 0 / 0.5045 GB, free: 14.11 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.00616/0.3834, allocations: 1.547 MB / 0.506 GB, free: 13.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3835, allocations: 9.281 kB / 0.506 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/0.3858, allocations: 311.6 kB / 0.5063 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008251/0.3866, allocations: 0.518 MB / 0.5068 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.482e-05/0.3867, allocations: 50.42 kB / 0.5069 GB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.3868, allocations: 57.34 kB / 0.5069 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/0.3891, allocations: 0.9936 MB / 0.5079 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.3891, allocations: 2.094 kB / 0.5079 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/0.3892, allocations: 23.19 kB / 0.5079 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.48e-05/0.3892, allocations: 25.16 kB / 0.5079 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/0.3915, allocations: 0.9188 MB / 0.5088 GB, free: 11.31 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.004311/0.3959, allocations: 4.496 MB / 0.5132 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/0.3981, allocations: 0.7816 MB / 0.514 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1082/0.5063, allocations: 56.33 MB / 0.569 GB, free: 9.855 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.5063, allocations: 43 kB / 0.5691 GB, free: 9.805 MB / 446.1 MB Notification: Performance of pre-optimization done (n=48): time 2.073e-06/0.5063, allocations: 0 / 0.5691 GB, free: 9.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.007115/0.5135, allocations: 2.368 MB / 0.5714 GB, free: 7.359 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.5135, allocations: 107.2 kB / 0.5715 GB, free: 7.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006499/0.5142, allocations: 0.5302 MB / 0.572 GB, free: 6.691 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.618e-05/0.5143, allocations: 37.64 kB / 0.572 GB, free: 6.648 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.5145, allocations: 324.3 kB / 0.5723 GB, free: 6.324 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.5146, allocations: 185.3 kB / 0.5725 GB, free: 6.141 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.5147, allocations: 8 kB / 0.5725 GB, free: 6.133 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.5148, allocations: 370.8 kB / 0.5729 GB, free: 5.762 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006134/0.5154, allocations: 265.1 kB / 0.5731 GB, free: 5.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006843/0.5161, allocations: 430.7 kB / 0.5735 GB, free: 5.012 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/0.5168, allocations: 314 kB / 0.5738 GB, free: 4.707 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5168, allocations: 0 / 0.5738 GB, free: 4.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002151/0.519, allocations: 0.9675 MB / 0.5748 GB, free: 3.727 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005381/0.5195, allocations: 1.835 MB / 0.5766 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.5195, allocations: 4 kB / 0.5766 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002186/0.5217, allocations: 484.2 kB / 0.577 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/0.5222, allocations: 140.9 kB / 0.5772 GB, free: 1.133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.5234, allocations: 0.9424 MB / 0.5781 GB, free: 168 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000693/0.5241, allocations: 83.89 kB / 0.5782 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/0.5242, allocations: 35.98 kB / 0.5782 GB, free: 48 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.5242, allocations: 4 kB / 0.5782 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002316/0.5265, allocations: 0.9195 MB / 0.5791 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5265, allocations: 4 kB / 0.5791 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/0.5279, allocations: 324.7 kB / 0.5794 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.5284, allocations: 139.8 kB / 0.5796 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.5296, allocations: 0.8869 MB / 0.5804 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/0.5302, allocations: 99.77 kB / 0.5805 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.5303, allocations: 27.98 kB / 0.5805 GB, free: 13.63 MB / 462.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.0003561/0.5307, allocations: 284.9 kB / 0.5808 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.5308, allocations: 71.19 kB / 0.5809 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003345/0.5341, allocations: 2.772 MB / 0.5836 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.908e-05/0.5342, allocations: 31.95 kB / 0.5836 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5342, allocations: 0 / 0.5836 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.5342, allocations: 3.984 kB / 0.5836 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004337/0.5386, allocations: 3.826 MB / 0.5874 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.5386, allocations: 0 / 0.5874 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.5392, allocations: 155.8 kB / 0.5875 GB, free: 6.398 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003951/0.5396, allocations: 101.6 kB / 0.5876 GB, free: 6.293 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/0.5396, allocations: 16 kB / 0.5876 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006632/0.5403, allocations: 1.132 MB / 0.5887 GB, free: 5.094 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5403, allocations: 4.094 kB / 0.5887 GB, free: 5.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003014/0.5433, allocations: 2.305 MB / 0.591 GB, free: 2.762 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004746/0.5438, allocations: 370.6 kB / 0.5913 GB, free: 2.379 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.5439, allocations: 13.44 kB / 0.5913 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004976/0.5444, allocations: 71.91 kB / 0.5914 GB, free: 2.297 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.5445, allocations: 48.48 kB / 0.5915 GB, free: 2.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/0.5446, allocations: 23.98 kB / 0.5915 GB, free: 2.227 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006727/0.5453, allocations: 0.5693 MB / 0.592 GB, free: 1.652 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5453, allocations: 0 / 0.592 GB, free: 1.652 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004884/0.5502, allocations: 1.359 MB / 0.5934 GB, free: 300 kB / 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.00666/0.5569, allocations: 1.373 MB / 0.5947 GB, free: 14.92 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002922/0.5598, allocations: 1.402 MB / 0.5961 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5598, allocations: 4 kB / 0.5961 GB, free: 13.52 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.5609, allocations: 0.7506 MB / 0.5968 GB, free: 12.77 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.5626, allocations: 330.8 kB / 0.5971 GB, free: 12.45 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.5659, allocations: 2.974 MB / 0.6 GB, free: 9.445 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.5664, allocations: 1.154 MB / 0.6012 GB, free: 8.262 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009646/0.5674, allocations: 0.6604 MB / 0.6018 GB, free: 7.602 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.5676, allocations: 63.42 kB / 0.6019 GB, free: 7.539 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5676, allocations: 4 kB / 0.6019 GB, free: 7.535 MB / 478.1 MB Notification: Performance of Templates: time 0.2203/0.7879, allocations: 50.02 MB / 0.6507 GB, free: 149 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) Environment - environmentSimulation: