Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,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_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,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_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008948/0.0008948, allocations: 173.7 kB / 8 MB, free: 1.074 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008451/0.0008452, allocations: 82.17 kB / 261.7 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1859/0.1859, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.27e-05/1.273e-05, allocations: 0 / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 58.85 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.367/1.48, allocations: 0.5838 GB / 1.05 GB, free: 33.08 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/1.48, allocations: 93.69 kB / 1.05 GB, free: 33.03 MB / 0.4948 GB Error: Variable fitting1.geometry in package ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend is not constant. Error: Variable fitting2.geometry in package ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend is not constant. Notification: Performance of FrontEnd - DAE generated: time 0.7195/2.2, allocations: 236.7 MB / 1.281 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.252e-06/2.2, allocations: 0 / 1.281 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.508e-05/2.2, allocations: 19.98 kB / 1.281 GB, free: 2.457 MB / 0.4948 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.002449/2.202, allocations: 0.9552 MB / 1.282 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/2.203, allocations: 8.031 kB / 1.282 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/2.204, allocations: 135.2 kB / 1.282 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008177/2.204, allocations: 491.2 kB / 1.283 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/2.204, allocations: 16 kB / 1.283 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.176e-05/2.205, allocations: 20 kB / 1.283 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005807/2.205, allocations: 402.5 kB / 1.283 GB, free: 372 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2991/2.504, allocations: 0.493 MB / 1.283 GB, free: 94.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/2.504, allocations: 2.062 kB / 1.283 GB, free: 94.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/2.504, allocations: 2.281 kB / 1.283 GB, free: 94.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/2.504, allocations: 11.34 kB / 1.283 GB, free: 94.76 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003112/2.508, allocations: 2.594 MB / 1.286 GB, free: 93.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/2.508, allocations: 241.1 kB / 1.286 GB, free: 93.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/2.508, allocations: 126.7 kB / 1.286 GB, free: 93.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003396/2.508, allocations: 318.1 kB / 1.287 GB, free: 92.76 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/2.508, allocations: 38.67 kB / 1.287 GB, free: 92.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 3.016e-06/2.508, allocations: 0.6562 kB / 1.287 GB, free: 92.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.002574/2.511, allocations: 0.7697 MB / 1.287 GB, free: 92.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/2.511, allocations: 137.3 kB / 1.288 GB, free: 92.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004101/2.512, allocations: 377 kB / 1.288 GB, free: 92.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/2.512, allocations: 26.27 kB / 1.288 GB, free: 92.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/2.512, allocations: 284.3 kB / 1.288 GB, free: 92.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-05/2.512, allocations: 110.8 kB / 1.288 GB, free: 92.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/2.512, allocations: 0 / 1.288 GB, free: 92.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.1e-05/2.512, allocations: 357.5 kB / 1.289 GB, free: 91.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/2.512, allocations: 160.7 kB / 1.289 GB, free: 91.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/2.512, allocations: 293.7 kB / 1.289 GB, free: 91.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/2.514, allocations: 0.6321 MB / 1.29 GB, free: 91.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/2.514, allocations: 2.656 kB / 1.29 GB, free: 91.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00251/2.517, allocations: 0.9897 MB / 1.291 GB, free: 91.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/2.517, allocations: 3.75 kB / 1.291 GB, free: 91.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/2.517, allocations: 6.656 kB / 1.291 GB, free: 91.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002095/2.517, allocations: 51.2 kB / 1.291 GB, free: 91.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/2.518, allocations: 139.6 kB / 1.291 GB, free: 91.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005649/2.523, allocations: 22.69 MB / 1.313 GB, free: 68.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/2.524, allocations: 58.55 kB / 1.313 GB, free: 68.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.609e-05/2.524, allocations: 55.33 kB / 1.313 GB, free: 68.35 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in equation system with 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 with 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 with analytic Jacobian: fitting1.geometry.R_0:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.R_0 "Curvature radius" type: Real Warning: Iteration variables with default zero start attribute in equation system with 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 with 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 with 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 with analytic Jacobian: fitting2.geometry.R_0:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.R_0 "Curvature radius" type: Real Warning: Iteration variables with default zero start attribute in equation system with 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 (54): * 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): 8 * 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: 8 {1,1,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.0002751/2.525, allocations: 144.5 kB / 1.313 GB, free: 68.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/2.525, allocations: 46.42 kB / 1.313 GB, free: 68.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/2.526, allocations: 0.6174 MB / 1.314 GB, free: 68.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/2.526, allocations: 6.844 kB / 1.314 GB, free: 68.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/2.526, allocations: 0 / 1.314 GB, free: 68.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/2.526, allocations: 2.422 kB / 1.314 GB, free: 68.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/2.528, allocations: 1.105 MB / 1.315 GB, free: 67.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/2.528, allocations: 2.344 kB / 1.315 GB, free: 67.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/2.529, allocations: 54.98 kB / 1.315 GB, free: 67.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001718/2.529, allocations: 47.52 kB / 1.315 GB, free: 67.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/2.529, allocations: 6.531 kB / 1.315 GB, free: 67.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004615/2.529, allocations: 0.6143 MB / 1.316 GB, free: 67.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/2.529, allocations: 2.438 kB / 1.316 GB, free: 67.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/2.53, allocations: 0.6216 MB / 1.316 GB, free: 66.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/2.531, allocations: 140.7 kB / 1.316 GB, free: 66.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-05/2.531, allocations: 4.25 kB / 1.316 GB, free: 66.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/2.531, allocations: 36.38 kB / 1.317 GB, free: 66.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/2.531, allocations: 26.98 kB / 1.317 GB, free: 66.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/2.531, allocations: 17.25 kB / 1.317 GB, free: 66.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003631/2.532, allocations: 308.3 kB / 1.317 GB, free: 66.51 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/2.532, allocations: 0 / 1.317 GB, free: 66.51 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0023/2.534, allocations: 451.2 kB / 1.317 GB, free: 66.5 MB / 0.4948 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.002871/2.537, allocations: 1.378 MB / 1.319 GB, free: 66.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000924/2.538, allocations: 359 kB / 1.319 GB, free: 66.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/2.538, allocations: 1.781 kB / 1.319 GB, free: 66.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000236/2.538, allocations: 123 kB / 1.319 GB, free: 66.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/2.539, allocations: 225.8 kB / 1.319 GB, free: 66.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/2.541, allocations: 0.5649 MB / 1.32 GB, free: 66.06 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/2.541, allocations: 0.8686 MB / 1.321 GB, free: 65.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008464/2.542, allocations: 180.2 kB / 1.321 GB, free: 65.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/2.542, allocations: 65.72 kB / 1.321 GB, free: 65.35 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/2.542, allocations: 0 / 1.321 GB, free: 65.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.02776/2.57, allocations: 18.23 MB / 1.339 GB, free: 64.72 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1)