Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001446/0.001446, allocations: 171.3 kB / 7.638 MB, free: 1.418 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.366/1.366, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.00154/0.00154, allocations: 107.4 kB / 218 MB, free: 8.406 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.1789/0.1789, allocations: 37.98 MB / 295.1 MB, free: 9.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.685e-05/1.688e-05, allocations: 2.594 kB / 350 MB, free: 37.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09437/0.0944, allocations: 48.73 MB / 398.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7656/0.86, allocations: 308.9 MB / 0.691 GB, free: 101.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.8603, allocations: 83.95 kB / 0.6911 GB, free: 101.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5426/1.403, allocations: 161.9 MB / 0.8492 GB, free: 98.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.993e-06/1.403, allocations: 0 / 0.8492 GB, free: 98.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.592e-05/1.403, allocations: 19.06 kB / 0.8492 GB, free: 98.77 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002329/1.405, allocations: 1.04 MB / 0.8502 GB, free: 98.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.405, allocations: 7.719 kB / 0.8502 GB, free: 98.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003203/1.406, allocations: 98.98 kB / 0.8503 GB, free: 98.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000938/1.407, allocations: 0.632 MB / 0.8509 GB, free: 97.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/1.407, allocations: 19.34 kB / 0.851 GB, free: 97.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.869e-05/1.407, allocations: 30.28 kB / 0.851 GB, free: 97.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000892/1.408, allocations: 0.6138 MB / 0.8516 GB, free: 97.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008545/1.409, allocations: 0.6661 MB / 0.8522 GB, free: 97.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/1.409, allocations: 0 / 0.8522 GB, free: 97.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.079e-05/1.409, allocations: 3.875 kB / 0.8522 GB, free: 97.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/1.409, allocations: 18.03 kB / 0.8523 GB, free: 97.06 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003576/1.412, allocations: 3.206 MB / 0.8554 GB, free: 94.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006172/1.413, allocations: 379 kB / 0.8557 GB, free: 94.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/1.413, allocations: 233.7 kB / 0.856 GB, free: 94.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/1.414, allocations: 0.5727 MB / 0.8565 GB, free: 93.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/1.414, allocations: 42.03 kB / 0.8566 GB, free: 93.79 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005389/1.414, allocations: 115.7 kB / 0.8567 GB, free: 93.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 1.733e-06/1.414, allocations: 0 / 0.8567 GB, free: 93.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=63): time 0.0285/1.443, allocations: 4.732 MB / 0.8613 GB, free: 91.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/1.443, allocations: 107.3 kB / 0.8614 GB, free: 91.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000516/1.443, allocations: 456.1 kB / 0.8618 GB, free: 91.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/1.443, allocations: 25.7 kB / 0.8619 GB, free: 91.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/1.444, allocations: 382.2 kB / 0.8622 GB, free: 90.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/1.444, allocations: 211.5 kB / 0.8624 GB, free: 90.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/1.444, allocations: 0 / 0.8624 GB, free: 90.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/1.444, allocations: 389.9 kB / 0.8628 GB, free: 90.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/1.444, allocations: 260.3 kB / 0.863 GB, free: 90.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/1.445, allocations: 0.4927 MB / 0.8635 GB, free: 89.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00256/1.447, allocations: 0.6225 MB / 0.8641 GB, free: 89.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.447, allocations: 3.938 kB / 0.8641 GB, free: 89.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003695/1.451, allocations: 1.285 MB / 0.8654 GB, free: 88.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006579/1.452, allocations: 2.961 MB / 0.8683 GB, free: 85.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.452, allocations: 8 kB / 0.8683 GB, free: 85.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003601/1.455, allocations: 0.696 MB / 0.869 GB, free: 84.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007692/1.456, allocations: 215.6 kB / 0.8692 GB, free: 84.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002991/1.459, allocations: 1.803 MB / 0.8709 GB, free: 82.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/1.46, allocations: 91.83 kB / 0.871 GB, free: 82.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.913e-05/1.46, allocations: 63.91 kB / 0.8711 GB, free: 82.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/1.46, allocations: 4 kB / 0.8711 GB, free: 82.56 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003157/1.464, allocations: 1.006 MB / 0.8721 GB, free: 81.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.464, allocations: 8 kB / 0.8721 GB, free: 81.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009518/1.465, allocations: 250.2 kB / 0.8723 GB, free: 81.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007364/1.465, allocations: 227.6 kB / 0.8725 GB, free: 81.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003534/1.469, allocations: 3.706 MB / 0.8762 GB, free: 77.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000846/1.47, allocations: 79.89 kB / 0.8762 GB, free: 77.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.938e-05/1.47, allocations: 44.12 kB / 0.8763 GB, free: 77.02 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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: 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 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003105/1.47, allocations: 128.8 kB / 0.8764 GB, free: 76.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/1.47, allocations: 79.09 kB / 0.8765 GB, free: 76.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00335/1.474, allocations: 1.353 MB / 0.8778 GB, free: 75.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/1.474, allocations: 8 kB / 0.8778 GB, free: 75.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/1.474, allocations: 11.33 kB / 0.8778 GB, free: 75.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/1.474, allocations: 3.984 kB / 0.8778 GB, free: 75.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004643/1.478, allocations: 2.114 MB / 0.8799 GB, free: 73.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.478, allocations: 0 / 0.8799 GB, free: 73.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006711/1.479, allocations: 151.8 kB / 0.88 GB, free: 73.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002102/1.481, allocations: 484.5 kB / 0.8805 GB, free: 72.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/1.481, allocations: 15.97 kB / 0.8805 GB, free: 72.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/1.483, allocations: 1.581 MB / 0.882 GB, free: 71.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.483, allocations: 3.938 kB / 0.882 GB, free: 71.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003583/1.487, allocations: 1.553 MB / 0.8836 GB, free: 69.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004275/1.487, allocations: 231.9 kB / 0.8838 GB, free: 69.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/1.487, allocations: 4 kB / 0.8838 GB, free: 69.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007347/1.488, allocations: 87.88 kB / 0.8839 GB, free: 69.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/1.488, allocations: 60.69 kB / 0.8839 GB, free: 69.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/1.488, allocations: 31.98 kB / 0.884 GB, free: 69.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004341/1.489, allocations: 351.1 kB / 0.8843 GB, free: 68.67 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.489, allocations: 0 / 0.8843 GB, free: 68.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002563/1.491, allocations: 0.6128 MB / 0.8849 GB, free: 68.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 6,3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001645/1.493, allocations: 0.5564 MB / 0.8854 GB, free: 67.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003/1.496, allocations: 1.408 MB / 0.8868 GB, free: 66.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.496, allocations: 0 / 0.8868 GB, free: 66.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000625/1.496, allocations: 406.8 kB / 0.8872 GB, free: 65.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/1.498, allocations: 280.3 kB / 0.8875 GB, free: 65.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/1.5, allocations: 1.119 MB / 0.8886 GB, free: 64.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/1.5, allocations: 0.9894 MB / 0.8895 GB, free: 63.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008875/1.501, allocations: 245.4 kB / 0.8898 GB, free: 63.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/1.501, allocations: 75.33 kB / 0.8898 GB, free: 63 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/1.501, allocations: 0 / 0.8898 GB, free: 63 MB / 426.7 MB Notification: Performance of Templates: time 0.02927/1.531, allocations: 22.85 MB / 0.9121 GB, free: 40.23 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1)