Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.1+maint.om/package.mo): time 0.00317/0.00317, allocations: 177.9 kB / 7.453 MB, free: 2.492 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.226/1.226, 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.00172/0.00172, allocations: 111.8 kB / 217.7 MB, free: 8.207 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.1559/0.1559, allocations: 37.97 MB / 294.8 MB, free: 9.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.807e-06/8.927e-06, allocations: 1.188 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1037, allocations: 48.71 MB / 398.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.407/1.511, allocations: 0.5642 GB / 0.9531 GB, free: 155.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003491/1.511, allocations: 95.06 kB / 0.9532 GB, free: 155.6 MB / 426.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.7187/2.23, allocations: 218.4 MB / 1.166 GB, free: 87.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.97e-05/2.23, allocations: 9.719 kB / 1.166 GB, free: 87.38 MB / 426.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.002795/2.233, allocations: 0.852 MB / 1.167 GB, free: 86.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/2.233, allocations: 9.438 kB / 1.167 GB, free: 86.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/2.234, allocations: 137 kB / 1.167 GB, free: 86.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/2.236, allocations: 0.509 MB / 1.168 GB, free: 86.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/2.236, allocations: 15.53 kB / 1.168 GB, free: 86.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.778e-05/2.236, allocations: 21.94 kB / 1.168 GB, free: 86.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007244/2.236, allocations: 340.2 kB / 1.168 GB, free: 86.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008082/2.237, allocations: 463.2 kB / 1.169 GB, free: 86.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/2.237, allocations: 0 / 1.169 GB, free: 86.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-05/2.237, allocations: 1.75 kB / 1.169 GB, free: 86.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/2.237, allocations: 11.31 kB / 1.169 GB, free: 86.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00312/2.24, allocations: 2.516 MB / 1.171 GB, free: 84.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/2.241, allocations: 164.2 kB / 1.171 GB, free: 84.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/2.241, allocations: 115.8 kB / 1.171 GB, free: 84.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000845/2.242, allocations: 0.541 MB / 1.172 GB, free: 83.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/2.242, allocations: 39 kB / 1.172 GB, free: 83.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 2.625e-06/2.242, allocations: 0 / 1.172 GB, free: 83.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002702/2.245, allocations: 0.7741 MB / 1.173 GB, free: 83.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/2.245, allocations: 132.5 kB / 1.173 GB, free: 83.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/2.245, allocations: 338 kB / 1.173 GB, free: 83.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/2.245, allocations: 25.7 kB / 1.173 GB, free: 83.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/2.245, allocations: 258.6 kB / 1.174 GB, free: 83.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.742e-05/2.245, allocations: 95.44 kB / 1.174 GB, free: 83.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/2.245, allocations: 0 / 1.174 GB, free: 83.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/2.246, allocations: 353.8 kB / 1.174 GB, free: 82.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/2.246, allocations: 130.5 kB / 1.174 GB, free: 82.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/2.246, allocations: 293.7 kB / 1.174 GB, free: 82.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/2.248, allocations: 0.6367 MB / 1.175 GB, free: 82.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/2.248, allocations: 0 / 1.175 GB, free: 82.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002622/2.251, allocations: 0.9611 MB / 1.176 GB, free: 81.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/2.251, allocations: 5.75 kB / 1.176 GB, free: 81.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/2.251, allocations: 3.875 kB / 1.176 GB, free: 81.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/2.251, allocations: 50.16 kB / 1.176 GB, free: 81.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/2.252, allocations: 136.7 kB / 1.176 GB, free: 81.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003022/2.255, allocations: 5.769 MB / 1.182 GB, free: 75.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000594/2.255, allocations: 63.41 kB / 1.182 GB, free: 75.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/2.255, allocations: 50.98 kB / 1.182 GB, free: 75.47 MB / 426.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.0002447/2.256, allocations: 132.5 kB / 1.182 GB, free: 75.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/2.256, allocations: 45.66 kB / 1.182 GB, free: 75.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/2.258, allocations: 0.7121 MB / 1.183 GB, free: 74.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/2.258, allocations: 3.281 kB / 1.183 GB, free: 74.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/2.258, allocations: 1.125 kB / 1.183 GB, free: 74.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/2.258, allocations: 0 / 1.183 GB, free: 74.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/2.26, allocations: 0.8939 MB / 1.184 GB, free: 74.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/2.26, allocations: 5.531 kB / 1.184 GB, free: 74.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/2.26, allocations: 63.61 kB / 1.184 GB, free: 74.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003332/2.261, allocations: 50.23 kB / 1.184 GB, free: 74.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/2.261, allocations: 7.922 kB / 1.184 GB, free: 74.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005261/2.261, allocations: 0.5992 MB / 1.184 GB, free: 73.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/2.261, allocations: 5.469 kB / 1.184 GB, free: 73.68 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0011/2.262, allocations: 0.5892 MB / 1.185 GB, free: 73.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/2.263, allocations: 136.9 kB / 1.185 GB, free: 73.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/2.263, allocations: 2.75 kB / 1.185 GB, free: 73.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/2.263, allocations: 28.28 kB / 1.185 GB, free: 73.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/2.263, allocations: 25.5 kB / 1.185 GB, free: 73.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/2.263, allocations: 16.59 kB / 1.185 GB, free: 73.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003758/2.264, allocations: 283.6 kB / 1.185 GB, free: 72.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00194/2.266, allocations: 320.2 kB / 1.186 GB, free: 72.79 MB / 426.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.003079/2.269, allocations: 1.239 MB / 1.187 GB, free: 72.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001181/2.27, allocations: 335.6 kB / 1.187 GB, free: 72.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/2.27, allocations: 3.375 kB / 1.187 GB, free: 72.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003057/2.27, allocations: 132 kB / 1.187 GB, free: 72.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/2.271, allocations: 211 kB / 1.188 GB, free: 72.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00765/2.279, allocations: 2.268 MB / 1.19 GB, free: 70.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009521/2.28, allocations: 0.9819 MB / 1.191 GB, free: 70.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.493e-06/2.28, allocations: 1.688 kB / 1.191 GB, free: 70.16 MB / 426.7 MB Notification: Performance of Templates: time 0.0324/2.312, allocations: 15.95 MB / 1.206 GB, free: 58.07 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1)