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.00197/0.001969, allocations: 176.2 kB / 7.652 MB, free: 1.426 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.752/1.752, allocations: 194.4 MB / 202.4 MB, free: 12.96 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.00189/0.00189, allocations: 105.2 kB / 247.4 MB, free: 15.96 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.1914/0.1914, allocations: 39.95 MB / 332.2 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.947e-05, allocations: 7.984 kB / 393.3 MB, free: 3.434 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2839, allocations: 54.87 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.99/6.274, allocations: 2.607 GB / 3.045 GB, free: 113.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/6.274, allocations: 88.53 kB / 3.045 GB, free: 113.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.081/8.355, allocations: 0.6262 GB / 3.671 GB, free: 41.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.403e-06/8.355, allocations: 0 / 3.671 GB, free: 41.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001521/8.355, allocations: 41.7 kB / 3.671 GB, free: 41.82 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.01019/8.365, allocations: 2.428 MB / 3.673 GB, free: 40.76 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/8.365, allocations: 18.42 kB / 3.673 GB, free: 40.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008293/8.374, allocations: 0.9518 MB / 3.674 GB, free: 40.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003098/8.377, allocations: 1.06 MB / 3.675 GB, free: 40.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/8.377, allocations: 53.97 kB / 3.675 GB, free: 40.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003977/8.377, allocations: 75.33 kB / 3.675 GB, free: 40.33 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002679/8.38, allocations: 1.208 MB / 3.677 GB, free: 40.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/8.383, allocations: 1.414 MB / 3.678 GB, free: 39.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/8.383, allocations: 5.156 kB / 3.678 GB, free: 39.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002295/8.383, allocations: 6.844 kB / 3.678 GB, free: 39.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/8.383, allocations: 32.16 kB / 3.678 GB, free: 39.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9405/9.324, allocations: 266.1 MB / 3.938 GB, free: 23.13 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/9.324, allocations: 343.8 kB / 3.938 GB, free: 23.11 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/9.325, allocations: 226.3 kB / 3.938 GB, free: 23.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03292/9.357, allocations: 15.7 MB / 3.954 GB, free: 30.86 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/9.358, allocations: 44.09 kB / 3.954 GB, free: 30.82 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=48): time 2.615e-06/9.358, allocations: 0 / 3.954 GB, free: 30.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48): time 0.005435/9.363, allocations: 1.592 MB / 3.955 GB, free: 30.76 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/9.363, allocations: 267.8 kB / 3.956 GB, free: 30.45 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/9.364, allocations: 0.8595 MB / 3.956 GB, free: 30.29 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.943e-05/9.364, allocations: 25.7 kB / 3.956 GB, free: 30.26 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004318/9.365, allocations: 0.7919 MB / 3.957 GB, free: 29.92 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/9.365, allocations: 172.4 kB / 3.957 GB, free: 29.84 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/9.365, allocations: 0 / 3.957 GB, free: 29.84 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001514/9.365, allocations: 356.3 kB / 3.958 GB, free: 29.53 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003954/9.366, allocations: 310.9 kB / 3.958 GB, free: 29.53 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006316/9.366, allocations: 0.8871 MB / 3.959 GB, free: 28.78 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/9.369, allocations: 0.743 MB / 3.96 GB, free: 28.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/9.369, allocations: 11.58 kB / 3.96 GB, free: 28.74 MB / 0.5573 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.004029/9.373, allocations: 1.506 MB / 3.961 GB, free: 28.62 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002991/9.376, allocations: 7.32 MB / 3.968 GB, free: 20.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/9.376, allocations: 18 kB / 3.968 GB, free: 20.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.138e-05/9.376, allocations: 33.83 kB / 3.968 GB, free: 20.94 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/9.377, allocations: 393.4 kB / 3.969 GB, free: 20.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.514e-05/9.377, allocations: 40.73 kB / 3.969 GB, free: 20.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/9.379, allocations: 352.1 kB / 3.969 GB, free: 20.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/9.38, allocations: 89.31 kB / 3.969 GB, free: 20.88 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/9.38, allocations: 3.469 kB / 3.969 GB, free: 20.88 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00329/9.383, allocations: 1.244 MB / 3.97 GB, free: 20.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/9.383, allocations: 20.12 kB / 3.97 GB, free: 20.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/9.383, allocations: 29.67 kB / 3.97 GB, free: 20.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/9.384, allocations: 389.7 kB / 3.971 GB, free: 20.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.642e-05/9.384, allocations: 38.72 kB / 3.971 GB, free: 20.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/9.386, allocations: 234.3 kB / 3.971 GB, free: 20.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/9.386, allocations: 83.55 kB / 3.971 GB, free: 20.8 MB / 0.5573 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 (SourceP4.medium.phase,SinkP4.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP1.medium.phase,SinkP1.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 () * 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.0003767/9.386, allocations: 171.8 kB / 3.971 GB, free: 20.69 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/9.386, allocations: 115.1 kB / 3.971 GB, free: 20.63 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/9.389, allocations: 1.817 MB / 3.973 GB, free: 20.35 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/9.389, allocations: 11.25 kB / 3.973 GB, free: 20.35 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/9.389, allocations: 3.516 kB / 3.973 GB, free: 20.35 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/9.389, allocations: 6.562 kB / 3.973 GB, free: 20.35 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/9.39, allocations: 1.369 MB / 3.974 GB, free: 20.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/9.39, allocations: 0.6562 kB / 3.974 GB, free: 20.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/9.391, allocations: 89.64 kB / 3.975 GB, free: 20.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/9.391, allocations: 3.906 kB / 3.975 GB, free: 20.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/9.391, allocations: 0 / 3.975 GB, free: 20.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/9.391, allocations: 3.875 kB / 3.975 GB, free: 20.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/9.391, allocations: 0 / 3.975 GB, free: 20.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/9.392, allocations: 0.6988 MB / 3.975 GB, free: 19.82 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006727/9.393, allocations: 0.6138 MB / 3.976 GB, free: 19.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/9.393, allocations: 5.969 kB / 3.976 GB, free: 19.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007254/9.393, allocations: 86.39 kB / 3.976 GB, free: 19.56 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/9.394, allocations: 28.66 kB / 3.976 GB, free: 19.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/9.394, allocations: 13.19 kB / 3.976 GB, free: 19.56 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001496/9.395, allocations: 1.434 MB / 3.977 GB, free: 18.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/9.395, allocations: 0 / 3.977 GB, free: 18.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007347/9.402, allocations: 1.753 MB / 3.979 GB, free: 17.39 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 (52): * Single equations (assignments): 52 * 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.007242/9.41, allocations: 2.117 MB / 3.981 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00211/9.412, allocations: 1.272 MB / 3.982 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/9.412, allocations: 0 / 3.982 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/9.412, allocations: 162.8 kB / 3.983 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/9.414, allocations: 470.1 kB / 3.983 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/9.417, allocations: 1.706 MB / 3.985 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007436/9.418, allocations: 1.355 MB / 3.986 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003057/9.421, allocations: 2.524 MB / 3.988 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/9.421, allocations: 103.8 kB / 3.989 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of SimCode: time 7.91e-07/9.421, allocations: 0 / 3.989 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of Templates: time 0.4224/9.843, allocations: 43.86 MB / 4.031 GB, free: 102.3 MB / 0.5573 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)