Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 92.16 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.001142/0.001142, 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.664/1.664, allocations: 205.4 MB / 222.1 MB, free: 5.484 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.3615/0.3615, allocations: 40 MB / 310.4 MB, free: 10.02 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.0006109/0.0006111, allocations: 14.97 kB / 378.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.142, allocations: 57.96 MB / 436.8 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4663/0.6084, allocations: 173 MB / 0.5955 GB, free: 6.977 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004431/0.6128, allocations: 2.085 MB / 0.5976 GB, free: 4.887 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005826/0.6135, allocations: 19.81 kB / 0.5976 GB, free: 4.867 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007826/0.6143, allocations: 230.5 kB / 0.5978 GB, free: 4.641 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.003791/0.6181, allocations: 1.194 MB / 0.599 GB, free: 3.449 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.6197, allocations: 0.5352 MB / 0.5995 GB, free: 2.922 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002054/0.6217, allocations: 1.683 MB / 0.6011 GB, free: 1.234 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005713/0.6223, allocations: 338.9 kB / 0.6015 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008246/0.6231, allocations: 0.4942 MB / 0.6019 GB, free: 420 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005441/0.6237, allocations: 422.3 kB / 0.6023 GB, free: 15.99 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.558e-05/0.6238, allocations: 31.94 kB / 0.6024 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.6259, allocations: 0.7922 MB / 0.6031 GB, free: 15.17 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.626, allocations: 123.5 kB / 0.6033 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.6262, allocations: 137.4 kB / 0.6034 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.6273, allocations: 0.9158 MB / 0.6043 GB, free: 13.99 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.6273, allocations: 11.94 kB / 0.6043 GB, free: 13.98 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.6273, allocations: 0 / 0.6043 GB, free: 13.98 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.6273, allocations: 3.938 kB / 0.6043 GB, free: 13.98 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001467/0.6288, allocations: 0.8976 MB / 0.6052 GB, free: 13.03 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.6289, allocations: 12.03 kB / 0.6052 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008989/0.6298, allocations: 127.3 kB / 0.6053 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005886/0.6304, allocations: 440.8 kB / 0.6057 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.6304, allocations: 29 kB / 0.6058 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.6305, allocations: 40 kB / 0.6058 GB, free: 12.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009872/0.6315, allocations: 0.5555 MB / 0.6063 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.6315, allocations: 4.5 kB / 0.6063 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.6316, allocations: 20 kB / 0.6064 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.6316, allocations: 11.95 kB / 0.6064 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007771/0.6324, allocations: 419.6 kB / 0.6068 GB, free: 11.32 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.002776/0.6351, allocations: 2.584 MB / 0.6093 GB, free: 8.512 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005762/0.6357, allocations: 296.1 kB / 0.6096 GB, free: 8.215 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.636, allocations: 155.8 kB / 0.6097 GB, free: 8.062 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.6373, allocations: 1.236 MB / 0.6109 GB, free: 6.629 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.6373, allocations: 34.56 kB / 0.611 GB, free: 6.586 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/0.6373, allocations: 0 / 0.611 GB, free: 6.586 MB / 478.1 MB Notification: Performance of matching and sorting (n=29): time 0.002241/0.6395, allocations: 0.7248 MB / 0.6117 GB, free: 5.836 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.399e-05/0.6397, allocations: 132.5 kB / 0.6118 GB, free: 5.676 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005624/0.6402, allocations: 441.9 kB / 0.6122 GB, free: 5.234 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.6403, allocations: 37.7 kB / 0.6123 GB, free: 5.191 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.6405, allocations: 275.7 kB / 0.6125 GB, free: 4.918 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.6406, allocations: 90.66 kB / 0.6126 GB, free: 4.828 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.6407, allocations: 15.94 kB / 0.6126 GB, free: 4.812 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.6409, allocations: 354.8 kB / 0.613 GB, free: 4.457 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003806/0.6413, allocations: 147.9 kB / 0.6131 GB, free: 4.312 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000459/0.6417, allocations: 279.9 kB / 0.6134 GB, free: 3.984 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/0.6422, allocations: 179.9 kB / 0.6135 GB, free: 3.809 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.6422, allocations: 0 / 0.6135 GB, free: 3.809 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001162/0.6433, allocations: 0.534 MB / 0.6141 GB, free: 3.266 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.6434, allocations: 12.03 kB / 0.6141 GB, free: 3.254 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.6434, allocations: 4 kB / 0.6141 GB, free: 3.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001963/0.6454, allocations: 320.4 kB / 0.6144 GB, free: 2.934 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.6458, allocations: 101 kB / 0.6145 GB, free: 2.836 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009053/0.6467, allocations: 0.5953 MB / 0.6151 GB, free: 2.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004319/0.6471, allocations: 67.58 kB / 0.6151 GB, free: 2.148 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.218e-05/0.6472, allocations: 47.97 kB / 0.6152 GB, free: 2.102 MB / 478.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 (41): * Single equations (assignments): 40 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002469/0.6475, allocations: 173.7 kB / 0.6153 GB, free: 1.922 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.6476, allocations: 63.33 kB / 0.6154 GB, free: 1.859 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.6493, allocations: 0.6818 MB / 0.6161 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.6493, allocations: 4 kB / 0.6161 GB, free: 1.16 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.6494, allocations: 0 / 0.6161 GB, free: 1.16 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6494, allocations: 0 / 0.6161 GB, free: 1.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.651, allocations: 0.9752 MB / 0.617 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.651, allocations: 4.156 kB / 0.617 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.6512, allocations: 51.91 kB / 0.6171 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001968/0.6532, allocations: 340.4 kB / 0.6174 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.6532, allocations: 15.98 kB / 0.6174 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008324/0.6541, allocations: 0.6108 MB / 0.618 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6541, allocations: 0 / 0.618 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.6553, allocations: 0.5076 MB / 0.6185 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.6555, allocations: 152.4 kB / 0.6187 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.151e-05/0.6556, allocations: 11.95 kB / 0.6187 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.656, allocations: 43.81 kB / 0.6187 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.6561, allocations: 15.97 kB / 0.6187 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.6561, allocations: 23.97 kB / 0.6187 GB, free: 14.26 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004217/0.6565, allocations: 362.8 kB / 0.6191 GB, free: 13.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6565, allocations: 0 / 0.6191 GB, free: 13.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008898/0.6574, allocations: 255.8 kB / 0.6193 GB, free: 13.66 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 (23): * Single equations (assignments): 22 * 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.0008235/0.6583, allocations: 371.1 kB / 0.6197 GB, free: 13.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.6595, allocations: 375.8 kB / 0.62 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.6596, allocations: 4.812 kB / 0.6201 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006803/0.6602, allocations: 159.8 kB / 0.6202 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.6616, allocations: 279.9 kB / 0.6205 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.6637, allocations: 1.062 MB / 0.6215 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.6642, allocations: 0.8473 MB / 0.6223 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008539/0.6651, allocations: 183.6 kB / 0.6225 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.6653, allocations: 79.39 kB / 0.6226 GB, free: 10.27 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6653, allocations: 0 / 0.6226 GB, free: 10.27 MB / 494.1 MB Notification: Performance of Templates: time 0.2273/0.8926, allocations: 12.94 MB / 0.6352 GB, free: 157.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) Environment - environmentSimulation: