Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0141/0.0141, allocations: 174.9 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.883/1.883, allocations: 194.5 MB / 210.3 MB, free: 7.555 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001778/0.001778, allocations: 124.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2388/0.2388, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000554/0.000554, allocations: 14.72 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1678, allocations: 54.88 MB / 461 MB, free: 3.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.676/7.844, allocations: 2.613 GB / 3.063 GB, free: 53.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/7.844, allocations: 87.2 kB / 3.063 GB, free: 53.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.748/9.592, allocations: 437.8 MB / 3.491 GB, free: 8.391 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/9.592, allocations: 0 / 3.491 GB, free: 8.391 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001129/9.592, allocations: 22.34 kB / 3.491 GB, free: 8.371 MB / 490.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.008688/9.601, allocations: 1.828 MB / 3.492 GB, free: 6.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/9.601, allocations: 8.031 kB / 3.492 GB, free: 6.492 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/9.604, allocations: 326.8 kB / 3.493 GB, free: 6.172 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/9.606, allocations: 0.5867 MB / 3.493 GB, free: 5.555 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.821e-05/9.606, allocations: 45.31 kB / 3.493 GB, free: 5.512 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/9.606, allocations: 61.48 kB / 3.493 GB, free: 5.453 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/9.608, allocations: 0.9923 MB / 3.494 GB, free: 4.395 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/9.609, allocations: 3.938 kB / 3.494 GB, free: 4.391 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.193e-05/9.609, allocations: 24 kB / 3.494 GB, free: 4.367 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/9.609, allocations: 28.98 kB / 3.494 GB, free: 4.336 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/9.611, allocations: 0.8975 MB / 3.495 GB, free: 3.438 MB / 490.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.3497/9.961, allocations: 4.447 MB / 3.5 GB, free: 49.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/9.963, allocations: 0.7826 MB / 3.5 GB, free: 49.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1671/10.13, allocations: 82.83 MB / 3.581 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.2e-05/10.13, allocations: 46.53 kB / 3.581 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 2.665e-06/10.13, allocations: 0 / 3.581 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.007119/10.14, allocations: 2.208 MB / 3.583 GB, free: 32.81 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/10.14, allocations: 110 kB / 3.584 GB, free: 32.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007437/10.14, allocations: 429.8 kB / 3.584 GB, free: 32.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.196e-05/10.14, allocations: 34.08 kB / 3.584 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/10.14, allocations: 340.3 kB / 3.584 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/10.14, allocations: 183.9 kB / 3.585 GB, free: 32.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/10.14, allocations: 14.28 kB / 3.585 GB, free: 32.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001881/10.14, allocations: 366 kB / 3.585 GB, free: 31.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006467/10.14, allocations: 265.9 kB / 3.585 GB, free: 31.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006987/10.14, allocations: 464.3 kB / 3.586 GB, free: 31.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006941/10.14, allocations: 315.2 kB / 3.586 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/10.14, allocations: 3.953 kB / 3.586 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002449/10.14, allocations: 0.9851 MB / 3.587 GB, free: 31.63 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001218/10.14, allocations: 2.177 MB / 3.589 GB, free: 29.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/10.14, allocations: 7.469 kB / 3.589 GB, free: 29.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00221/10.15, allocations: 415.3 kB / 3.589 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/10.15, allocations: 143.5 kB / 3.589 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/10.15, allocations: 0.9099 MB / 3.59 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008734/10.15, allocations: 98.81 kB / 3.59 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.737e-05/10.15, allocations: 37.81 kB / 3.591 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/10.15, allocations: 3.875 kB / 3.591 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002392/10.15, allocations: 0.9334 MB / 3.591 GB, free: 28.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/10.15, allocations: 6 kB / 3.591 GB, free: 28.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/10.15, allocations: 312.1 kB / 3.592 GB, free: 28.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/10.15, allocations: 154.7 kB / 3.592 GB, free: 28.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/10.16, allocations: 0.88 MB / 3.593 GB, free: 28.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008051/10.16, allocations: 85.25 kB / 3.593 GB, free: 28.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-05/10.16, allocations: 40.53 kB / 3.593 GB, free: 28.18 MB / 0.5105 GB 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.000599/10.16, allocations: 284.8 kB / 3.593 GB, free: 27.99 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/10.16, allocations: 58.38 kB / 3.593 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003923/10.16, allocations: 2.903 MB / 3.596 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.974e-05/10.16, allocations: 45.31 kB / 3.596 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/10.16, allocations: 7.938 kB / 3.596 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/10.16, allocations: 0 / 3.596 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005194/10.17, allocations: 4.027 MB / 3.6 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/10.17, allocations: 0 / 3.6 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000755/10.17, allocations: 170.4 kB / 3.6 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004547/10.17, allocations: 76.08 kB / 3.6 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.235e-05/10.17, allocations: 12.31 kB / 3.6 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009544/10.17, allocations: 1.185 MB / 3.601 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/10.17, allocations: 0 / 3.601 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003879/10.17, allocations: 2.557 MB / 3.604 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000729/10.17, allocations: 317.1 kB / 3.604 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/10.17, allocations: 15.92 kB / 3.604 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/10.17, allocations: 72.77 kB / 3.604 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/10.17, allocations: 52.25 kB / 3.604 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-05/10.17, allocations: 30.34 kB / 3.604 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006459/10.18, allocations: 398.3 kB / 3.605 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/10.18, allocations: 0 / 3.605 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006984/10.18, allocations: 1.39 MB / 3.606 GB, free: 25.54 MB / 0.5105 GB 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.01007/10.19, allocations: 1.72 MB / 3.608 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003685/10.2, allocations: 1.485 MB / 3.609 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/10.2, allocations: 0 / 3.609 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/10.2, allocations: 0.8532 MB / 3.61 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/10.2, allocations: 297.8 kB / 3.61 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4036/10.6, allocations: 78.39 MB / 3.687 GB, free: 78.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000678/10.6, allocations: 1.167 MB / 3.688 GB, free: 77.53 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001359/10.61, allocations: 0.6457 MB / 3.689 GB, free: 77.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/10.61, allocations: 66.02 kB / 3.689 GB, free: 77.52 MB / 0.5105 GB Notification: Performance of SimCode: time 9.31e-07/10.61, allocations: 0 / 3.689 GB, free: 77.52 MB / 0.5105 GB Notification: Performance of Templates: time 0.06115/10.67, allocations: 42.88 MB / 3.731 GB, free: 76.97 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1)