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.001504/0.001504, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.228/1.228, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.00171/0.00171, allocations: 109.6 kB / 223.2 MB, free: 4.043 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.1673/0.1673, allocations: 38 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.705e-05/2.716e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08052/0.08057, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.111/5.191, allocations: 2.502 GB / 2.898 GB, free: 99.51 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/5.192, allocations: 92.42 kB / 2.898 GB, free: 99.51 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.307/6.499, allocations: 426.1 MB / 3.314 GB, free: 33.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.793e-06/6.499, allocations: 0 / 3.314 GB, free: 33.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.456e-05/6.499, allocations: 22.58 kB / 3.314 GB, free: 33.38 MB / 442.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.005493/6.504, allocations: 1.692 MB / 3.316 GB, free: 31.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/6.504, allocations: 12.03 kB / 3.316 GB, free: 31.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002369/6.507, allocations: 314.7 kB / 3.316 GB, free: 31.33 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/6.508, allocations: 0.5828 MB / 3.317 GB, free: 30.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/6.508, allocations: 50.09 kB / 3.317 GB, free: 30.67 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.398e-05/6.508, allocations: 52 kB / 3.317 GB, free: 30.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/6.51, allocations: 0.9629 MB / 3.318 GB, free: 29.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/6.51, allocations: 3.938 kB / 3.318 GB, free: 29.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-05/6.51, allocations: 28 kB / 3.318 GB, free: 29.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/6.51, allocations: 25.27 kB / 3.318 GB, free: 29.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/6.512, allocations: 0.8052 MB / 3.319 GB, free: 28.73 MB / 442.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.003556/6.515, allocations: 4.339 MB / 3.323 GB, free: 24.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/6.517, allocations: 0.6878 MB / 3.324 GB, free: 23.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/6.517, allocations: 219.9 kB / 3.324 GB, free: 23.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.415/6.932, allocations: 79.41 MB / 3.401 GB, free: 30.67 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/6.932, allocations: 38.19 kB / 3.401 GB, free: 30.63 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 2.935e-06/6.932, allocations: 0 / 3.401 GB, free: 30.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=52): time 0.004681/6.937, allocations: 1.825 MB / 3.403 GB, free: 30.28 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/6.937, allocations: 110.1 kB / 3.403 GB, free: 30.15 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/6.937, allocations: 419.8 kB / 3.404 GB, free: 30.03 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/6.938, allocations: 40.3 kB / 3.404 GB, free: 29.99 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/6.938, allocations: 339.5 kB / 3.404 GB, free: 29.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/6.938, allocations: 177.4 kB / 3.404 GB, free: 29.75 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/6.938, allocations: 13.53 kB / 3.404 GB, free: 29.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/6.938, allocations: 370.2 kB / 3.405 GB, free: 29.44 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/6.938, allocations: 188.1 kB / 3.405 GB, free: 29.44 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/6.939, allocations: 393.8 kB / 3.405 GB, free: 29.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/6.939, allocations: 242.9 kB / 3.405 GB, free: 29.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/6.939, allocations: 3.625 kB / 3.405 GB, free: 29.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001471/6.941, allocations: 0.8378 MB / 3.406 GB, free: 29.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008301/6.941, allocations: 2.356 MB / 3.409 GB, free: 26.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/6.941, allocations: 6.375 kB / 3.409 GB, free: 26.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/6.943, allocations: 392.6 kB / 3.409 GB, free: 26.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/6.944, allocations: 142.6 kB / 3.409 GB, free: 26.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008922/6.944, allocations: 0.8729 MB / 3.41 GB, free: 26.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006916/6.945, allocations: 87.33 kB / 3.41 GB, free: 26.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.987e-05/6.945, allocations: 44.31 kB / 3.41 GB, free: 26.06 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/6.945, allocations: 4.594 kB / 3.41 GB, free: 26.06 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001239/6.947, allocations: 0.7182 MB / 3.411 GB, free: 26.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/6.947, allocations: 7.281 kB / 3.411 GB, free: 26.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/6.948, allocations: 279 kB / 3.411 GB, free: 26.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/6.948, allocations: 145.5 kB / 3.411 GB, free: 26.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007944/6.949, allocations: 0.825 MB / 3.412 GB, free: 25.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005815/6.949, allocations: 86.88 kB / 3.412 GB, free: 25.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/6.95, allocations: 34.61 kB / 3.412 GB, free: 25.47 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.0001842/6.95, allocations: 148.6 kB / 3.412 GB, free: 25.37 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.285e-05/6.95, allocations: 61.78 kB / 3.412 GB, free: 25.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/6.952, allocations: 2.652 MB / 3.415 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/6.952, allocations: 34.48 kB / 3.415 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/6.952, allocations: 0 / 3.415 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/6.952, allocations: 6.625 kB / 3.415 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003556/6.956, allocations: 3.65 MB / 3.419 GB, free: 24.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/6.956, allocations: 4 kB / 3.419 GB, free: 24.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005202/6.957, allocations: 143.5 kB / 3.419 GB, free: 24.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003387/6.957, allocations: 106.4 kB / 3.419 GB, free: 24.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/6.957, allocations: 13.12 kB / 3.419 GB, free: 24.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007416/6.958, allocations: 1.132 MB / 3.42 GB, free: 23.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/6.958, allocations: 0 / 3.42 GB, free: 23.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/6.96, allocations: 2.093 MB / 3.422 GB, free: 23.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004514/6.96, allocations: 346.3 kB / 3.422 GB, free: 23.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.451e-05/6.96, allocations: 10.5 kB / 3.422 GB, free: 23.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/6.961, allocations: 64.33 kB / 3.422 GB, free: 23.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/6.961, allocations: 52.88 kB / 3.422 GB, free: 23.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/6.961, allocations: 17.62 kB / 3.422 GB, free: 23.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000478/6.962, allocations: 448.4 kB / 3.423 GB, free: 23 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/6.962, allocations: 1.219 kB / 3.423 GB, free: 23 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005359/6.967, allocations: 1.387 MB / 3.424 GB, free: 22.98 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: 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 () * 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.007434/6.974, allocations: 1.724 MB / 3.426 GB, free: 22.72 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002331/6.977, allocations: 1.215 MB / 3.427 GB, free: 22.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/6.977, allocations: 1.969 kB / 3.427 GB, free: 22.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00089/6.978, allocations: 0.6879 MB / 3.428 GB, free: 22.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/6.979, allocations: 292.3 kB / 3.428 GB, free: 22.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.443/7.422, allocations: 122.2 MB / 3.547 GB, free: 75.51 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/7.423, allocations: 1.154 MB / 3.548 GB, free: 74.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001126/7.424, allocations: 0.6348 MB / 3.549 GB, free: 74.79 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/7.424, allocations: 61.39 kB / 3.549 GB, free: 74.79 MB / 474.7 MB Notification: Performance of SimCode: time 7.51e-07/7.424, allocations: 0 / 3.549 GB, free: 74.79 MB / 474.7 MB Notification: Performance of Templates: time 0.05376/7.478, allocations: 45.11 MB / 3.593 GB, free: 73.53 MB / 474.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)