Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 92.31 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.001598/0.001598, 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.686/1.686, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.3988/0.3988, allocations: 39.99 MB / 310.4 MB, free: 9.75 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.0005852, allocations: 22.97 kB / 378.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.139, allocations: 57.95 MB / 436.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4606/0.5996, allocations: 173.2 MB / 0.5957 GB, free: 6.598 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008993/0.6087, allocations: 5.399 MB / 0.601 GB, free: 1.195 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008347/0.6096, allocations: 19.81 kB / 0.601 GB, free: 1.176 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.6107, allocations: 250.4 kB / 0.6012 GB, free: 0.9297 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.004953/0.6157, allocations: 1.376 MB / 0.6026 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.6177, allocations: 0.5789 MB / 0.6032 GB, free: 14.98 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002702/0.6204, allocations: 1.739 MB / 0.6048 GB, free: 13.24 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007715/0.6212, allocations: 348.6 kB / 0.6052 GB, free: 12.9 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.6223, allocations: 0.5136 MB / 0.6057 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005829/0.6229, allocations: 450.2 kB / 0.6061 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.867e-05/0.623, allocations: 28 kB / 0.6061 GB, free: 11.92 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.6258, allocations: 1.17 MB / 0.6073 GB, free: 10.75 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.626, allocations: 139.5 kB / 0.6074 GB, free: 10.61 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.6262, allocations: 145.5 kB / 0.6076 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.6277, allocations: 1.111 MB / 0.6086 GB, free: 9.348 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6277, allocations: 0 / 0.6086 GB, free: 9.348 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6277, allocations: 0 / 0.6086 GB, free: 9.348 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.6277, allocations: 0 / 0.6086 GB, free: 9.348 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.00191/0.6296, allocations: 0.9599 MB / 0.6096 GB, free: 8.336 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.6297, allocations: 8.031 kB / 0.6096 GB, free: 8.328 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009552/0.6307, allocations: 143.1 kB / 0.6097 GB, free: 8.188 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007227/0.6314, allocations: 468.8 kB / 0.6102 GB, free: 7.691 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.6314, allocations: 33.5 kB / 0.6102 GB, free: 7.656 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.6315, allocations: 44 kB / 0.6102 GB, free: 7.613 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.6326, allocations: 0.5945 MB / 0.6108 GB, free: 6.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.6326, allocations: 3.938 kB / 0.6108 GB, free: 6.977 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6e-05/0.6327, allocations: 23.95 kB / 0.6108 GB, free: 6.953 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/0.6327, allocations: 8 kB / 0.6109 GB, free: 6.945 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008881/0.6336, allocations: 491.6 kB / 0.6113 GB, free: 6.465 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.003162/0.6368, allocations: 2.687 MB / 0.6139 GB, free: 3.559 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006949/0.6375, allocations: 351.4 kB / 0.6143 GB, free: 3.207 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.6378, allocations: 181.4 kB / 0.6145 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/0.6392, allocations: 1.311 MB / 0.6157 GB, free: 1.496 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.6392, allocations: 42.78 kB / 0.6158 GB, free: 1.445 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 2.294e-06/0.6392, allocations: 0 / 0.6158 GB, free: 1.445 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.001717/0.6409, allocations: 0.7454 MB / 0.6165 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.641, allocations: 132.5 kB / 0.6166 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/0.6416, allocations: 490.1 kB / 0.6171 GB, free: 24 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.656e-05/0.6417, allocations: 33.7 kB / 0.6171 GB, free: 15.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.6419, allocations: 279.8 kB / 0.6174 GB, free: 15.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.642, allocations: 118.3 kB / 0.6175 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.642, allocations: 12 kB / 0.6175 GB, free: 15.58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.6422, allocations: 358.8 kB / 0.6179 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.6425, allocations: 148.8 kB / 0.618 GB, free: 15.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.6429, allocations: 287.7 kB / 0.6183 GB, free: 14.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.6433, allocations: 193 kB / 0.6185 GB, free: 14.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.6433, allocations: 4 kB / 0.6185 GB, free: 14.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001023/0.6443, allocations: 0.5519 MB / 0.619 GB, free: 13.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.6443, allocations: 4 kB / 0.619 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.6444, allocations: 11.38 kB / 0.619 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001453/0.6458, allocations: 297 kB / 0.6193 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.6462, allocations: 107.8 kB / 0.6194 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004507/0.6466, allocations: 0.5952 MB / 0.62 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.647, allocations: 67.56 kB / 0.6201 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.886e-05/0.6471, allocations: 40 kB / 0.6201 GB, free: 12.85 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.0002567/0.6473, allocations: 177.8 kB / 0.6203 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-05/0.6475, allocations: 59.3 kB / 0.6203 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.6491, allocations: 0.7528 MB / 0.6211 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.6491, allocations: 4 kB / 0.6211 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.6491, allocations: 5.547 kB / 0.6211 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.6491, allocations: 3.984 kB / 0.6211 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.6508, allocations: 1.03 MB / 0.6221 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.6508, allocations: 8.156 kB / 0.6221 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.651, allocations: 55.84 kB / 0.6221 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002987/0.654, allocations: 0.5354 MB / 0.6227 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.654, allocations: 11.98 kB / 0.6227 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004604/0.6545, allocations: 0.6185 MB / 0.6233 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6545, allocations: 4.031 kB / 0.6233 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007535/0.6553, allocations: 0.5116 MB / 0.6238 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.6555, allocations: 164.3 kB / 0.6239 GB, free: 8.738 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.43e-05/0.6556, allocations: 8 kB / 0.6239 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.6559, allocations: 39.92 kB / 0.624 GB, free: 8.691 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.656, allocations: 23.97 kB / 0.624 GB, free: 8.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.656, allocations: 19.98 kB / 0.624 GB, free: 8.648 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006026/0.6566, allocations: 386.8 kB / 0.6244 GB, free: 8.273 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6566, allocations: 0 / 0.6244 GB, free: 8.273 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009695/0.6576, allocations: 327.6 kB / 0.6247 GB, free: 7.953 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.00093/0.6586, allocations: 443.8 kB / 0.6251 GB, free: 7.516 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008206/0.6594, allocations: 386.2 kB / 0.6255 GB, free: 7.141 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6594, allocations: 0 / 0.6255 GB, free: 7.141 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.6597, allocations: 172.9 kB / 0.6257 GB, free: 6.973 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.6611, allocations: 285.9 kB / 0.6259 GB, free: 6.691 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.6626, allocations: 1.068 MB / 0.627 GB, free: 5.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.663, allocations: 0.8633 MB / 0.6278 GB, free: 4.699 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007939/0.6638, allocations: 191.2 kB / 0.628 GB, free: 4.516 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.664, allocations: 75.41 kB / 0.6281 GB, free: 4.441 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.6641, allocations: 0 / 0.6281 GB, free: 4.441 MB / 494.1 MB Notification: Performance of Templates: time 0.2606/0.9247, allocations: 14.66 MB / 0.6424 GB, free: 156.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) Environment - environmentSimulation: