Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.4 MB / 222.1 MB, free: 5.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3713/0.3713, allocations: 40 MB / 310.4 MB, free: 9.711 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005851/0.0005853, allocations: 12 kB / 378.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1391, allocations: 57.97 MB / 436.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4651/0.6042, allocations: 173.2 MB / 0.5957 GB, free: 6.617 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.6145, allocations: 5.73 MB / 0.6013 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.6156, allocations: 15.88 kB / 0.6013 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.6169, allocations: 250.3 kB / 0.6016 GB, free: 0.6172 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005921/0.6229, allocations: 1.67 MB / 0.6032 GB, free: 14.95 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.6249, allocations: 0.5713 MB / 0.6037 GB, free: 14.39 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00269/0.6276, allocations: 1.719 MB / 0.6054 GB, free: 12.67 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006898/0.6283, allocations: 342.9 kB / 0.6058 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.6294, allocations: 0.5098 MB / 0.6062 GB, free: 11.83 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006032/0.6301, allocations: 446.2 kB / 0.6067 GB, free: 11.39 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.28e-05/0.6301, allocations: 28 kB / 0.6067 GB, free: 11.36 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003634/0.6338, allocations: 1.833 MB / 0.6085 GB, free: 9.527 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.634, allocations: 135.5 kB / 0.6086 GB, free: 9.395 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.6342, allocations: 141.5 kB / 0.6088 GB, free: 9.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.636, allocations: 1.228 MB / 0.61 GB, free: 8.02 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.636, allocations: 0 / 0.61 GB, free: 8.02 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.636, allocations: 0 / 0.61 GB, free: 8.02 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.636, allocations: 0 / 0.61 GB, free: 8.02 MB / 478.1 MB 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.002074/0.6381, allocations: 0.9756 MB / 0.6109 GB, free: 6.992 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.6382, allocations: 12.03 kB / 0.6109 GB, free: 6.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009321/0.6391, allocations: 147 kB / 0.6111 GB, free: 6.836 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007085/0.6398, allocations: 460.9 kB / 0.6115 GB, free: 6.348 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.411e-05/0.6399, allocations: 29 kB / 0.6115 GB, free: 6.316 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/0.64, allocations: 40 kB / 0.6116 GB, free: 6.277 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.6411, allocations: 0.5945 MB / 0.6121 GB, free: 5.645 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.6411, allocations: 0 / 0.6121 GB, free: 5.645 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/0.6411, allocations: 20 kB / 0.6122 GB, free: 5.625 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.6412, allocations: 11.95 kB / 0.6122 GB, free: 5.613 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008673/0.642, allocations: 479.6 kB / 0.6126 GB, free: 5.145 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.003066/0.6451, allocations: 2.678 MB / 0.6152 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006865/0.6458, allocations: 347.4 kB / 0.6156 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.6461, allocations: 173.3 kB / 0.6157 GB, free: 1.727 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/0.6474, allocations: 1.311 MB / 0.617 GB, free: 200 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.6475, allocations: 42.83 kB / 0.6171 GB, free: 148 kB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 2.314e-06/0.6475, allocations: 0 / 0.6171 GB, free: 148 kB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.001587/0.6491, allocations: 0.7182 MB / 0.6178 GB, free: 15.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/0.6492, allocations: 136.5 kB / 0.6179 GB, free: 15.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000538/0.6497, allocations: 477.9 kB / 0.6184 GB, free: 14.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.6498, allocations: 29.7 kB / 0.6184 GB, free: 14.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.65, allocations: 271.9 kB / 0.6186 GB, free: 14.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.6501, allocations: 122.2 kB / 0.6188 GB, free: 14.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.6501, allocations: 12 kB / 0.6188 GB, free: 14.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.6503, allocations: 358.8 kB / 0.6191 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.6506, allocations: 148.8 kB / 0.6193 GB, free: 13.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/0.651, allocations: 283.7 kB / 0.6195 GB, free: 13.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.6513, allocations: 185 kB / 0.6197 GB, free: 13.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6513, allocations: 4 kB / 0.6197 GB, free: 13.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009065/0.6522, allocations: 0.5443 MB / 0.6202 GB, free: 12.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.6523, allocations: 8 kB / 0.6202 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.6523, allocations: 0 / 0.6202 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.6537, allocations: 288.8 kB / 0.6205 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.654, allocations: 103.9 kB / 0.6206 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000453/0.6545, allocations: 0.5913 MB / 0.6212 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.6549, allocations: 67.56 kB / 0.6213 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.886e-05/0.655, allocations: 47.98 kB / 0.6213 GB, free: 11.62 MB / 494.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 prepare postOptimizeDAE: time 0.0002317/0.6552, allocations: 181.7 kB / 0.6215 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.6553, allocations: 55.34 kB / 0.6215 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.6569, allocations: 0.7471 MB / 0.6223 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6569, allocations: 0 / 0.6223 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6569, allocations: 6 kB / 0.6223 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6569, allocations: 0 / 0.6223 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.6583, allocations: 1.014 MB / 0.6233 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.6583, allocations: 4 kB / 0.6233 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.6585, allocations: 56.12 kB / 0.6233 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002808/0.6613, allocations: 0.5314 MB / 0.6238 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.6614, allocations: 15.98 kB / 0.6238 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004088/0.6618, allocations: 0.5914 MB / 0.6244 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.6618, allocations: 11.92 kB / 0.6244 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007034/0.6625, allocations: 0.5116 MB / 0.6249 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.6627, allocations: 156.4 kB / 0.6251 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/0.6628, allocations: 12 kB / 0.6251 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.6631, allocations: 39.88 kB / 0.6251 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.6632, allocations: 27.92 kB / 0.6252 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.6632, allocations: 12 kB / 0.6252 GB, free: 7.484 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004165/0.6636, allocations: 374.8 kB / 0.6255 GB, free: 7.121 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6636, allocations: 0 / 0.6255 GB, free: 7.121 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001059/0.6647, allocations: 371.7 kB / 0.6259 GB, free: 6.758 MB / 494.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001093/0.6658, allocations: 0.4985 MB / 0.6264 GB, free: 6.254 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007845/0.6666, allocations: 380.6 kB / 0.6267 GB, free: 5.883 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6666, allocations: 0 / 0.6267 GB, free: 5.883 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.6669, allocations: 171.8 kB / 0.6269 GB, free: 5.719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.6683, allocations: 295.4 kB / 0.6272 GB, free: 5.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.6698, allocations: 1.056 MB / 0.6282 GB, free: 4.332 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.6702, allocations: 0.8555 MB / 0.629 GB, free: 3.449 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007844/0.671, allocations: 195.7 kB / 0.6292 GB, free: 3.266 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.6712, allocations: 71.42 kB / 0.6293 GB, free: 3.195 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6712, allocations: 0 / 0.6293 GB, free: 3.195 MB / 494.1 MB Notification: Performance of Templates: time 0.2306/0.9018, allocations: 16.18 MB / 0.6451 GB, free: 155 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) Environment - environmentSimulation: