Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007819/0.007819, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.597/1.597, allocations: 170.8 MB / 186.6 MB, free: 1.031 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001771/0.00177, allocations: 117.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4426/0.4426, allocations: 38.05 MB / 303.7 MB, free: 42.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003964, allocations: 11.98 kB / 362.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1309, allocations: 48.7 MB / 411.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.57/5.701, allocations: 2.497 GB / 2.899 GB, free: 36.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/5.702, allocations: 86.39 kB / 2.899 GB, free: 36.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645/8.346, allocations: 0.6208 GB / 3.52 GB, free: 31.21 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.765e-06/8.346, allocations: 0 / 3.52 GB, free: 31.21 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002561/8.347, allocations: 42.98 kB / 3.52 GB, free: 31.2 MB / 458.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.0147/8.361, allocations: 2.51 MB / 3.523 GB, free: 29.98 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.896e-05/8.361, allocations: 10.06 kB / 3.523 GB, free: 29.98 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009364/8.371, allocations: 0.8977 MB / 3.524 GB, free: 29.89 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004072/8.375, allocations: 1.052 MB / 3.525 GB, free: 29.57 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/8.375, allocations: 108.3 kB / 3.525 GB, free: 29.56 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000567/8.376, allocations: 110.8 kB / 3.525 GB, free: 29.56 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007557/8.383, allocations: 2.294 MB / 3.527 GB, free: 29.12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.598e-05/8.384, allocations: 10.72 kB / 3.527 GB, free: 29.12 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003636/8.384, allocations: 57.38 kB / 3.527 GB, free: 29.12 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.627e-05/8.384, allocations: 33 kB / 3.527 GB, free: 29.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006652/8.391, allocations: 2.18 MB / 3.529 GB, free: 29.09 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01537/8.406, allocations: 9.772 MB / 3.539 GB, free: 22.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004535/8.411, allocations: 1.622 MB / 3.54 GB, free: 22.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0447/8.455, allocations: 18.82 MB / 3.559 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.865e-05/8.456, allocations: 45.58 kB / 3.559 GB, free: 13.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=88): time 4.849e-06/8.456, allocations: 0 / 3.559 GB, free: 13.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.008504/8.464, allocations: 2.746 MB / 3.562 GB, free: 12.86 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/8.464, allocations: 272.8 kB / 3.562 GB, free: 12.55 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/8.466, allocations: 0.7399 MB / 3.563 GB, free: 12.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/8.466, allocations: 40.83 kB / 3.563 GB, free: 12.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005249/8.466, allocations: 0.6785 MB / 3.563 GB, free: 12.01 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003538/8.467, allocations: 303.2 kB / 3.564 GB, free: 11.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/8.467, allocations: 24.75 kB / 3.564 GB, free: 11.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008044/8.468, allocations: 353.2 kB / 3.564 GB, free: 27.52 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/8.469, allocations: 491.6 kB / 3.564 GB, free: 27.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/8.47, allocations: 1.031 MB / 3.565 GB, free: 26.79 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/8.472, allocations: 0.5986 MB / 3.566 GB, free: 26.75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.116e-05/8.472, allocations: 5.344 kB / 3.566 GB, free: 26.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003807/8.476, allocations: 1.604 MB / 3.568 GB, free: 26.52 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.004063/8.48, allocations: 6.882 MB / 3.574 GB, free: 19.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.507e-05/8.48, allocations: 18.53 kB / 3.574 GB, free: 19.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.54e-05/8.48, allocations: 34.61 kB / 3.574 GB, free: 19.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/8.481, allocations: 388.6 kB / 3.575 GB, free: 19.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.055e-05/8.481, allocations: 42.22 kB / 3.575 GB, free: 19.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/8.483, allocations: 237.8 kB / 3.575 GB, free: 19.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/8.483, allocations: 79.7 kB / 3.575 GB, free: 19.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/8.483, allocations: 6.719 kB / 3.575 GB, free: 19.16 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003057/8.487, allocations: 1.463 MB / 3.576 GB, free: 19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.641e-05/8.487, allocations: 19.81 kB / 3.576 GB, free: 19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.453e-05/8.487, allocations: 25.22 kB / 3.577 GB, free: 19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/8.488, allocations: 388.4 kB / 3.577 GB, free: 18.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-05/8.488, allocations: 37.03 kB / 3.577 GB, free: 18.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/8.49, allocations: 207.6 kB / 3.577 GB, free: 18.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/8.49, allocations: 79.92 kB / 3.577 GB, free: 18.91 MB / 474.7 MB 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.001036/8.491, allocations: 408.4 kB / 3.578 GB, free: 18.68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004468/8.491, allocations: 127.4 kB / 3.578 GB, free: 18.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008676/8.5, allocations: 6.089 MB / 3.584 GB, free: 17.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-05/8.5, allocations: 83.8 kB / 3.584 GB, free: 17.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.815e-05/8.5, allocations: 0 / 3.584 GB, free: 17.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/8.5, allocations: 10.88 kB / 3.584 GB, free: 17.96 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004818/8.505, allocations: 2.795 MB / 3.586 GB, free: 17.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/8.505, allocations: 0 / 3.586 GB, free: 17.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009298/8.506, allocations: 287.6 kB / 3.587 GB, free: 17.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-05/8.506, allocations: 10.27 kB / 3.587 GB, free: 17.05 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.064e-05/8.506, allocations: 31 kB / 3.587 GB, free: 17.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.368e-05/8.506, allocations: 13.94 kB / 3.587 GB, free: 17.03 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/8.506, allocations: 0 / 3.587 GB, free: 17.03 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004818/8.511, allocations: 2.96 MB / 3.59 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001409/8.512, allocations: 0.5302 MB / 3.59 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004904/8.513, allocations: 26.78 kB / 3.59 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/8.514, allocations: 137 kB / 3.59 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/8.514, allocations: 93.62 kB / 3.59 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-05/8.514, allocations: 38.8 kB / 3.59 GB, free: 15.27 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00149/8.516, allocations: 0.6644 MB / 3.591 GB, free: 15.01 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.8e-07/8.516, allocations: 0 / 3.591 GB, free: 15.01 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0111/8.527, allocations: 1.719 MB / 3.593 GB, free: 14.66 MB / 474.7 MB 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.01213/8.539, allocations: 1.948 MB / 3.595 GB, free: 14.15 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006151/8.545, allocations: 2.684 MB / 3.597 GB, free: 13.28 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/8.546, allocations: 3.625 kB / 3.597 GB, free: 13.28 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002417/8.548, allocations: 1.508 MB / 3.599 GB, free: 12.61 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003904/8.552, allocations: 0.5842 MB / 3.599 GB, free: 12.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6298/9.182, allocations: 125.3 MB / 3.722 GB, free: 32.94 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/9.183, allocations: 1.663 MB / 3.723 GB, free: 32.17 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003299/9.186, allocations: 1.959 MB / 3.725 GB, free: 32.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003103/9.186, allocations: 127.4 kB / 3.725 GB, free: 32.08 MB / 474.7 MB Notification: Performance of SimCode: time 2.134e-06/9.186, allocations: 0 / 3.725 GB, free: 32.08 MB / 474.7 MB Notification: Performance of Templates: time 0.1241/9.311, allocations: 55.48 MB / 3.78 GB, free: 2.32 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.pipe 2>&1)