Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.TestWaterPumpStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00786/0.00786, allocations: 164.5 kB / 15.11 MB, free: 5.973 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.549/1.549, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001641/0.001641, allocations: 103.3 kB / 226.2 MB, free: 10.11 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.409/0.409, allocations: 38.05 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004574/0.0004573, allocations: 16 kB / 362.9 MB, free: 5.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1296, allocations: 48.69 MB / 411.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.976/8.105, allocations: 2.502 GB / 2.904 GB, free: 30.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003778/8.106, allocations: 87.27 kB / 2.904 GB, free: 30.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.845/9.951, allocations: 426.9 MB / 3.321 GB, free: 43.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.485e-06/9.951, allocations: 2.625 kB / 3.321 GB, free: 43.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.353e-05/9.951, allocations: 27.67 kB / 3.321 GB, free: 43.8 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.008264/9.959, allocations: 1.781 MB / 3.323 GB, free: 42.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/9.959, allocations: 8.312 kB / 3.323 GB, free: 42.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002662/9.962, allocations: 313.7 kB / 3.323 GB, free: 42.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/9.963, allocations: 0.5819 MB / 3.324 GB, free: 42.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.293e-05/9.963, allocations: 48.53 kB / 3.324 GB, free: 42.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/9.963, allocations: 55 kB / 3.324 GB, free: 42.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/9.966, allocations: 0.9966 MB / 3.325 GB, free: 42.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/9.966, allocations: 6.062 kB / 3.325 GB, free: 42.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.576e-05/9.966, allocations: 30.27 kB / 3.325 GB, free: 42.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.112e-05/9.966, allocations: 24.06 kB / 3.325 GB, free: 42.47 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/9.968, allocations: 0.9045 MB / 3.326 GB, free: 42.47 MB / 442.7 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.004515/9.973, allocations: 4.449 MB / 3.33 GB, free: 39.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/9.975, allocations: 0.773 MB / 3.331 GB, free: 39.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1612/10.14, allocations: 82.78 MB / 3.412 GB, free: 22.35 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.509e-05/10.14, allocations: 38.88 kB / 3.412 GB, free: 22.31 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 3.537e-06/10.14, allocations: 2.344 kB / 3.412 GB, free: 22.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.00657/10.14, allocations: 2.22 MB / 3.414 GB, free: 21.88 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.471e-05/10.14, allocations: 108.2 kB / 3.414 GB, free: 21.75 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006229/10.14, allocations: 428.2 kB / 3.414 GB, free: 21.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.92e-05/10.14, allocations: 38.89 kB / 3.414 GB, free: 21.59 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/10.14, allocations: 339.5 kB / 3.415 GB, free: 21.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/10.14, allocations: 176.3 kB / 3.415 GB, free: 21.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/10.14, allocations: 14.81 kB / 3.415 GB, free: 21.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/10.14, allocations: 369.5 kB / 3.415 GB, free: 20.98 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/10.15, allocations: 266.4 kB / 3.416 GB, free: 20.97 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006076/10.15, allocations: 464 kB / 3.416 GB, free: 20.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/10.15, allocations: 315.7 kB / 3.416 GB, free: 20.73 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/10.15, allocations: 0 / 3.416 GB, free: 20.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00203/10.15, allocations: 0.9849 MB / 3.417 GB, free: 20.63 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008264/10.15, allocations: 2.189 MB / 3.419 GB, free: 18.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/10.15, allocations: 3.75 kB / 3.419 GB, free: 18.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001859/10.15, allocations: 402.7 kB / 3.42 GB, free: 18.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/10.15, allocations: 143.4 kB / 3.42 GB, free: 18.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/10.15, allocations: 0.9124 MB / 3.421 GB, free: 17.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007879/10.15, allocations: 96.42 kB / 3.421 GB, free: 17.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/10.15, allocations: 36.42 kB / 3.421 GB, free: 17.78 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/10.15, allocations: 7.969 kB / 3.421 GB, free: 17.78 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00217/10.16, allocations: 0.9309 MB / 3.422 GB, free: 17.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/10.16, allocations: 7.5 kB / 3.422 GB, free: 17.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/10.16, allocations: 324.4 kB / 3.422 GB, free: 17.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/10.16, allocations: 144.8 kB / 3.422 GB, free: 17.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/10.16, allocations: 0.8789 MB / 3.423 GB, free: 33.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007893/10.16, allocations: 88.42 kB / 3.423 GB, free: 33.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.584e-05/10.16, allocations: 35.86 kB / 3.423 GB, free: 33.17 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (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 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.00051/10.16, allocations: 295.4 kB / 3.424 GB, free: 32.97 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/10.16, allocations: 65.12 kB / 3.424 GB, free: 32.94 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/10.16, allocations: 2.885 MB / 3.426 GB, free: 32.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.37e-05/10.16, allocations: 44.73 kB / 3.426 GB, free: 32.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/10.16, allocations: 3.75 kB / 3.426 GB, free: 32.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/10.16, allocations: 7.562 kB / 3.426 GB, free: 32.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004248/10.17, allocations: 4.034 MB / 3.43 GB, free: 30.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/10.17, allocations: 0 / 3.43 GB, free: 30.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006951/10.17, allocations: 161.8 kB / 3.431 GB, free: 30.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003524/10.17, allocations: 75.38 kB / 3.431 GB, free: 30.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/10.17, allocations: 26.33 kB / 3.431 GB, free: 30.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008558/10.17, allocations: 1.173 MB / 3.432 GB, free: 29.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/10.17, allocations: 192 / 3.432 GB, free: 29.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003004/10.17, allocations: 2.559 MB / 3.434 GB, free: 27.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005285/10.17, allocations: 320 kB / 3.435 GB, free: 26.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.756e-05/10.17, allocations: 15.75 kB / 3.435 GB, free: 26.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000516/10.17, allocations: 74.69 kB / 3.435 GB, free: 26.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/10.17, allocations: 50.55 kB / 3.435 GB, free: 26.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/10.18, allocations: 23.95 kB / 3.435 GB, free: 26.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004716/10.18, allocations: 399.5 kB / 3.435 GB, free: 26.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 3e-07/10.18, allocations: 0 / 3.435 GB, free: 26.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006162/10.18, allocations: 1.383 MB / 3.436 GB, free: 25.06 MB / 490.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: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.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 (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008526/10.19, allocations: 1.718 MB / 3.438 GB, free: 23.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003075/10.19, allocations: 1.478 MB / 3.44 GB, free: 22.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/10.19, allocations: 0 / 3.44 GB, free: 22.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/10.19, allocations: 0.8631 MB / 3.44 GB, free: 21.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/10.2, allocations: 292.4 kB / 3.441 GB, free: 21.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4071/10.6, allocations: 77.12 MB / 3.516 GB, free: 83.08 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000785/10.6, allocations: 1.162 MB / 3.517 GB, free: 82.36 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001677/10.61, allocations: 0.6491 MB / 3.518 GB, free: 82.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/10.61, allocations: 64.34 kB / 3.518 GB, free: 82.34 MB / 490.7 MB Notification: Performance of SimCode: time 2.255e-06/10.61, allocations: 0 / 3.518 GB, free: 82.34 MB / 490.7 MB Notification: Performance of Templates: time 0.05687/10.66, allocations: 42.68 MB / 3.56 GB, free: 79.83 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1)