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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003039/0.003039, allocations: 188.1 kB / 7.461 MB, free: 2.5 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.248/1.248, allocations: 194.2 MB / 202.1 MB, free: 8.664 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.002355/0.002355, allocations: 123.3 kB / 247.1 MB, free: 6.375 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.1796/0.1796, allocations: 39.94 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.162e-06/6.182e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.09926, allocations: 54.86 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.817/4.916, allocations: 2.607 GB / 3.044 GB, free: 149.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/4.916, allocations: 84.83 kB / 3.045 GB, free: 149.8 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.975/6.891, allocations: 0.628 GB / 3.673 GB, free: 35.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001596/6.891, allocations: 42.73 kB / 3.673 GB, free: 35.39 MB / 490.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.01273/6.904, allocations: 2.48 MB / 3.675 GB, free: 34.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.04e-05/6.904, allocations: 7.875 kB / 3.675 GB, free: 34.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0165/6.92, allocations: 1.019 MB / 3.676 GB, free: 34.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004686/6.925, allocations: 1.066 MB / 3.677 GB, free: 33.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/6.925, allocations: 56.44 kB / 3.677 GB, free: 33.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005512/6.926, allocations: 68.06 kB / 3.677 GB, free: 33.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004454/6.93, allocations: 1.208 MB / 3.678 GB, free: 33.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004145/6.935, allocations: 1.424 MB / 3.68 GB, free: 33.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.517e-05/6.935, allocations: 3.938 kB / 3.68 GB, free: 33.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003527/6.935, allocations: 7.469 kB / 3.68 GB, free: 33.26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/6.935, allocations: 35.72 kB / 3.68 GB, free: 33.26 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.236/8.171, allocations: 267 MB / 3.941 GB, free: 118 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000983/8.172, allocations: 0.538 MB / 3.941 GB, free: 118 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/8.172, allocations: 264 kB / 3.941 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03962/8.212, allocations: 20.35 MB / 3.961 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/8.212, allocations: 36 kB / 3.961 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=23): time 3.757e-06/8.212, allocations: 0 / 3.961 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.004708/8.217, allocations: 1.275 MB / 3.962 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.001e-05/8.217, allocations: 265.4 kB / 3.963 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/8.219, allocations: 1.054 MB / 3.964 GB, free: 106 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/8.219, allocations: 25.7 kB / 3.964 GB, free: 106 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005331/8.22, allocations: 0.7274 MB / 3.964 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/8.22, allocations: 105.3 kB / 3.965 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.133e-05/8.22, allocations: 2.781 kB / 3.965 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001144/8.22, allocations: 355.2 kB / 3.965 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006104/8.22, allocations: 367.6 kB / 3.965 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008882/8.221, allocations: 0.9138 MB / 3.966 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003209/8.225, allocations: 0.8207 MB / 3.967 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.311e-05/8.225, allocations: 6.969 kB / 3.967 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.008282/8.233, allocations: 2.771 MB / 3.97 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002095/8.235, allocations: 6.874 MB / 3.976 GB, free: 97.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.4e-05/8.235, allocations: 21.97 kB / 3.976 GB, free: 97.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.449e-05/8.235, allocations: 29.72 kB / 3.976 GB, free: 97.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/8.237, allocations: 405.8 kB / 3.977 GB, free: 97.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.513e-05/8.237, allocations: 40.52 kB / 3.977 GB, free: 97.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/8.239, allocations: 354.6 kB / 3.977 GB, free: 97.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/8.239, allocations: 90.81 kB / 3.977 GB, free: 97.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/8.239, allocations: 3.938 kB / 3.977 GB, free: 97.28 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003791/8.243, allocations: 1.37 MB / 3.979 GB, free: 97.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-05/8.243, allocations: 23.5 kB / 3.979 GB, free: 97.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/8.243, allocations: 28.12 kB / 3.979 GB, free: 97.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/8.244, allocations: 404.9 kB / 3.979 GB, free: 97.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.562e-05/8.244, allocations: 30.34 kB / 3.979 GB, free: 97.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/8.246, allocations: 237.7 kB / 3.979 GB, free: 97.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/8.246, allocations: 83.38 kB / 3.979 GB, free: 97.24 MB / 0.5261 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 () * 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.0002914/8.246, allocations: 167.1 kB / 3.98 GB, free: 97.13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002153/8.249, allocations: 0.7179 MB / 3.98 GB, free: 97.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/8.25, allocations: 0.9295 MB / 3.981 GB, free: 96.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/8.251, allocations: 7.188 kB / 3.981 GB, free: 96.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/8.251, allocations: 3.875 kB / 3.981 GB, free: 96.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/8.251, allocations: 4.406 kB / 3.981 GB, free: 96.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002854/8.253, allocations: 1.59 MB / 3.983 GB, free: 96.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/8.253, allocations: 0 / 3.983 GB, free: 96.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/8.254, allocations: 69.55 kB / 3.983 GB, free: 96.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/8.254, allocations: 3.875 kB / 3.983 GB, free: 96.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/8.254, allocations: 2.531 kB / 3.983 GB, free: 96.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/8.254, allocations: 6.078 kB / 3.983 GB, free: 96.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/8.254, allocations: 3.906 kB / 3.983 GB, free: 96.59 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002906/8.257, allocations: 1.135 MB / 3.984 GB, free: 96.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009086/8.258, allocations: 0.4996 MB / 3.984 GB, free: 96.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000483/8.258, allocations: 3.938 kB / 3.984 GB, free: 96.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/8.259, allocations: 99.86 kB / 3.985 GB, free: 96.15 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/8.259, allocations: 15.84 kB / 3.985 GB, free: 96.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/8.259, allocations: 6.922 kB / 3.985 GB, free: 96.15 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001643/8.261, allocations: 1.123 MB / 3.986 GB, free: 96.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008785/8.27, allocations: 1.74 MB / 3.987 GB, free: 95.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.01025/8.28, allocations: 2.178 MB / 3.989 GB, free: 95.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002833/8.283, allocations: 1.363 MB / 3.991 GB, free: 95.72 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/8.283, allocations: 3.719 kB / 3.991 GB, free: 95.72 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/8.283, allocations: 85.94 kB / 3.991 GB, free: 95.72 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/8.286, allocations: 370.2 kB / 3.991 GB, free: 95.71 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05211/8.338, allocations: 22.49 MB / 4.013 GB, free: 94.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/8.339, allocations: 1.403 MB / 4.015 GB, free: 93.72 MB / 0.5261 GB Notification: Performance of SimCode: time 1.533e-06/8.339, allocations: 0 / 4.015 GB, free: 93.72 MB / 0.5261 GB Notification: Performance of Templates: time 0.07611/8.415, allocations: 52.16 MB / 4.066 GB, free: 89.91 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)