Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.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.TestValveCoefficients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007987/0.007987, allocations: 174.8 kB / 15.12 MB, free: 6.039 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.918/1.918, allocations: 194.5 MB / 210.3 MB, free: 8.707 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.00209/0.00209, allocations: 116.6 kB / 255.6 MB, free: 11.32 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.2405/0.2405, allocations: 40.01 MB / 340.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004115, allocations: 10.59 kB / 406.2 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1447, allocations: 54.88 MB / 461 MB, free: 3.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.278/6.423, allocations: 2.608 GB / 3.058 GB, free: 61.96 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/6.423, allocations: 94.66 kB / 3.058 GB, free: 61.92 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.501/8.924, allocations: 0.6344 GB / 3.692 GB, free: 37.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.144e-06/8.924, allocations: 0 / 3.692 GB, free: 37.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001451/8.924, allocations: 44.45 kB / 3.692 GB, free: 37.7 MB / 0.4948 GB 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.01102/8.935, allocations: 2.577 MB / 3.695 GB, free: 36.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/8.935, allocations: 9.656 kB / 3.695 GB, free: 36.68 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008251/8.943, allocations: 0.951 MB / 3.696 GB, free: 36.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/8.947, allocations: 1.063 MB / 3.697 GB, free: 36.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/8.947, allocations: 105.2 kB / 3.697 GB, free: 36.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/8.947, allocations: 118.1 kB / 3.697 GB, free: 36.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00643/8.953, allocations: 2.268 MB / 3.699 GB, free: 35.81 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/8.953, allocations: 7.062 kB / 3.699 GB, free: 35.81 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/8.954, allocations: 56.28 kB / 3.699 GB, free: 35.81 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/8.954, allocations: 31.06 kB / 3.699 GB, free: 35.81 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006347/8.96, allocations: 2.149 MB / 3.701 GB, free: 35.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/8.972, allocations: 10.08 MB / 3.711 GB, free: 28.85 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004148/8.976, allocations: 1.527 MB / 3.713 GB, free: 28.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03736/9.014, allocations: 17.03 MB / 3.729 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/9.014, allocations: 50.44 kB / 3.729 GB, free: 20.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=80): time 2.965e-06/9.014, allocations: 0 / 3.729 GB, free: 20.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=80): time 0.008111/9.022, allocations: 2.531 MB / 3.732 GB, free: 20.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/9.022, allocations: 273.8 kB / 3.732 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/9.024, allocations: 0.8424 MB / 3.733 GB, free: 19.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001524/9.024, allocations: 41.92 kB / 3.733 GB, free: 19.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005355/9.025, allocations: 0.693 MB / 3.734 GB, free: 19.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003733/9.025, allocations: 276.8 kB / 3.734 GB, free: 19.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.363e-05/9.025, allocations: 27.22 kB / 3.734 GB, free: 19.15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001218/9.025, allocations: 356.9 kB / 3.734 GB, free: 18.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/9.026, allocations: 468.7 kB / 3.735 GB, free: 18.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/9.028, allocations: 1.061 MB / 3.736 GB, free: 18.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/9.029, allocations: 0.582 MB / 3.736 GB, free: 18.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.799e-05/9.029, allocations: 3.375 kB / 3.736 GB, free: 18.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.003297/9.032, allocations: 1.604 MB / 3.738 GB, free: 17.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003663/9.036, allocations: 7.32 MB / 3.745 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.892e-05/9.036, allocations: 18.78 kB / 3.745 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.019e-05/9.036, allocations: 35.2 kB / 3.745 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/9.037, allocations: 394.2 kB / 3.746 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.102e-05/9.037, allocations: 40.2 kB / 3.746 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/9.039, allocations: 269.5 kB / 3.746 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/9.039, allocations: 86.28 kB / 3.746 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/9.039, allocations: 3.844 kB / 3.746 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002788/9.042, allocations: 1.441 MB / 3.747 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-05/9.042, allocations: 19.19 kB / 3.747 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.257e-05/9.042, allocations: 31.41 kB / 3.747 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/9.043, allocations: 391.5 kB / 3.748 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.676e-05/9.043, allocations: 36.5 kB / 3.748 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/9.045, allocations: 219.1 kB / 3.748 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/9.045, allocations: 85.77 kB / 3.748 GB, free: 26 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 16 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 167 * 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.0009551/9.046, allocations: 404.9 kB / 3.748 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004119/9.047, allocations: 121.8 kB / 3.749 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007083/9.054, allocations: 5.944 MB / 3.754 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.72e-05/9.054, allocations: 83.08 kB / 3.754 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/9.054, allocations: 3.375 kB / 3.754 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/9.054, allocations: 3.516 kB / 3.754 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003845/9.058, allocations: 2.773 MB / 3.757 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/9.058, allocations: 0 / 3.757 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007846/9.058, allocations: 262.8 kB / 3.757 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.652e-05/9.058, allocations: 7.281 kB / 3.757 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.451e-05/9.059, allocations: 23.47 kB / 3.757 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/9.059, allocations: 2.844 kB / 3.757 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/9.059, allocations: 2.531 kB / 3.757 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003764/9.062, allocations: 2.846 MB / 3.76 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/9.064, allocations: 0.5223 MB / 3.761 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004788/9.064, allocations: 18.5 kB / 3.761 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/9.065, allocations: 127.4 kB / 3.761 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/9.066, allocations: 84.45 kB / 3.761 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-05/9.066, allocations: 33.83 kB / 3.761 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001362/9.067, allocations: 0.7446 MB / 3.762 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.31e-07/9.067, allocations: 7.594 kB / 3.762 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009708/9.077, allocations: 1.723 MB / 3.763 GB, free: 23.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 56 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * 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.009954/9.087, allocations: 1.939 MB / 3.765 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004858/9.092, allocations: 2.603 MB / 3.768 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/9.092, allocations: 0 / 3.768 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001767/9.093, allocations: 1.434 MB / 3.769 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003186/9.097, allocations: 0.6 MB / 3.77 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5038/9.6, allocations: 127.3 MB / 3.894 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/9.602, allocations: 1.656 MB / 3.896 GB, free: 61.74 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004092/9.606, allocations: 1.975 MB / 3.898 GB, free: 61.72 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/9.606, allocations: 125.4 kB / 3.898 GB, free: 61.71 MB / 0.5261 GB Notification: Performance of SimCode: time 1.332e-06/9.606, allocations: 0 / 3.898 GB, free: 61.71 MB / 0.5261 GB Notification: Performance of Templates: time 0.08247/9.689, allocations: 55.78 MB / 3.952 GB, free: 59.7 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe 2>&1)