Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [: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.002646/0.002645, allocations: 181.5 kB / 7.457 MB, free: 2.504 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.228/1.228, allocations: 194.2 MB / 202.1 MB, free: 8.82 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.001774/0.001773, allocations: 120.5 kB / 247.1 MB, free: 6.312 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.1751/0.1751, allocations: 39.94 MB / 331.9 MB, free: 4.988 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.111e-06/6.592e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 54.87 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.179, allocations: 0.571 GB / 1.008 GB, free: 42.89 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/1.179, allocations: 84.02 kB / 1.008 GB, free: 42.85 MB / 490.7 MB Error: Variable fitting1.a in package ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate is not constant. Error: Variable fitting2.a in package ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate is not constant. Notification: Performance of FrontEnd: time 0.609/1.788, allocations: 218.5 MB / 1.222 GB, free: 29.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.755e-05/1.788, allocations: 15.98 kB / 1.222 GB, free: 29.07 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001809/1.79, allocations: 0.8529 MB / 1.222 GB, free: 28.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/1.79, allocations: 12.03 kB / 1.222 GB, free: 28.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/1.791, allocations: 135.2 kB / 1.223 GB, free: 28.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008999/1.792, allocations: 0.5078 MB / 1.223 GB, free: 27.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/1.792, allocations: 20 kB / 1.223 GB, free: 27.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.935e-05/1.792, allocations: 20 kB / 1.223 GB, free: 27.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005412/1.793, allocations: 329.9 kB / 1.223 GB, free: 27.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006012/1.793, allocations: 472.4 kB / 1.224 GB, free: 26.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/1.793, allocations: 3.938 kB / 1.224 GB, free: 26.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.699e-05/1.793, allocations: 3.906 kB / 1.224 GB, free: 26.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/1.794, allocations: 12 kB / 1.224 GB, free: 26.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/1.796, allocations: 2.509 MB / 1.226 GB, free: 23.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/1.796, allocations: 174.5 kB / 1.227 GB, free: 23.72 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/1.796, allocations: 113.6 kB / 1.227 GB, free: 23.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008025/1.797, allocations: 0.5355 MB / 1.227 GB, free: 22.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/1.797, allocations: 38.56 kB / 1.227 GB, free: 22.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 2.475e-06/1.797, allocations: 3.984 kB / 1.227 GB, free: 22.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=26): time 0.002552/1.8, allocations: 0.7861 MB / 1.228 GB, free: 22.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/1.8, allocations: 128.5 kB / 1.228 GB, free: 21.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003713/1.8, allocations: 337 kB / 1.228 GB, free: 21.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/1.8, allocations: 25.7 kB / 1.228 GB, free: 21.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/1.8, allocations: 259.3 kB / 1.229 GB, free: 21.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.198e-05/1.8, allocations: 90.66 kB / 1.229 GB, free: 21.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/1.8, allocations: 0 / 1.229 GB, free: 21.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.919e-05/1.8, allocations: 354.8 kB / 1.229 GB, free: 20.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/1.801, allocations: 125 kB / 1.229 GB, free: 20.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/1.801, allocations: 301.3 kB / 1.229 GB, free: 20.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/1.803, allocations: 0.628 MB / 1.23 GB, free: 19.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.803, allocations: 4 kB / 1.23 GB, free: 19.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002311/1.805, allocations: 0.9547 MB / 1.231 GB, free: 18.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/1.805, allocations: 12.03 kB / 1.231 GB, free: 18.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.805, allocations: 4 kB / 1.231 GB, free: 18.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001935/1.805, allocations: 48.81 kB / 1.231 GB, free: 18.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004533/1.806, allocations: 135.8 kB / 1.231 GB, free: 18.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/1.808, allocations: 5.757 MB / 1.237 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004754/1.809, allocations: 67.56 kB / 1.237 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.186e-05/1.809, allocations: 47.98 kB / 1.237 GB, free: 12.26 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.b:VARIABLE(unit = "(Pa.s)/m3" ) = fitting1.b "Coefficient for linear term" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.a:VARIABLE(unit = "(Pa.s2)/m6" ) = fitting1.a "Coefficient for quadratic term" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.b:VARIABLE(unit = "(Pa.s)/m3" ) = fitting2.b "Coefficient for linear term" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.a:VARIABLE(unit = "(Pa.s2)/m6" ) = fitting2.a "Coefficient for quadratic term" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001753/1.809, allocations: 131 kB / 1.237 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.357e-05/1.809, allocations: 51.38 kB / 1.237 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/1.811, allocations: 0.7216 MB / 1.238 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/1.811, allocations: 0 / 1.238 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/1.811, allocations: 0 / 1.238 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.811, allocations: 4 kB / 1.238 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/1.812, allocations: 0.8908 MB / 1.239 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.812, allocations: 4 kB / 1.239 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/1.812, allocations: 64.06 kB / 1.239 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/1.812, allocations: 52.81 kB / 1.239 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/1.812, allocations: 4 kB / 1.239 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000353/1.813, allocations: 0.603 MB / 1.239 GB, free: 9.641 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.813, allocations: 0 / 1.239 GB, free: 9.641 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008057/1.814, allocations: 0.5862 MB / 1.24 GB, free: 8.988 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/1.814, allocations: 144.4 kB / 1.24 GB, free: 8.828 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.079e-05/1.814, allocations: 0 / 1.24 GB, free: 8.828 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/1.814, allocations: 27.97 kB / 1.24 GB, free: 8.801 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/1.814, allocations: 27.88 kB / 1.24 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/1.814, allocations: 12 kB / 1.24 GB, free: 8.762 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0002319/1.814, allocations: 283.2 kB / 1.24 GB, free: 8.488 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001182/1.816, allocations: 319.6 kB / 1.241 GB, free: 8.176 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001888/1.818, allocations: 1.236 MB / 1.242 GB, free: 6.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008926/1.818, allocations: 337.3 kB / 1.242 GB, free: 6.602 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.818, allocations: 4.125 kB / 1.242 GB, free: 6.598 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002366/1.819, allocations: 139.6 kB / 1.242 GB, free: 6.461 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000965/1.82, allocations: 193.9 kB / 1.243 GB, free: 6.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005794/1.825, allocations: 2.28 MB / 1.245 GB, free: 3.945 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006066/1.826, allocations: 0.9793 MB / 1.246 GB, free: 2.938 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/1.826, allocations: 0 / 1.246 GB, free: 2.938 MB / 490.7 MB Notification: Performance of Templates: time 0.1685/1.995, allocations: 15.93 MB / 1.261 GB, free: 146.9 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1)