Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [: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 trunk/package.mo): time 0.002054/0.002054, allocations: 199.2 kB / 8.542 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009592/0.0009591, allocations: 92.89 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1809/0.1809, allocations: 45.15 MB / 383.4 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.877e-06/8.897e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1067, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.132, allocations: 498.5 MB / 0.9906 GB, free: 178.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/1.133, allocations: 91.5 kB / 0.9907 GB, free: 178.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.6632/1.796, allocations: 217.9 MB / 1.203 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.54e-05/1.796, allocations: 14.41 kB / 1.203 GB, free: 112.6 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002746/1.799, allocations: 0.9176 MB / 1.204 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.799, allocations: 7.875 kB / 1.204 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/1.8, allocations: 143 kB / 1.205 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/1.802, allocations: 481.3 kB / 1.205 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/1.802, allocations: 15.81 kB / 1.205 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.557e-05/1.802, allocations: 25.72 kB / 1.205 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006611/1.802, allocations: 392.2 kB / 1.205 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007044/1.803, allocations: 0.4951 MB / 1.206 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/1.803, allocations: 0 / 1.206 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.477e-05/1.803, allocations: 7.094 kB / 1.206 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/1.803, allocations: 14.92 kB / 1.206 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/1.806, allocations: 2.617 MB / 1.208 GB, free: 110 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/1.806, allocations: 235.2 kB / 1.209 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/1.806, allocations: 122.2 kB / 1.209 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003074/1.806, allocations: 441.9 kB / 1.209 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/1.807, allocations: 38.62 kB / 1.209 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 1.853e-06/1.807, allocations: 3.469 kB / 1.209 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.002342/1.809, allocations: 0.6741 MB / 1.21 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/1.809, allocations: 136.3 kB / 1.21 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/1.809, allocations: 355.9 kB / 1.21 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/1.809, allocations: 28.8 kB / 1.21 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/1.809, allocations: 236.7 kB / 1.211 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.355e-05/1.81, allocations: 110.1 kB / 1.211 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/1.81, allocations: 3.844 kB / 1.211 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.021e-05/1.81, allocations: 350.6 kB / 1.211 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/1.81, allocations: 144.6 kB / 1.211 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/1.81, allocations: 267.1 kB / 1.211 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/1.812, allocations: 0.5356 MB / 1.212 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.812, allocations: 0 / 1.212 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002613/1.815, allocations: 0.8707 MB / 1.213 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.815, allocations: 3.312 kB / 1.213 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/1.815, allocations: 6.625 kB / 1.213 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002329/1.815, allocations: 48.97 kB / 1.213 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/1.816, allocations: 137.5 kB / 1.213 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003013/1.819, allocations: 8.328 MB / 1.221 GB, free: 99.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/1.819, allocations: 55.55 kB / 1.221 GB, free: 99.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.264e-05/1.819, allocations: 50.72 kB / 1.221 GB, free: 99.84 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.K:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.K "Absolute roughness, with a default for a smooth steel pipe" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.delta:VARIABLE(unit = "rad" ) = fitting1.geometry.delta "Angle of turning" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.d_hyd:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.d_hyd "Hydraulic diameter" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.K:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.K "Absolute roughness, with a default for a smooth steel pipe" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.delta:VARIABLE(unit = "rad" ) = fitting2.geometry.delta "Angle of turning" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.d_hyd:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.d_hyd "Hydraulic diameter" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002303/1.819, allocations: 141 kB / 1.221 GB, free: 99.72 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.632e-05/1.82, allocations: 47.38 kB / 1.221 GB, free: 99.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/1.822, allocations: 1.412 MB / 1.223 GB, free: 99.57 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.822, allocations: 10.44 kB / 1.223 GB, free: 99.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/1.822, allocations: 3.938 kB / 1.223 GB, free: 99.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.822, allocations: 0 / 1.223 GB, free: 99.57 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/1.824, allocations: 1.117 MB / 1.224 GB, free: 99.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.824, allocations: 3.719 kB / 1.224 GB, free: 99.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/1.824, allocations: 54.02 kB / 1.224 GB, free: 99.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001507/1.824, allocations: 47.62 kB / 1.224 GB, free: 99.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/1.824, allocations: 10.22 kB / 1.224 GB, free: 99.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004307/1.825, allocations: 0.6114 MB / 1.225 GB, free: 98.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.825, allocations: 7.562 kB / 1.225 GB, free: 98.52 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001121/1.826, allocations: 0.6343 MB / 1.225 GB, free: 98.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/1.826, allocations: 144.2 kB / 1.225 GB, free: 98.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.356e-05/1.826, allocations: 3.938 kB / 1.225 GB, free: 98.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/1.827, allocations: 28.42 kB / 1.225 GB, free: 98.06 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/1.827, allocations: 31.52 kB / 1.225 GB, free: 98.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/1.827, allocations: 11.36 kB / 1.225 GB, free: 98.06 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002986/1.827, allocations: 296.9 kB / 1.226 GB, free: 97.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001881/1.829, allocations: 435.6 kB / 1.226 GB, free: 97.91 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * 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: 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002152/1.831, allocations: 1.337 MB / 1.227 GB, free: 97.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007773/1.832, allocations: 330.1 kB / 1.228 GB, free: 97.69 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.832, allocations: 0 / 1.228 GB, free: 97.69 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/1.832, allocations: 126.2 kB / 1.228 GB, free: 97.69 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/1.833, allocations: 214.2 kB / 1.228 GB, free: 97.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/1.834, allocations: 0.5608 MB / 1.229 GB, free: 97.44 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007337/1.835, allocations: 1.005 MB / 1.23 GB, free: 96.73 MB / 0.5261 GB Notification: Performance of SimCode: time 4.21e-07/1.835, allocations: 3.969 kB / 1.23 GB, free: 96.73 MB / 0.5261 GB Notification: Performance of Templates: time 0.02823/1.863, allocations: 18.87 MB / 1.248 GB, free: 95.75 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1)