Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002613/0.002619, allocations: 367.4 kB / 15.97 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.717/3.717, allocations: 388.9 MB / 405.6 MB, free: 47.87 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003577/0.003577, allocations: 220.8 kB / 451 MB, free: 2.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7161/0.7161, allocations: 80.01 MB / 0.5627 GB, free: 35.34 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.0004755, allocations: 12 kB / 0.6265 GB, free: 1.906 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4157, allocations: 54.86 MB / 0.6801 GB, free: 41.42 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.2525/0.6682, allocations: 166 MB / 0.8422 GB, free: 9.262 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00805/0.6763, allocations: 3.54 MB / 0.8457 GB, free: 5.723 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007195/0.6771, allocations: 23.81 kB / 0.8457 GB, free: 5.699 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.6782, allocations: 234.5 kB / 0.8459 GB, free: 5.469 MB / 458.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005723/0.6839, allocations: 1.432 MB / 0.8473 GB, free: 4.035 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.6871, allocations: 0.717 MB / 0.848 GB, free: 3.324 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003201/0.6903, allocations: 1.731 MB / 0.8497 GB, free: 1.586 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007921/0.6912, allocations: 337.1 kB / 0.85 GB, free: 1.254 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3765/1.068, allocations: 0.4925 MB / 0.8505 GB, free: 7.109 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/1.069, allocations: 443.9 kB / 0.8509 GB, free: 7.109 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000221/1.069, allocations: 28.25 kB / 0.8509 GB, free: 7.109 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004435/1.074, allocations: 1.211 MB / 0.8521 GB, free: 7.109 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004395/1.074, allocations: 135.6 kB / 0.8523 GB, free: 7.109 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003873/1.075, allocations: 151.9 kB / 0.8524 GB, free: 7.078 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003516/1.078, allocations: 1.124 MB / 0.8535 GB, free: 7.047 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/1.078, allocations: 0.5156 kB / 0.8535 GB, free: 7.047 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.078, allocations: 0 / 0.8535 GB, free: 7.047 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.172e-05/1.078, allocations: 2.906 kB / 0.8535 GB, free: 7.047 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003406/1.082, allocations: 1.061 MB / 0.8545 GB, free: 6.402 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/1.082, allocations: 9 kB / 0.8545 GB, free: 6.402 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/1.083, allocations: 157.4 kB / 0.8547 GB, free: 6.367 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/1.085, allocations: 0.5838 MB / 0.8553 GB, free: 6.117 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.72e-05/1.085, allocations: 38.09 kB / 0.8553 GB, free: 6.117 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/1.085, allocations: 39.84 kB / 0.8553 GB, free: 6.117 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/1.087, allocations: 0.5758 MB / 0.8559 GB, free: 5.996 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/1.087, allocations: 7.266 kB / 0.8559 GB, free: 5.996 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.813e-05/1.087, allocations: 16.56 kB / 0.8559 GB, free: 5.996 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/1.087, allocations: 14.69 kB / 0.8559 GB, free: 5.992 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/1.089, allocations: 452.7 kB / 0.8564 GB, free: 5.988 MB / 458.7 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.005499/1.094, allocations: 2.568 MB / 0.8589 GB, free: 20.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008397/1.095, allocations: 271.8 kB / 0.8591 GB, free: 20.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004399/1.095, allocations: 170.1 kB / 0.8593 GB, free: 20.39 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002008/1.097, allocations: 1.225 MB / 0.8605 GB, free: 19.35 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007429/1.098, allocations: 266.5 kB / 0.8607 GB, free: 19.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 4.879e-06/1.098, allocations: 0 / 0.8607 GB, free: 19.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.001597/1.1, allocations: 0.5527 MB / 0.8613 GB, free: 19.17 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.956e-05/1.1, allocations: 162.4 kB / 0.8614 GB, free: 18.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009096/1.101, allocations: 0.4924 MB / 0.8619 GB, free: 18.86 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/1.101, allocations: 30.27 kB / 0.862 GB, free: 18.83 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/1.101, allocations: 355.5 kB / 0.8623 GB, free: 18.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/1.101, allocations: 114.6 kB / 0.8624 GB, free: 18.57 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/1.102, allocations: 14.84 kB / 0.8624 GB, free: 18.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/1.102, allocations: 368.2 kB / 0.8628 GB, free: 18.26 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004252/1.102, allocations: 148.7 kB / 0.8629 GB, free: 18.26 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005604/1.103, allocations: 392.4 kB / 0.8633 GB, free: 17.96 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005825/1.103, allocations: 236 kB / 0.8635 GB, free: 17.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.103, allocations: 2.438 kB / 0.8635 GB, free: 17.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001608/1.105, allocations: 0.6449 MB / 0.8641 GB, free: 17.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002944/1.105, allocations: 344.2 kB / 0.8645 GB, free: 17.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/1.105, allocations: 15.11 kB / 0.8645 GB, free: 17.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.616e-05/1.105, allocations: 11.28 kB / 0.8645 GB, free: 17.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006418/1.112, allocations: 428.7 kB / 0.8649 GB, free: 17.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007057/1.113, allocations: 0.6286 MB / 0.8655 GB, free: 16.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008455/1.113, allocations: 69.86 kB / 0.8656 GB, free: 16.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/1.114, allocations: 57.48 kB / 0.8656 GB, free: 16.78 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/1.114, allocations: 4.719 kB / 0.8656 GB, free: 16.78 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001371/1.115, allocations: 0.5547 MB / 0.8662 GB, free: 16.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.115, allocations: 10.19 kB / 0.8662 GB, free: 16.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/1.115, allocations: 14.12 kB / 0.8662 GB, free: 16.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007675/1.116, allocations: 139.6 kB / 0.8663 GB, free: 16.74 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/1.116, allocations: 15.66 kB / 0.8664 GB, free: 16.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/1.117, allocations: 53.75 kB / 0.8664 GB, free: 16.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/1.117, allocations: 57.75 kB / 0.8665 GB, free: 16.71 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006133/1.117, allocations: 313.3 kB / 0.8668 GB, free: 16.49 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/1.117, allocations: 64.81 kB / 0.8668 GB, free: 16.46 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/1.12, allocations: 0.7711 MB / 0.8676 GB, free: 16.31 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/1.12, allocations: 2.25 kB / 0.8676 GB, free: 16.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.12, allocations: 0 / 0.8676 GB, free: 16.31 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/1.121, allocations: 142.4 kB / 0.8677 GB, free: 16.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/1.121, allocations: 11.19 kB / 0.8677 GB, free: 16.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/1.121, allocations: 19.58 kB / 0.8677 GB, free: 16.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/1.121, allocations: 37.47 kB / 0.8678 GB, free: 16.17 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001569/1.123, allocations: 0.6136 MB / 0.8684 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001868/1.125, allocations: 0.8535 MB / 0.8692 GB, free: 15.67 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005225/1.125, allocations: 202.5 kB / 0.8694 GB, free: 15.67 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007302/1.126, allocations: 342.2 kB / 0.8697 GB, free: 15.59 MB / 474.7 MB Notification: Performance of Backend: time 5.01e-07/1.126, allocations: 0.75 kB / 0.8697 GB, free: 15.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01344/1.14, allocations: 1.677 MB / 0.8714 GB, free: 15.29 MB / 474.7 MB Notification: Performance of SimCode: time 0.004382/1.144, allocations: 1.84 MB / 0.8732 GB, free: 14.16 MB / 474.7 MB Notification: Performance of Templates: time 0.04613/1.19, allocations: 16.83 MB / 0.8896 GB, free: 10.38 MB / 474.7 MB