Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007887/0.0007886, 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.0008897/0.0008897, 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.569/1.569, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3521/0.3521, allocations: 38.03 MB / 308.4 MB, free: 10.39 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.1. 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.0005482/0.0005482, allocations: 12 kB / 376.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1309, allocations: 57.52 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4697/0.6007, allocations: 171 MB / 0.5908 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009941/0.6107, allocations: 6.605 MB / 0.5972 GB, free: 6.934 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008221/0.6116, allocations: 19.81 kB / 0.5972 GB, free: 6.914 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009728/0.6126, allocations: 262.4 kB / 0.5975 GB, free: 6.656 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: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.005818/0.6184, allocations: 1.92 MB / 0.5993 GB, free: 4.738 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.6206, allocations: 0.7441 MB / 0.6001 GB, free: 4.004 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002351/0.6229, allocations: 1.883 MB / 0.6019 GB, free: 2.117 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005718/0.6235, allocations: 366.4 kB / 0.6023 GB, free: 1.766 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.625, allocations: 0.7239 MB / 0.603 GB, free: 1.039 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006297/0.6256, allocations: 498.1 kB / 0.6034 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.853e-05/0.6257, allocations: 28 kB / 0.6035 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.6284, allocations: 1.232 MB / 0.6047 GB, free: 15.29 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.6286, allocations: 139.5 kB / 0.6048 GB, free: 15.15 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.6288, allocations: 161.4 kB / 0.605 GB, free: 14.99 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.6303, allocations: 1.181 MB / 0.6061 GB, free: 13.8 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6303, allocations: 0 / 0.6061 GB, free: 13.8 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6303, allocations: 0 / 0.6061 GB, free: 13.8 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.6304, allocations: 0 / 0.6061 GB, free: 13.8 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001745/0.6321, allocations: 0.993 MB / 0.6071 GB, free: 12.77 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.6321, allocations: 8.031 kB / 0.6071 GB, free: 12.76 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.6332, allocations: 163 kB / 0.6072 GB, free: 12.6 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.6338, allocations: 488.6 kB / 0.6077 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.6339, allocations: 29 kB / 0.6077 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/0.634, allocations: 48 kB / 0.6078 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.635, allocations: 0.6408 MB / 0.6084 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.635, allocations: 0 / 0.6084 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.184e-05/0.6351, allocations: 24 kB / 0.6084 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.6351, allocations: 12 kB / 0.6084 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008173/0.6359, allocations: 499.6 kB / 0.6089 GB, free: 10.79 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.002806/0.6387, allocations: 2.672 MB / 0.6115 GB, free: 7.934 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.6394, allocations: 314.8 kB / 0.6118 GB, free: 7.617 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.6396, allocations: 160.8 kB / 0.612 GB, free: 7.457 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/0.6409, allocations: 1.323 MB / 0.6133 GB, free: 5.918 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.6409, allocations: 38.56 kB / 0.6133 GB, free: 5.871 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.465e-06/0.6409, allocations: 0 / 0.6133 GB, free: 5.871 MB / 478.1 MB Notification: Performance of matching and sorting (n=35): time 0.001596/0.6425, allocations: 0.7014 MB / 0.614 GB, free: 5.141 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.6427, allocations: 166.2 kB / 0.6142 GB, free: 4.941 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000654/0.6433, allocations: 0.5106 MB / 0.6147 GB, free: 4.418 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/0.6434, allocations: 37.7 kB / 0.6147 GB, free: 4.375 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.6437, allocations: 307.6 kB / 0.615 GB, free: 4.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.6438, allocations: 118.2 kB / 0.6151 GB, free: 3.953 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.6438, allocations: 8 kB / 0.6151 GB, free: 3.945 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.644, allocations: 362.8 kB / 0.6154 GB, free: 3.582 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.6443, allocations: 145 kB / 0.6156 GB, free: 3.441 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.6446, allocations: 319 kB / 0.6159 GB, free: 3.055 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.645, allocations: 192.9 kB / 0.6161 GB, free: 2.867 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.645, allocations: 3.938 kB / 0.6161 GB, free: 2.863 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008793/0.6459, allocations: 0.5678 MB / 0.6166 GB, free: 2.285 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.6459, allocations: 12.09 kB / 0.6166 GB, free: 2.273 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.6459, allocations: 7.984 kB / 0.6167 GB, free: 2.266 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.6473, allocations: 288.5 kB / 0.6169 GB, free: 1.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.6477, allocations: 119.9 kB / 0.617 GB, free: 1.863 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004052/0.6481, allocations: 0.5914 MB / 0.6176 GB, free: 1.246 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.6484, allocations: 67.36 kB / 0.6177 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/0.6485, allocations: 51.98 kB / 0.6177 GB, free: 1.129 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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.0002315/0.6488, allocations: 194.8 kB / 0.6179 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.866e-05/0.6489, allocations: 66.5 kB / 0.618 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.6504, allocations: 0.7593 MB / 0.6187 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.6504, allocations: 4 kB / 0.6187 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6504, allocations: 0 / 0.6187 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6504, allocations: 0 / 0.6187 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.6517, allocations: 1.004 MB / 0.6197 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.6517, allocations: 0 / 0.6197 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.6519, allocations: 51.91 kB / 0.6198 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002847/0.6548, allocations: 0.5356 MB / 0.6203 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.6548, allocations: 19.61 kB / 0.6203 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004405/0.6553, allocations: 0.5952 MB / 0.6209 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.6553, allocations: 7.953 kB / 0.6209 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007265/0.656, allocations: 0.4928 MB / 0.6214 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.6562, allocations: 172.3 kB / 0.6215 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.152e-05/0.6563, allocations: 8 kB / 0.6215 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.6567, allocations: 27.89 kB / 0.6216 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.6568, allocations: 27.92 kB / 0.6216 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.6568, allocations: 19.98 kB / 0.6216 GB, free: 12.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004844/0.6573, allocations: 414.8 kB / 0.622 GB, free: 12.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6573, allocations: 0 / 0.622 GB, free: 12.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001165/0.6585, allocations: 347.7 kB / 0.6223 GB, free: 12.21 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * 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.001153/0.6596, allocations: 465.9 kB / 0.6228 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008733/0.6605, allocations: 371.6 kB / 0.6231 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6605, allocations: 4 kB / 0.6231 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.6608, allocations: 147.8 kB / 0.6233 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.6625, allocations: 342.5 kB / 0.6236 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.6641, allocations: 1.119 MB / 0.6247 GB, free: 9.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.6646, allocations: 0.8597 MB / 0.6255 GB, free: 8.863 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009071/0.6655, allocations: 221.8 kB / 0.6258 GB, free: 8.648 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.6657, allocations: 75.42 kB / 0.6258 GB, free: 8.574 MB / 494.1 MB Notification: Performance of SimCode: time 7.72e-07/0.6657, allocations: 0 / 0.6258 GB, free: 8.574 MB / 494.1 MB Notification: Performance of Templates: time 0.2344/0.9001, allocations: 15.94 MB / 0.6414 GB, free: 158 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) Environment - environmentSimulation: