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.007847/0.007847, allocations: 174.8 kB / 15.12 MB, free: 5.973 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.645/1.645, allocations: 194.5 MB / 210.3 MB, free: 7.73 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.001916/0.001915, allocations: 116.6 kB / 255.6 MB, free: 10.35 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.2256/0.2256, allocations: 40 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.0004559, allocations: 14.75 kB / 406.2 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1606, allocations: 54.88 MB / 461 MB, free: 3.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.736/5.896, allocations: 2.608 GB / 3.058 GB, free: 138.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/5.897, allocations: 89.08 kB / 3.058 GB, free: 138.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.228/8.124, allocations: 0.6347 GB / 3.693 GB, free: 41.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.106e-06/8.125, allocations: 1.219 kB / 3.693 GB, free: 41.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001221/8.125, allocations: 42.11 kB / 3.693 GB, free: 41.54 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.01192/8.137, allocations: 2.585 MB / 3.696 GB, free: 40.13 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/8.137, allocations: 7.719 kB / 3.696 GB, free: 40.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00816/8.145, allocations: 0.9531 MB / 3.697 GB, free: 39.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00284/8.148, allocations: 1.06 MB / 3.698 GB, free: 39.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/8.148, allocations: 108 kB / 3.698 GB, free: 39.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/8.148, allocations: 117 kB / 3.698 GB, free: 39.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005665/8.154, allocations: 2.292 MB / 3.7 GB, free: 38.35 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/8.154, allocations: 3.938 kB / 3.7 GB, free: 38.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/8.154, allocations: 59.56 kB / 3.7 GB, free: 38.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/8.154, allocations: 33.06 kB / 3.7 GB, free: 38.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005449/8.159, allocations: 2.172 MB / 3.702 GB, free: 37.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009861/8.169, allocations: 9.782 MB / 3.712 GB, free: 29.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004184/8.174, allocations: 1.622 MB / 3.713 GB, free: 29.58 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03834/8.212, allocations: 18.83 MB / 3.732 GB, free: 18.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/8.212, allocations: 47.09 kB / 3.732 GB, free: 18.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=88): time 2.314e-06/8.212, allocations: 0 / 3.732 GB, free: 18.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88): time 0.007515/8.22, allocations: 2.74 MB / 3.735 GB, free: 18.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/8.22, allocations: 270.7 kB / 3.735 GB, free: 17.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/8.221, allocations: 0.7448 MB / 3.736 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-05/8.221, allocations: 41.52 kB / 3.736 GB, free: 17.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/8.221, allocations: 0.6734 MB / 3.736 GB, free: 16.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/8.221, allocations: 303.8 kB / 3.736 GB, free: 16.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/8.222, allocations: 31.25 kB / 3.737 GB, free: 16.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001112/8.222, allocations: 356 kB / 3.737 GB, free: 16.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009254/8.223, allocations: 485 kB / 3.737 GB, free: 16.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/8.224, allocations: 1.038 MB / 3.738 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/8.225, allocations: 0.5914 MB / 3.739 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/8.225, allocations: 4 kB / 3.739 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003059/8.228, allocations: 1.612 MB / 3.74 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001618/8.23, allocations: 6.886 MB / 3.747 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.703e-05/8.23, allocations: 20 kB / 3.747 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.295e-05/8.23, allocations: 28 kB / 3.747 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/8.231, allocations: 394.3 kB / 3.748 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.511e-05/8.231, allocations: 35.62 kB / 3.748 GB, free: 5.848 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/8.233, allocations: 231.4 kB / 3.748 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/8.233, allocations: 82.61 kB / 3.748 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/8.233, allocations: 6.812 kB / 3.748 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003436/8.237, allocations: 1.465 MB / 3.749 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/8.237, allocations: 16 kB / 3.749 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/8.237, allocations: 28 kB / 3.749 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/8.238, allocations: 389.5 kB / 3.75 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.433e-05/8.238, allocations: 35.72 kB / 3.75 GB, free: 3.875 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/8.24, allocations: 211.7 kB / 3.75 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/8.24, allocations: 83.36 kB / 3.75 GB, free: 3.617 MB / 0.4948 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 () * Number of clocked 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.00107/8.241, allocations: 405.4 kB / 3.751 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/8.241, allocations: 118.6 kB / 3.751 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007183/8.248, allocations: 6.09 MB / 3.757 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.62e-05/8.248, allocations: 84.84 kB / 3.757 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/8.248, allocations: 0 / 3.757 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/8.248, allocations: 11.31 kB / 3.757 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003801/8.252, allocations: 2.797 MB / 3.759 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/8.252, allocations: 4 kB / 3.759 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009371/8.253, allocations: 283.7 kB / 3.76 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.374e-05/8.253, allocations: 8 kB / 3.76 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.467e-05/8.253, allocations: 34.61 kB / 3.76 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/8.253, allocations: 4 kB / 3.76 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/8.253, allocations: 0 / 3.76 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004247/8.258, allocations: 2.97 MB / 3.763 GB, free: 8.273 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009687/8.259, allocations: 0.5275 MB / 3.763 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/8.259, allocations: 24 kB / 3.763 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008153/8.26, allocations: 132.9 kB / 3.763 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/8.26, allocations: 94.41 kB / 3.763 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.629e-05/8.26, allocations: 39.8 kB / 3.763 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009725/8.261, allocations: 0.6628 MB / 3.764 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/8.261, allocations: 0 / 3.764 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008722/8.27, allocations: 1.731 MB / 3.766 GB, free: 5.316 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 ($cse2.phase,$cse2.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse38.phase,$cse38.region,source1.medium.phase,sink1.medium.phase,source2.medium.phase,sink2.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 96 * 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.01019/8.28, allocations: 1.947 MB / 3.768 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005678/8.285, allocations: 2.69 MB / 3.77 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/8.286, allocations: 0 / 3.77 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002171/8.288, allocations: 1.504 MB / 3.772 GB, free: 124 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3557/8.643, allocations: 0.5686 MB / 3.772 GB, free: 56.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2122/8.856, allocations: 127.4 MB / 3.897 GB, free: 41.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/8.857, allocations: 1.665 MB / 3.898 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003149/8.86, allocations: 1.967 MB / 3.9 GB, free: 39.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/8.86, allocations: 125.5 kB / 3.9 GB, free: 39.02 MB / 0.5105 GB Notification: Performance of SimCode: time 9.42e-07/8.86, allocations: 0 / 3.9 GB, free: 39.02 MB / 0.5105 GB Notification: Performance of Templates: time 0.07625/8.936, allocations: 55.64 MB / 3.955 GB, free: 13.62 MB / 0.5261 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)