Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.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.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002753/0.002758, allocations: 364 kB / 15.96 MB, free: 6.203 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 4.122/4.122, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003944/0.003944, allocations: 223.9 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4968/0.4968, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004711, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09519/0.09569, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.02072/0.1165, allocations: 15.95 MB / 0.6957 GB, free: 25.65 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007479/0.124, allocations: 4.123 MB / 0.6997 GB, free: 21.52 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000864/0.1249, allocations: 23.81 kB / 0.6997 GB, free: 21.49 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.126, allocations: 206.7 kB / 0.6999 GB, free: 21.29 MB / 346.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.002593/0.1286, allocations: 0.6682 MB / 0.7006 GB, free: 20.62 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003217/0.1319, allocations: 0.7387 MB / 0.7013 GB, free: 19.89 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002241/0.1342, allocations: 1.595 MB / 0.7028 GB, free: 18.29 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000778/0.135, allocations: 349.1 kB / 0.7032 GB, free: 17.95 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.1364, allocations: 0.4902 MB / 0.7037 GB, free: 17.45 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000858/0.1373, allocations: 418.2 kB / 0.7041 GB, free: 17.04 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.1374, allocations: 24 kB / 0.7041 GB, free: 17.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.1391, allocations: 495.4 kB / 0.7046 GB, free: 16.54 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.1394, allocations: 123.5 kB / 0.7047 GB, free: 16.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.1397, allocations: 153.3 kB / 0.7048 GB, free: 16.26 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.1411, allocations: 0.7405 MB / 0.7055 GB, free: 15.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1411, allocations: 0 / 0.7055 GB, free: 15.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1412, allocations: 3.938 kB / 0.7055 GB, free: 15.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.1412, allocations: 0 / 0.7055 GB, free: 15.51 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.00177/0.143, allocations: 0.8859 MB / 0.7064 GB, free: 14.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.143, allocations: 8.031 kB / 0.7064 GB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004243/0.1435, allocations: 87.08 kB / 0.7065 GB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009595/0.1444, allocations: 492.6 kB / 0.707 GB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.1445, allocations: 29 kB / 0.707 GB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.423e-05/0.1446, allocations: 44 kB / 0.707 GB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.1458, allocations: 0.6378 MB / 0.7077 GB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.1459, allocations: 3.938 kB / 0.7077 GB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.18e-05/0.146, allocations: 24 kB / 0.7077 GB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.146, allocations: 12 kB / 0.7077 GB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.1471, allocations: 0.5152 MB / 0.7082 GB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004555/0.1517, allocations: 3.119 MB / 0.7112 GB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/0.1522, allocations: 215.1 kB / 0.7115 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.1525, allocations: 132 kB / 0.7116 GB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001836/0.1544, allocations: 1.056 MB / 0.7126 GB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003894/0.1548, allocations: 193 kB / 0.7128 GB, free: 7.613 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 3.477e-06/0.1548, allocations: 0 / 0.7128 GB, free: 7.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001022/0.1559, allocations: 396.9 kB / 0.7132 GB, free: 7.215 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.1559, allocations: 166.2 kB / 0.7133 GB, free: 7.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006602/0.1566, allocations: 498.7 kB / 0.7138 GB, free: 6.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.1567, allocations: 33.7 kB / 0.7138 GB, free: 6.484 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.1569, allocations: 362.6 kB / 0.7142 GB, free: 6.125 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.984e-05/0.157, allocations: 90.78 kB / 0.7143 GB, free: 6.035 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.1571, allocations: 12 kB / 0.7143 GB, free: 6.023 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.1572, allocations: 362.8 kB / 0.7146 GB, free: 5.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.1575, allocations: 121 kB / 0.7147 GB, free: 5.539 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/0.1579, allocations: 409.4 kB / 0.7151 GB, free: 5.008 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.1584, allocations: 214.7 kB / 0.7153 GB, free: 4.793 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.1584, allocations: 4 kB / 0.7153 GB, free: 4.789 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001306/0.1597, allocations: 0.602 MB / 0.7159 GB, free: 4.176 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002033/0.1599, allocations: 400.9 kB / 0.7163 GB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.16, allocations: 12 kB / 0.7163 GB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.122e-05/0.16, allocations: 12 kB / 0.7163 GB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/0.1623, allocations: 223.6 kB / 0.7165 GB, free: 3.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004902/0.1629, allocations: 0.621 MB / 0.7172 GB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006917/0.1636, allocations: 79.45 kB / 0.7172 GB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.1637, allocations: 43.94 kB / 0.7173 GB, free: 2.641 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.1637, allocations: 4 kB / 0.7173 GB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001068/0.1648, allocations: 0.5288 MB / 0.7178 GB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.1648, allocations: 16.25 kB / 0.7178 GB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1649, allocations: 15.94 kB / 0.7178 GB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006629/0.1655, allocations: 131.8 kB / 0.7179 GB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.1656, allocations: 19.92 kB / 0.718 GB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005535/0.1661, allocations: 55.53 kB / 0.718 GB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.99e-05/0.1662, allocations: 39.98 kB / 0.7181 GB, free: 1.828 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 61 * 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.0004066/0.1666, allocations: 322.2 kB / 0.7184 GB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.1668, allocations: 55.34 kB / 0.7184 GB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.1686, allocations: 0.6666 MB / 0.7191 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1686, allocations: 7.938 kB / 0.7191 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.1686, allocations: 0 / 0.7191 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.169, allocations: 192.1 kB / 0.7193 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.1691, allocations: 12 kB / 0.7193 GB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.1695, allocations: 15.98 kB / 0.7193 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.1696, allocations: 27.92 kB / 0.7193 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001039/0.1706, allocations: 0.5104 MB / 0.7198 GB, free: 0 / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.2959/0.4666, allocations: 0.6989 MB / 0.7205 GB, free: 45.88 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003807/0.467, allocations: 163.5 kB / 0.7207 GB, free: 45.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006829/0.4677, allocations: 356 kB / 0.721 GB, free: 45.8 MB / 346.7 MB Notification: Performance of Backend: time 1.222e-06/0.4677, allocations: 3.688 kB / 0.721 GB, free: 45.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0049/0.4727, allocations: 1.078 MB / 0.722 GB, free: 45.59 MB / 346.7 MB Notification: Performance of SimCode: time 0.003461/0.4762, allocations: 1.805 MB / 0.7238 GB, free: 44.46 MB / 346.7 MB Notification: Performance of Templates: time 0.03478/0.511, allocations: 12.06 MB / 0.7356 GB, free: 40.94 MB / 346.7 MB