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.001873/0.001874, allocations: 182.5 kB / 12.74 MB, free: 2.582 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.765/1.765, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001746/0.001746, allocations: 113.7 kB / 252.6 MB, free: 4.812 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.24/0.24, allocations: 39.93 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.232e-05, allocations: 0 / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1209, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.059/6.18, allocations: 2.608 GB / 3.052 GB, free: 62.17 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/6.181, allocations: 84.02 kB / 3.052 GB, free: 62.13 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.521/8.702, allocations: 0.632 GB / 3.684 GB, free: 38.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.372e-06/8.702, allocations: 0 / 3.684 GB, free: 38.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001209/8.702, allocations: 41.3 kB / 3.684 GB, free: 38.8 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.01078/8.713, allocations: 2.435 MB / 3.687 GB, free: 37.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/8.713, allocations: 11.45 kB / 3.687 GB, free: 37.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008587/8.722, allocations: 0.9547 MB / 3.687 GB, free: 37.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00317/8.725, allocations: 1.063 MB / 3.688 GB, free: 37.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/8.725, allocations: 103.4 kB / 3.689 GB, free: 37.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/8.725, allocations: 115.8 kB / 3.689 GB, free: 37.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005017/8.73, allocations: 2.253 MB / 3.691 GB, free: 37.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/8.73, allocations: 4.125 kB / 3.691 GB, free: 37.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/8.73, allocations: 58.19 kB / 3.691 GB, free: 37.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/8.731, allocations: 32.41 kB / 3.691 GB, free: 37.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004272/8.735, allocations: 1.969 MB / 3.693 GB, free: 37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01103/8.746, allocations: 10.08 MB / 3.703 GB, free: 30.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004492/8.75, allocations: 1.485 MB / 3.704 GB, free: 30.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006211/8.751, allocations: 373.8 kB / 3.705 GB, free: 30.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03989/8.791, allocations: 17.14 MB / 3.721 GB, free: 21.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/8.791, allocations: 45.59 kB / 3.721 GB, free: 21.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=80): time 2.625e-06/8.791, allocations: 0 / 3.721 GB, free: 21.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=80): time 0.006777/8.798, allocations: 2.211 MB / 3.723 GB, free: 21.42 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/8.798, allocations: 271.2 kB / 3.724 GB, free: 21.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/8.799, allocations: 0.8119 MB / 3.725 GB, free: 20.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.69e-05/8.799, allocations: 41.27 kB / 3.725 GB, free: 20.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/8.8, allocations: 0.6873 MB / 3.725 GB, free: 20.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000236/8.8, allocations: 275 kB / 3.726 GB, free: 20.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/8.8, allocations: 28.81 kB / 3.726 GB, free: 20.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001077/8.8, allocations: 360.8 kB / 3.726 GB, free: 20.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005107/8.801, allocations: 332.8 kB / 3.726 GB, free: 20.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000809/8.801, allocations: 0.9291 MB / 3.727 GB, free: 19.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006732/8.802, allocations: 468.8 kB / 3.728 GB, free: 19.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/8.802, allocations: 7.609 kB / 3.728 GB, free: 19.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.002114/8.804, allocations: 1.339 MB / 3.729 GB, free: 19.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002974/8.807, allocations: 7.313 MB / 3.736 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.17e-05/8.807, allocations: 21.47 kB / 3.736 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.216e-05/8.807, allocations: 30.58 kB / 3.736 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/8.809, allocations: 400.9 kB / 3.736 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-05/8.809, allocations: 39.73 kB / 3.736 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/8.81, allocations: 257.6 kB / 3.737 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/8.811, allocations: 86.34 kB / 3.737 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/8.811, allocations: 2.938 kB / 3.737 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001803/8.812, allocations: 1.175 MB / 3.738 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/8.812, allocations: 18.38 kB / 3.738 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/8.812, allocations: 32.03 kB / 3.738 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/8.814, allocations: 395.8 kB / 3.738 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-05/8.814, allocations: 39.09 kB / 3.738 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/8.815, allocations: 212.1 kB / 3.739 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/8.815, allocations: 86.28 kB / 3.739 GB, free: 27.34 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 () * 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.0004095/8.816, allocations: 208.9 kB / 3.739 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/8.816, allocations: 123 kB / 3.739 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00597/8.822, allocations: 5.747 MB / 3.745 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.347e-05/8.822, allocations: 85.05 kB / 3.745 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/8.822, allocations: 3.75 kB / 3.745 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/8.822, allocations: 7.75 kB / 3.745 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003866/8.826, allocations: 2.774 MB / 3.747 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/8.826, allocations: 1.5 kB / 3.747 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008916/8.827, allocations: 253.8 kB / 3.748 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.022e-05/8.827, allocations: 7.188 kB / 3.748 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/8.827, allocations: 25.31 kB / 3.748 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.998e-06/8.827, allocations: 3.625 kB / 3.748 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/8.827, allocations: 0 / 3.748 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003314/8.83, allocations: 2.631 MB / 3.75 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/8.831, allocations: 0.5243 MB / 3.751 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/8.832, allocations: 27.17 kB / 3.751 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008164/8.832, allocations: 120 kB / 3.751 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/8.833, allocations: 83.92 kB / 3.751 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/8.833, allocations: 33.38 kB / 3.751 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001001/8.834, allocations: 0.7145 MB / 3.752 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/8.834, allocations: 0 / 3.752 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008762/8.842, allocations: 1.726 MB / 3.753 GB, free: 25.04 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 () * 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.01025/8.853, allocations: 1.944 MB / 3.755 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003977/8.857, allocations: 2.266 MB / 3.758 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/8.857, allocations: 0 / 3.758 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001426/8.858, allocations: 1.334 MB / 3.759 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/8.862, allocations: 0.5763 MB / 3.759 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5921/9.454, allocations: 125.3 MB / 3.882 GB, free: 64.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/9.455, allocations: 1.657 MB / 3.883 GB, free: 63.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004665/9.46, allocations: 2.008 MB / 3.885 GB, free: 63.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/9.46, allocations: 124.2 kB / 3.885 GB, free: 63.88 MB / 0.5261 GB Notification: Performance of SimCode: time 1.272e-06/9.46, allocations: 0 / 3.885 GB, free: 63.88 MB / 0.5261 GB Notification: Performance of Templates: time 0.09943/9.56, allocations: 60.05 MB / 3.944 GB, free: 61.93 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)