Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.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.Valves.TestValveCharacteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001912/0.001912, allocations: 180.3 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.626/1.626, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001702/0.001702, allocations: 115.8 kB / 247.4 MB, free: 6.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2012/0.2012, allocations: 39.95 MB / 332.2 MB, free: 4.797 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.235e-05/1.245e-05, allocations: 0 / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09101/0.09104, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.665/5.756, allocations: 2.607 GB / 3.045 GB, free: 140.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/5.757, allocations: 84.31 kB / 3.045 GB, free: 140.4 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.193/7.949, allocations: 0.6264 GB / 3.672 GB, free: 32.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/7.949, allocations: 0 / 3.672 GB, free: 32.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002027/7.95, allocations: 41.62 kB / 3.672 GB, free: 32.15 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.01036/7.96, allocations: 2.447 MB / 3.674 GB, free: 30.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/7.96, allocations: 14.38 kB / 3.674 GB, free: 30.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008263/7.968, allocations: 0.9604 MB / 3.675 GB, free: 30.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/7.971, allocations: 1.047 MB / 3.676 GB, free: 30.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/7.971, allocations: 55.42 kB / 3.676 GB, free: 30.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000367/7.972, allocations: 70.42 kB / 3.676 GB, free: 30.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0025/7.974, allocations: 1.21 MB / 3.677 GB, free: 29.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/7.977, allocations: 1.418 MB / 3.679 GB, free: 28.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/7.977, allocations: 6.812 kB / 3.679 GB, free: 28.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002107/7.977, allocations: 4.5 kB / 3.679 GB, free: 28.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/7.977, allocations: 31.56 kB / 3.679 GB, free: 28.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.356/9.333, allocations: 266.4 MB / 3.939 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009162/9.334, allocations: 0.5337 MB / 3.939 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/9.335, allocations: 251.9 kB / 3.94 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04271/9.377, allocations: 20.22 MB / 3.959 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/9.378, allocations: 41.22 kB / 3.959 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=23): time 2.004e-06/9.378, allocations: 0.5469 kB / 3.959 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.005294/9.383, allocations: 1.374 MB / 3.961 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/9.383, allocations: 260.2 kB / 3.961 GB, free: 99.93 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/9.385, allocations: 0.9935 MB / 3.962 GB, free: 99.77 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.796e-05/9.385, allocations: 25.7 kB / 3.962 GB, free: 99.73 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008203/9.386, allocations: 0.8616 MB / 3.963 GB, free: 99.35 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/9.386, allocations: 96.83 kB / 3.963 GB, free: 99.31 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/9.386, allocations: 0 / 3.963 GB, free: 99.31 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001028/9.387, allocations: 361.7 kB / 3.963 GB, free: 99 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005878/9.387, allocations: 310.9 kB / 3.964 GB, free: 99 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000904/9.388, allocations: 0.8536 MB / 3.964 GB, free: 98.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003153/9.391, allocations: 0.7373 MB / 3.965 GB, free: 98.27 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-05/9.391, allocations: 4.781 kB / 3.965 GB, free: 98.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004412/9.396, allocations: 1.498 MB / 3.967 GB, free: 98.16 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001682/9.397, allocations: 6.88 MB / 3.973 GB, free: 90.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.234e-05/9.397, allocations: 18.06 kB / 3.973 GB, free: 90.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.42e-05/9.397, allocations: 28.44 kB / 3.973 GB, free: 90.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/9.399, allocations: 393.5 kB / 3.974 GB, free: 90.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.795e-05/9.399, allocations: 37.34 kB / 3.974 GB, free: 90.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/9.401, allocations: 362.3 kB / 3.974 GB, free: 90.87 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/9.401, allocations: 83.05 kB / 3.974 GB, free: 90.87 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/9.401, allocations: 3.906 kB / 3.974 GB, free: 90.87 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003395/9.405, allocations: 1.224 MB / 3.975 GB, free: 90.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.984e-05/9.405, allocations: 18.03 kB / 3.975 GB, free: 90.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.855e-05/9.405, allocations: 29.47 kB / 3.975 GB, free: 90.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/9.406, allocations: 390.3 kB / 3.976 GB, free: 90.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.327e-05/9.406, allocations: 35.5 kB / 3.976 GB, free: 90.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/9.408, allocations: 234.8 kB / 3.976 GB, free: 90.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/9.408, allocations: 78.73 kB / 3.976 GB, free: 90.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 16 (source2.medium.phase,sink2.medium.phase,source1.medium.phase,sink1.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase,valve_equalPercentage.state_b.phase,valve_equalPercentage.state_a.phase,valve_quadratic.state_b.phase,valve_quadratic.state_a.phase,valve_constant.state_b.phase,valve_constant.state_a.phase,valve_linear.state_b.phase,valve_linear.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 165 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000308/9.408, allocations: 168 kB / 3.976 GB, free: 90.69 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003391/9.409, allocations: 117.8 kB / 3.976 GB, free: 90.63 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/9.411, allocations: 1.016 MB / 3.977 GB, free: 90.45 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/9.411, allocations: 7.922 kB / 3.977 GB, free: 90.44 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/9.411, allocations: 0 / 3.977 GB, free: 90.44 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/9.411, allocations: 1.922 kB / 3.977 GB, free: 90.44 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/9.412, allocations: 0.9413 MB / 3.978 GB, free: 90.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/9.412, allocations: 4.203 kB / 3.978 GB, free: 90.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/9.413, allocations: 71.67 kB / 3.978 GB, free: 90.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/9.413, allocations: 0 / 3.978 GB, free: 90.23 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/9.413, allocations: 8.875 kB / 3.978 GB, free: 90.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/9.413, allocations: 1.203 kB / 3.978 GB, free: 90.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/9.413, allocations: 0.9844 kB / 3.978 GB, free: 90.23 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/9.414, allocations: 455.8 kB / 3.979 GB, free: 90.07 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007176/9.414, allocations: 413.8 kB / 3.979 GB, free: 89.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003834/9.415, allocations: 6.047 kB / 3.979 GB, free: 89.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008748/9.416, allocations: 79.86 kB / 3.979 GB, free: 89.86 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/9.416, allocations: 21.67 kB / 3.979 GB, free: 89.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/9.416, allocations: 3.906 kB / 3.979 GB, free: 89.86 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001469/9.417, allocations: 1.069 MB / 3.98 GB, free: 89.75 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.91e-07/9.417, allocations: 0 / 3.98 GB, free: 89.75 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007912/9.425, allocations: 1.704 MB / 3.982 GB, free: 89.62 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01026/9.436, allocations: 2.11 MB / 3.984 GB, free: 89.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002767/9.438, allocations: 1.216 MB / 3.985 GB, free: 89.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/9.438, allocations: 3.688 kB / 3.985 GB, free: 89.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/9.439, allocations: 79.5 kB / 3.985 GB, free: 89.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/9.441, allocations: 374.4 kB / 3.986 GB, free: 89.27 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/9.445, allocations: 1.441 MB / 3.987 GB, free: 88.78 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008712/9.446, allocations: 1.248 MB / 3.988 GB, free: 88.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004128/9.45, allocations: 2.834 MB / 3.991 GB, free: 87.94 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/9.45, allocations: 99.28 kB / 3.991 GB, free: 87.93 MB / 0.5573 GB Notification: Performance of SimCode: time 1.132e-06/9.45, allocations: 0 / 3.991 GB, free: 87.93 MB / 0.5573 GB Notification: Performance of Templates: time 0.0656/9.516, allocations: 41.33 MB / 4.032 GB, free: 85.02 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe 2>&1)