Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.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.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001727/0.001727, allocations: 177.3 kB / 15.94 MB, free: 228 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.769/1.769, allocations: 205.4 MB / 222.1 MB, free: 5.449 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.4381/0.4381, allocations: 38.02 MB / 308.4 MB, free: 10.57 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.0006928/0.0006929, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1437, allocations: 57.51 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.4391/0.5828, allocations: 143.1 MB / 0.5635 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.5929, allocations: 5.761 MB / 0.5692 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007047/0.5937, allocations: 23.81 kB / 0.5692 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000959/0.5946, allocations: 257.3 kB / 0.5694 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004945/0.5996, allocations: 1.395 MB / 0.5708 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.6024, allocations: 0.7581 MB / 0.5715 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001927/0.6043, allocations: 0.9613 MB / 0.5725 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005954/0.6049, allocations: 346.2 kB / 0.5728 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.606, allocations: 0.5023 MB / 0.5733 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004814/0.6065, allocations: 362.5 kB / 0.5736 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.986e-05/0.6065, allocations: 24 kB / 0.5736 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003405/0.6099, allocations: 1.279 MB / 0.5749 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.6102, allocations: 135.5 kB / 0.575 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002462/0.6104, allocations: 161.4 kB / 0.5752 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002288/0.6127, allocations: 1.15 MB / 0.5763 GB, free: 11.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.6128, allocations: 4 kB / 0.5763 GB, free: 11.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.6128, allocations: 0 / 0.5763 GB, free: 11.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.6128, allocations: 0 / 0.5763 GB, free: 11.79 MB / 446.1 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.002137/0.6149, allocations: 1.059 MB / 0.5773 GB, free: 10.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.615, allocations: 12.03 kB / 0.5774 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.6162, allocations: 163 kB / 0.5775 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.6173, allocations: 0.5606 MB / 0.5781 GB, free: 9.898 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.6173, allocations: 29 kB / 0.5781 GB, free: 9.871 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.987e-05/0.6174, allocations: 40 kB / 0.5781 GB, free: 9.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009953/0.6184, allocations: 0.5945 MB / 0.5787 GB, free: 9.203 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.6184, allocations: 0 / 0.5787 GB, free: 9.203 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.855e-05/0.6185, allocations: 20 kB / 0.5787 GB, free: 9.184 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.6185, allocations: 12 kB / 0.5787 GB, free: 9.172 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007157/0.6193, allocations: 463.6 kB / 0.5792 GB, free: 8.715 MB / 446.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.003473/0.6227, allocations: 2.635 MB / 0.5817 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004833/0.6232, allocations: 289.3 kB / 0.582 GB, free: 5.613 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003807/0.6236, allocations: 232.3 kB / 0.5822 GB, free: 5.352 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005732/0.6242, allocations: 342.2 kB / 0.5826 GB, free: 4.988 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.944e-06/0.6242, allocations: 0 / 0.5826 GB, free: 4.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0013/0.6255, allocations: 0.6915 MB / 0.5832 GB, free: 4.266 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.6257, allocations: 290.7 kB / 0.5835 GB, free: 3.914 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006678/0.6264, allocations: 0.5665 MB / 0.5841 GB, free: 3.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.6264, allocations: 33.7 kB / 0.5841 GB, free: 3.301 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.6267, allocations: 335.5 kB / 0.5844 GB, free: 2.969 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.6268, allocations: 118.3 kB / 0.5845 GB, free: 2.852 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.6269, allocations: 12 kB / 0.5846 GB, free: 2.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.627, allocations: 374.8 kB / 0.5849 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.6273, allocations: 153 kB / 0.5851 GB, free: 2.316 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004255/0.6277, allocations: 378.6 kB / 0.5854 GB, free: 1.844 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.6281, allocations: 237.4 kB / 0.5856 GB, free: 1.605 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.6281, allocations: 4 kB / 0.5856 GB, free: 1.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001026/0.6291, allocations: 0.6358 MB / 0.5863 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001483/0.6306, allocations: 2.225 MB / 0.5884 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.6307, allocations: 4 kB / 0.5884 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.6307, allocations: 8 kB / 0.5885 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003113/0.6338, allocations: 407.5 kB / 0.5888 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005148/0.6343, allocations: 0.6249 MB / 0.5895 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005546/0.6349, allocations: 79.41 kB / 0.5895 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.404e-05/0.635, allocations: 51.98 kB / 0.5896 GB, free: 13.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.635, allocations: 4 kB / 0.5896 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009411/0.636, allocations: 0.5541 MB / 0.5901 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/0.636, allocations: 4 kB / 0.5901 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.636, allocations: 8 kB / 0.5901 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.6364, allocations: 123.8 kB / 0.5903 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.6364, allocations: 11.98 kB / 0.5903 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.6368, allocations: 67.89 kB / 0.5903 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.94e-05/0.6369, allocations: 47.98 kB / 0.5904 GB, free: 12.54 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (55): * Single equations (assignments): 53 * 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.0003513/0.6372, allocations: 300.2 kB / 0.5907 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.6373, allocations: 79.09 kB / 0.5907 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.6391, allocations: 0.8386 MB / 0.5916 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.6392, allocations: 4 kB / 0.5916 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.6392, allocations: 0 / 0.5916 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.6392, allocations: 4 kB / 0.5916 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.6411, allocations: 1.616 MB / 0.5931 GB, free: 9.527 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6412, allocations: 4 kB / 0.5931 GB, free: 9.523 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.6423, allocations: 192 kB / 0.5933 GB, free: 9.336 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.6423, allocations: 4 kB / 0.5933 GB, free: 9.332 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/0.6423, allocations: 27.94 kB / 0.5934 GB, free: 9.305 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003812/0.6427, allocations: 0.5977 MB / 0.5939 GB, free: 8.684 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6427, allocations: 0 / 0.5939 GB, free: 8.684 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009047/0.6437, allocations: 0.7583 MB / 0.5947 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.6438, allocations: 144.3 kB / 0.5948 GB, free: 7.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.6439, allocations: 15.98 kB / 0.5948 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.6443, allocations: 35.83 kB / 0.5949 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.425e-05/0.6444, allocations: 35.92 kB / 0.5949 GB, free: 7.594 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.033e-05/0.6445, allocations: 31.98 kB / 0.5949 GB, free: 7.562 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004451/0.6449, allocations: 411.1 kB / 0.5953 GB, free: 7.168 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6449, allocations: 0 / 0.5953 GB, free: 7.168 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001487/0.6464, allocations: 0.5074 MB / 0.5958 GB, free: 6.66 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * 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 Backend phase and start with SimCode phase: time 0.001169/0.6476, allocations: 0.5307 MB / 0.5963 GB, free: 6.125 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005449/0.6531, allocations: 1.234 MB / 0.5975 GB, free: 4.867 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/0.6531, allocations: 4 kB / 0.5975 GB, free: 4.863 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001636/0.6548, allocations: 444.6 kB / 0.598 GB, free: 4.418 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.6564, allocations: 300.4 kB / 0.5983 GB, free: 4.121 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.6584, allocations: 1.264 MB / 0.5995 GB, free: 2.809 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.659, allocations: 0.9036 MB / 0.6004 GB, free: 1.879 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00137/0.6603, allocations: 307.4 kB / 0.6007 GB, free: 1.578 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.6606, allocations: 91.41 kB / 0.6008 GB, free: 1.488 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6606, allocations: 0 / 0.6008 GB, free: 1.488 MB / 462.1 MB Notification: Performance of Templates: time 0.0306/0.6913, allocations: 16.77 MB / 0.6171 GB, free: 0.7578 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe 2>&1) Environment - environmentSimulation: