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") [: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.1+maint.om/package.mo): time 0.004614/0.004614, allocations: 177.4 kB / 7.455 MB, free: 2.344 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.54/1.54, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.001875/0.001875, allocations: 108.4 kB / 217.7 MB, free: 8.219 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.2265/0.2265, allocations: 37.98 MB / 294.8 MB, free: 9.477 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.273e-05/1.277e-05, allocations: 1.25 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1351, allocations: 48.71 MB / 398.2 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.346/6.481, allocations: 2.497 GB / 2.886 GB, free: 12.62 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/6.482, allocations: 85.97 kB / 2.886 GB, free: 12.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.575/9.056, allocations: 0.6142 GB / 3.5 GB, free: 26.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002099/9.057, allocations: 45.06 kB / 3.5 GB, free: 26.22 MB / 442.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.01258/9.069, allocations: 2.392 MB / 3.502 GB, free: 24.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/9.069, allocations: 6.094 kB / 3.502 GB, free: 24.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00951/9.079, allocations: 0.9617 MB / 3.503 GB, free: 24.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003619/9.082, allocations: 1.06 MB / 3.504 GB, free: 24.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/9.083, allocations: 56.12 kB / 3.504 GB, free: 24.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004548/9.083, allocations: 66.25 kB / 3.504 GB, free: 24.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003985/9.087, allocations: 1.209 MB / 3.505 GB, free: 23.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004518/9.092, allocations: 1.432 MB / 3.507 GB, free: 22.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.016e-05/9.092, allocations: 6.469 kB / 3.507 GB, free: 22.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002622/9.092, allocations: 5 kB / 3.507 GB, free: 22.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.565e-05/9.092, allocations: 32.16 kB / 3.507 GB, free: 22.93 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.393/10.48, allocations: 266.8 MB / 3.767 GB, free: 88.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009339/10.49, allocations: 0.5404 MB / 3.768 GB, free: 88.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003837/10.49, allocations: 259.1 kB / 3.768 GB, free: 88.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0465/10.53, allocations: 20.34 MB / 3.788 GB, free: 76.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.223e-05/10.53, allocations: 38.81 kB / 3.788 GB, free: 76.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=23): time 4.989e-06/10.53, allocations: 2.438 kB / 3.788 GB, free: 76.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.006083/10.54, allocations: 1.274 MB / 3.789 GB, free: 76.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/10.54, allocations: 260.1 kB / 3.79 GB, free: 76.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002769/10.54, allocations: 1.056 MB / 3.791 GB, free: 76.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.85e-05/10.54, allocations: 33.45 kB / 3.791 GB, free: 76.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007846/10.54, allocations: 0.7305 MB / 3.791 GB, free: 75.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/10.54, allocations: 102.9 kB / 3.791 GB, free: 75.76 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/10.54, allocations: 0 / 3.791 GB, free: 75.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/10.54, allocations: 351.2 kB / 3.792 GB, free: 75.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000753/10.54, allocations: 369.7 kB / 3.792 GB, free: 75.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/10.55, allocations: 0.9114 MB / 3.793 GB, free: 74.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003742/10.55, allocations: 0.8193 MB / 3.794 GB, free: 74.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.13e-05/10.55, allocations: 7.438 kB / 3.794 GB, free: 74.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00923/10.56, allocations: 2.772 MB / 3.797 GB, free: 74.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001895/10.56, allocations: 6.867 MB / 3.803 GB, free: 67.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.318e-05/10.56, allocations: 20.06 kB / 3.803 GB, free: 67.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.183e-05/10.56, allocations: 29.42 kB / 3.803 GB, free: 67.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/10.56, allocations: 404.3 kB / 3.804 GB, free: 67.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.871e-05/10.56, allocations: 39.97 kB / 3.804 GB, free: 67.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/10.56, allocations: 358.8 kB / 3.804 GB, free: 67.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/10.56, allocations: 88.98 kB / 3.804 GB, free: 67.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/10.56, allocations: 7.625 kB / 3.804 GB, free: 67.31 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004067/10.57, allocations: 1.375 MB / 3.806 GB, free: 67.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.385e-05/10.57, allocations: 16.88 kB / 3.806 GB, free: 67.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.233e-05/10.57, allocations: 28.41 kB / 3.806 GB, free: 67.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/10.57, allocations: 398.4 kB / 3.806 GB, free: 67.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.365e-05/10.57, allocations: 35.05 kB / 3.806 GB, free: 67.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/10.57, allocations: 238 kB / 3.806 GB, free: 67.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/10.57, allocations: 84.48 kB / 3.806 GB, free: 67.23 MB / 490.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 () * 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.0004027/10.57, allocations: 165.3 kB / 3.806 GB, free: 67.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002784/10.58, allocations: 0.7156 MB / 3.807 GB, free: 67.06 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/10.58, allocations: 0.9366 MB / 3.808 GB, free: 66.87 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/10.58, allocations: 3.344 kB / 3.808 GB, free: 66.87 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/10.58, allocations: 0 / 3.808 GB, free: 66.87 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/10.58, allocations: 6.812 kB / 3.808 GB, free: 66.87 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003364/10.58, allocations: 1.598 MB / 3.81 GB, free: 66.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/10.58, allocations: 3.312 kB / 3.81 GB, free: 66.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/10.58, allocations: 60.16 kB / 3.81 GB, free: 66.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/10.58, allocations: 2.062 kB / 3.81 GB, free: 66.53 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/10.58, allocations: 14.42 kB / 3.81 GB, free: 66.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/10.58, allocations: 3.219 kB / 3.81 GB, free: 66.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/10.58, allocations: 0 / 3.81 GB, free: 66.53 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003048/10.58, allocations: 1.139 MB / 3.811 GB, free: 66.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/10.59, allocations: 0.5016 MB / 3.811 GB, free: 66.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006726/10.59, allocations: 3.469 kB / 3.811 GB, free: 66.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/10.59, allocations: 92.16 kB / 3.811 GB, free: 66.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/10.59, allocations: 13.86 kB / 3.811 GB, free: 66.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/10.59, allocations: 10.44 kB / 3.811 GB, free: 66.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.002131/10.59, allocations: 1.129 MB / 3.813 GB, free: 65.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01136/10.6, allocations: 1.732 MB / 3.814 GB, free: 65.83 MB / 490.7 MB 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.01293/10.61, allocations: 2.175 MB / 3.816 GB, free: 65.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003455/10.62, allocations: 1.361 MB / 3.818 GB, free: 65.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/10.62, allocations: 0 / 3.818 GB, free: 65.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/10.62, allocations: 86.55 kB / 3.818 GB, free: 65.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/10.62, allocations: 369.7 kB / 3.818 GB, free: 65.46 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05391/10.68, allocations: 21.69 MB / 3.839 GB, free: 64.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001981/10.68, allocations: 1.403 MB / 3.841 GB, free: 63.37 MB / 490.7 MB Notification: Performance of SimCode: time 1.733e-06/10.68, allocations: 0 / 3.841 GB, free: 63.37 MB / 490.7 MB Notification: Performance of Templates: time 0.0875/10.77, allocations: 51.93 MB / 3.891 GB, free: 47.83 MB / 490.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)