Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_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.001209/0.001209, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001816/0.001816, allocations: 168.7 kB / 15.95 MB, free: 204 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.704/1.704, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.3971/0.3971, allocations: 40.01 MB / 310.4 MB, free: 9.816 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.0006365/0.000637, allocations: 16 kB / 378.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1565, allocations: 57.97 MB / 436.8 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.509/0.6656, allocations: 170.9 MB / 0.5935 GB, free: 9.055 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.676, allocations: 6.609 MB / 0.6 GB, free: 2.43 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007275/0.6768, allocations: 19.88 kB / 0.6 GB, free: 2.41 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.6779, allocations: 262.3 kB / 0.6002 GB, free: 2.152 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.006426/0.6843, allocations: 1.913 MB / 0.6021 GB, free: 252 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002398/0.6867, allocations: 0.7505 MB / 0.6029 GB, free: 15.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002638/0.6894, allocations: 1.89 MB / 0.6047 GB, free: 13.61 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005828/0.69, allocations: 356 kB / 0.605 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.6915, allocations: 0.7278 MB / 0.6057 GB, free: 12.54 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006778/0.6922, allocations: 498.2 kB / 0.6062 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.15e-05/0.6923, allocations: 31.94 kB / 0.6063 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003021/0.6953, allocations: 1.233 MB / 0.6075 GB, free: 10.78 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.6955, allocations: 139.5 kB / 0.6076 GB, free: 10.64 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.6957, allocations: 157.4 kB / 0.6077 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.6973, allocations: 1.193 MB / 0.6089 GB, free: 9.289 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.6973, allocations: 0 / 0.6089 GB, free: 9.289 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6973, allocations: 0 / 0.6089 GB, free: 9.289 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.6974, allocations: 0 / 0.6089 GB, free: 9.289 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.001979/0.6993, allocations: 0.9824 MB / 0.6099 GB, free: 8.258 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.6994, allocations: 8.031 kB / 0.6099 GB, free: 8.25 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.7005, allocations: 163.1 kB / 0.61 GB, free: 8.09 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007016/0.7012, allocations: 484.7 kB / 0.6105 GB, free: 7.574 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.7013, allocations: 29 kB / 0.6105 GB, free: 7.547 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.446e-05/0.7013, allocations: 46.12 kB / 0.6106 GB, free: 7.504 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.7025, allocations: 0.64 MB / 0.6112 GB, free: 6.816 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.7025, allocations: 0 / 0.6112 GB, free: 6.816 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/0.7026, allocations: 27.94 kB / 0.6112 GB, free: 6.789 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.7026, allocations: 16 kB / 0.6112 GB, free: 6.773 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008591/0.7035, allocations: 499.5 kB / 0.6117 GB, free: 6.285 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.00311/0.7066, allocations: 2.668 MB / 0.6143 GB, free: 3.43 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/0.7072, allocations: 318.7 kB / 0.6146 GB, free: 3.109 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.7075, allocations: 164.9 kB / 0.6148 GB, free: 2.945 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001445/0.709, allocations: 1.315 MB / 0.6161 GB, free: 1.414 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.709, allocations: 46.55 kB / 0.6161 GB, free: 1.359 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 1.913e-06/0.709, allocations: 0 / 0.6161 GB, free: 1.359 MB / 478.1 MB Notification: Performance of matching and sorting (n=35): time 0.001541/0.7106, allocations: 0.7054 MB / 0.6168 GB, free: 0.625 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.7107, allocations: 158.2 kB / 0.6169 GB, free: 444 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006825/0.7114, allocations: 0.5184 MB / 0.6174 GB, free: 15.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.7115, allocations: 33.7 kB / 0.6175 GB, free: 15.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.7117, allocations: 291.7 kB / 0.6178 GB, free: 15.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.7119, allocations: 134.1 kB / 0.6179 GB, free: 15.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.7119, allocations: 8 kB / 0.6179 GB, free: 15.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.7121, allocations: 362.8 kB / 0.6182 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.7124, allocations: 149.1 kB / 0.6184 GB, free: 14.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.7128, allocations: 318.9 kB / 0.6187 GB, free: 14.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.7131, allocations: 192.9 kB / 0.6189 GB, free: 14.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.7131, allocations: 4 kB / 0.6189 GB, free: 14.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000932/0.7141, allocations: 0.5635 MB / 0.6194 GB, free: 13.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.7141, allocations: 8 kB / 0.6194 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.7141, allocations: 4 kB / 0.6194 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.7156, allocations: 293.1 kB / 0.6197 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.716, allocations: 119.8 kB / 0.6198 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004573/0.7164, allocations: 0.5874 MB / 0.6204 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.7169, allocations: 71.42 kB / 0.6205 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-05/0.7169, allocations: 55.92 kB / 0.6205 GB, free: 12.62 MB / 494.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.0002655/0.7172, allocations: 189.7 kB / 0.6207 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.7173, allocations: 63.3 kB / 0.6208 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.719, allocations: 0.7506 MB / 0.6215 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.719, allocations: 8 kB / 0.6215 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.719, allocations: 0 / 0.6215 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.719, allocations: 3.984 kB / 0.6215 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.7205, allocations: 1.011 MB / 0.6225 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.7206, allocations: 0 / 0.6225 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.7208, allocations: 51.91 kB / 0.6225 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002956/0.7237, allocations: 0.5394 MB / 0.6231 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.7238, allocations: 8 kB / 0.6231 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005409/0.7243, allocations: 0.6031 MB / 0.6237 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7243, allocations: 0 / 0.6237 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008618/0.7252, allocations: 0.4928 MB / 0.6241 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.7256, allocations: 172.2 kB / 0.6243 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.587e-05/0.7257, allocations: 11.94 kB / 0.6243 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/0.7261, allocations: 27.98 kB / 0.6244 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.026e-05/0.7262, allocations: 27.92 kB / 0.6244 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.7263, allocations: 19.98 kB / 0.6244 GB, free: 8.449 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006291/0.7269, allocations: 410.8 kB / 0.6248 GB, free: 8.051 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.7269, allocations: 0 / 0.6248 GB, free: 8.051 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001364/0.7283, allocations: 339.7 kB / 0.6251 GB, free: 7.719 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.001296/0.7296, allocations: 466.5 kB / 0.6256 GB, free: 7.258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.7306, allocations: 371.8 kB / 0.6259 GB, free: 6.898 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.7306, allocations: 0 / 0.6259 GB, free: 6.898 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.731, allocations: 155.8 kB / 0.6261 GB, free: 6.746 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.7326, allocations: 338.2 kB / 0.6264 GB, free: 6.418 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.7346, allocations: 1.119 MB / 0.6275 GB, free: 5.254 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/0.7352, allocations: 0.8675 MB / 0.6283 GB, free: 4.359 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009789/0.7362, allocations: 208.9 kB / 0.6285 GB, free: 4.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.7365, allocations: 87.36 kB / 0.6286 GB, free: 4.074 MB / 494.1 MB Notification: Performance of SimCode: time 7.21e-07/0.7365, allocations: 0 / 0.6286 GB, free: 4.074 MB / 494.1 MB Notification: Performance of Templates: time 0.4364/1.173, allocations: 15.95 MB / 0.6442 GB, free: 62.61 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) Environment - environmentSimulation: