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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001772/0.001772, allocations: 157.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.81/1.81, allocations: 170.7 MB / 178.7 MB, free: 7.039 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001619/0.001618, allocations: 97.8 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2325/0.2325, allocations: 37.97 MB / 295.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.772e-05/1.787e-05, allocations: 4 kB / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3509, allocations: 48.69 MB / 398.7 MB, free: 6.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.05/6.401, allocations: 2.501 GB / 2.891 GB, free: 23.44 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/6.401, allocations: 85.33 kB / 2.891 GB, free: 23.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.645/8.046, allocations: 422 MB / 3.303 GB, free: 41.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.395e-06/8.046, allocations: 0 / 3.303 GB, free: 41.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.856e-05/8.046, allocations: 18.59 kB / 3.303 GB, free: 41.66 MB / 426.7 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.007347/8.053, allocations: 1.697 MB / 3.305 GB, free: 40.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/8.053, allocations: 10.62 kB / 3.305 GB, free: 40.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/8.056, allocations: 318.8 kB / 3.305 GB, free: 40.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/8.057, allocations: 0.5805 MB / 3.305 GB, free: 40.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/8.057, allocations: 22.19 kB / 3.306 GB, free: 40.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/8.058, allocations: 33.89 kB / 3.306 GB, free: 40.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009415/8.059, allocations: 0.5381 MB / 3.306 GB, free: 40.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009882/8.06, allocations: 0.6541 MB / 3.307 GB, free: 40.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/8.06, allocations: 6.375 kB / 3.307 GB, free: 40.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.521e-05/8.06, allocations: 3.969 kB / 3.307 GB, free: 40.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/8.06, allocations: 24.67 kB / 3.307 GB, free: 40.31 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01054/8.07, allocations: 7.014 MB / 3.314 GB, free: 35.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007354/8.071, allocations: 400.4 kB / 3.314 GB, free: 35.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/8.071, allocations: 207.5 kB / 3.314 GB, free: 35.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1628/8.234, allocations: 78.04 MB / 3.39 GB, free: 16.52 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/8.234, allocations: 34.75 kB / 3.39 GB, free: 16.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=46): time 3.286e-06/8.234, allocations: 0 / 3.39 GB, free: 16.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=50): time 0.006328/8.241, allocations: 1.779 MB / 3.392 GB, free: 15.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/8.241, allocations: 115.2 kB / 3.392 GB, free: 15.12 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005663/8.241, allocations: 388.7 kB / 3.393 GB, free: 14.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.371e-05/8.241, allocations: 25.7 kB / 3.393 GB, free: 14.83 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/8.242, allocations: 352.3 kB / 3.393 GB, free: 14.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/8.242, allocations: 164.8 kB / 3.393 GB, free: 14.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/8.242, allocations: 0 / 3.393 GB, free: 14.41 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/8.242, allocations: 365.9 kB / 3.393 GB, free: 14.06 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/8.242, allocations: 185.1 kB / 3.394 GB, free: 13.89 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/8.243, allocations: 384.4 kB / 3.394 GB, free: 13.44 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/8.244, allocations: 318 kB / 3.394 GB, free: 13.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/8.244, allocations: 7.234 kB / 3.394 GB, free: 13.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002227/8.246, allocations: 0.8718 MB / 3.395 GB, free: 12.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009248/8.247, allocations: 2.351 MB / 3.397 GB, free: 9.906 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/8.247, allocations: 8 kB / 3.398 GB, free: 9.898 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/8.248, allocations: 313.6 kB / 3.398 GB, free: 9.652 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004768/8.249, allocations: 142.5 kB / 3.398 GB, free: 9.543 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/8.25, allocations: 0.9526 MB / 3.399 GB, free: 8.613 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008188/8.251, allocations: 78.31 kB / 3.399 GB, free: 8.559 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/8.251, allocations: 39.38 kB / 3.399 GB, free: 8.523 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/8.251, allocations: 7.938 kB / 3.399 GB, free: 8.516 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001954/8.253, allocations: 0.7256 MB / 3.4 GB, free: 7.902 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/8.253, allocations: 4 kB / 3.4 GB, free: 7.898 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009399/8.254, allocations: 271.1 kB / 3.4 GB, free: 7.691 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/8.254, allocations: 152.6 kB / 3.4 GB, free: 7.562 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009416/8.255, allocations: 0.8369 MB / 3.401 GB, free: 6.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007704/8.256, allocations: 72.64 kB / 3.401 GB, free: 6.676 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.605e-05/8.256, allocations: 35.09 kB / 3.401 GB, free: 6.645 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0002948/8.256, allocations: 132.2 kB / 3.401 GB, free: 6.512 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/8.257, allocations: 62.53 kB / 3.401 GB, free: 6.453 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003407/8.26, allocations: 2.242 MB / 3.403 GB, free: 4.449 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.094e-05/8.26, allocations: 26.88 kB / 3.403 GB, free: 4.434 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/8.26, allocations: 4 kB / 3.403 GB, free: 4.43 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/8.26, allocations: 15.31 kB / 3.403 GB, free: 4.418 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004409/8.264, allocations: 3.061 MB / 3.406 GB, free: 1.746 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/8.265, allocations: 0 / 3.406 GB, free: 1.746 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005538/8.265, allocations: 145 kB / 3.407 GB, free: 1.633 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002935/8.265, allocations: 103.7 kB / 3.407 GB, free: 1.547 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.435e-05/8.265, allocations: 11.94 kB / 3.407 GB, free: 1.539 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008802/8.266, allocations: 1.153 MB / 3.408 GB, free: 368 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/8.266, allocations: 192 / 3.408 GB, free: 368 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2809/8.547, allocations: 1.906 MB / 3.41 GB, free: 72.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005279/8.548, allocations: 333.5 kB / 3.41 GB, free: 72.87 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/8.548, allocations: 1.281 kB / 3.41 GB, free: 72.87 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005063/8.549, allocations: 55.03 kB / 3.41 GB, free: 72.87 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/8.549, allocations: 59.72 kB / 3.41 GB, free: 72.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/8.549, allocations: 15.25 kB / 3.41 GB, free: 72.87 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005071/8.549, allocations: 437.6 kB / 3.411 GB, free: 72.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.02e-07/8.549, allocations: 2.438 kB / 3.411 GB, free: 72.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006128/8.555, allocations: 1.34 MB / 3.412 GB, free: 72.77 MB / 458.7 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: 17 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.009168/8.565, allocations: 1.801 MB / 3.414 GB, free: 72.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002463/8.567, allocations: 1.093 MB / 3.415 GB, free: 72.65 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/8.567, allocations: 0 / 3.415 GB, free: 72.65 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/8.568, allocations: 0.5823 MB / 3.415 GB, free: 72.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/8.57, allocations: 271.8 kB / 3.415 GB, free: 72.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1464/8.716, allocations: 84.43 MB / 3.498 GB, free: 70.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/8.717, allocations: 1.117 MB / 3.499 GB, free: 69.42 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001191/8.718, allocations: 0.6692 MB / 3.5 GB, free: 69.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/8.718, allocations: 57.58 kB / 3.5 GB, free: 69.38 MB / 458.7 MB Notification: Performance of SimCode: time 6.41e-07/8.718, allocations: 0 / 3.5 GB, free: 69.38 MB / 458.7 MB Notification: Performance of Templates: time 0.0492/8.767, allocations: 38.15 MB / 3.537 GB, free: 47.64 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (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)