Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0009382/0.0009417, allocations: 98.77 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.0009997/0.0009998, 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.271/1.271, allocations: 205.4 MB / 222.1 MB, free: 5.477 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.2934/0.2934, allocations: 39.99 MB / 310.4 MB, free: 10.07 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.000497/0.0004971, allocations: 15.98 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09669/0.0972, allocations: 57.95 MB / 436.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.2981/0.3954, allocations: 143.1 MB / 0.5663 GB, free: 4.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007476/0.4029, allocations: 5.759 MB / 0.5719 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004243/0.4033, allocations: 19.81 kB / 0.5719 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000729/0.4041, allocations: 258.7 kB / 0.5722 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003261/0.4073, allocations: 1.408 MB / 0.5736 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.4093, allocations: 0.7471 MB / 0.5743 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001594/0.4109, allocations: 0.9691 MB / 0.5752 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005197/0.4114, allocations: 343.1 kB / 0.5756 GB, free: 10.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008581/0.4123, allocations: 0.5062 MB / 0.5761 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005862/0.4129, allocations: 358.5 kB / 0.5764 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.477e-05/0.413, allocations: 28 kB / 0.5764 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.4156, allocations: 1.279 MB / 0.5777 GB, free: 8.824 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.4157, allocations: 131.5 kB / 0.5778 GB, free: 8.695 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.4159, allocations: 157.3 kB / 0.578 GB, free: 8.535 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.4174, allocations: 1.144 MB / 0.5791 GB, free: 7.395 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.4174, allocations: 0 / 0.5791 GB, free: 7.395 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4174, allocations: 4 kB / 0.5791 GB, free: 7.391 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.4175, allocations: 0 / 0.5791 GB, free: 7.391 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.001821/0.4193, allocations: 1.058 MB / 0.5801 GB, free: 6.273 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.4193, allocations: 15.97 kB / 0.5801 GB, free: 6.258 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.4204, allocations: 163 kB / 0.5803 GB, free: 6.098 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008512/0.4213, allocations: 0.5639 MB / 0.5808 GB, free: 5.492 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.4213, allocations: 29 kB / 0.5809 GB, free: 5.465 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.4214, allocations: 43.95 kB / 0.5809 GB, free: 5.422 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008175/0.4222, allocations: 0.5828 MB / 0.5815 GB, free: 4.801 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.4223, allocations: 3.938 kB / 0.5815 GB, free: 4.797 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.013e-05/0.4223, allocations: 24 kB / 0.5815 GB, free: 4.773 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.4223, allocations: 12 kB / 0.5815 GB, free: 4.762 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006495/0.423, allocations: 459.6 kB / 0.5819 GB, free: 4.312 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.002927/0.4259, allocations: 2.643 MB / 0.5845 GB, free: 1.492 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.4264, allocations: 290.6 kB / 0.5848 GB, free: 1.203 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003035/0.4267, allocations: 232.3 kB / 0.585 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004256/0.4271, allocations: 345.1 kB / 0.5854 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.773e-06/0.4272, allocations: 4 kB / 0.5854 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.001013/0.4282, allocations: 0.6837 MB / 0.586 GB, free: 15.85 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.4283, allocations: 290.7 kB / 0.5863 GB, free: 15.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005502/0.4288, allocations: 0.5742 MB / 0.5869 GB, free: 14.92 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/0.4289, allocations: 33.7 kB / 0.5869 GB, free: 14.88 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.4291, allocations: 327.4 kB / 0.5872 GB, free: 14.55 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.071e-05/0.4292, allocations: 114.4 kB / 0.5873 GB, free: 14.44 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.4292, allocations: 12 kB / 0.5873 GB, free: 14.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.4294, allocations: 378.8 kB / 0.5877 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.4296, allocations: 149 kB / 0.5878 GB, free: 13.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.43, allocations: 382.6 kB / 0.5882 GB, free: 13.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.4303, allocations: 233.4 kB / 0.5884 GB, free: 13.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4303, allocations: 0 / 0.5884 GB, free: 13.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009337/0.4313, allocations: 0.6395 MB / 0.589 GB, free: 12.54 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007374/0.432, allocations: 2.217 MB / 0.5912 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.432, allocations: 8 kB / 0.5912 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.4321, allocations: 8 kB / 0.5912 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/0.4351, allocations: 403.5 kB / 0.5916 GB, free: 9.738 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004573/0.4356, allocations: 0.625 MB / 0.5922 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.4361, allocations: 77.09 kB / 0.5923 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.437e-05/0.4362, allocations: 52.09 kB / 0.5923 GB, free: 8.965 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.4362, allocations: 4 kB / 0.5923 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008482/0.4371, allocations: 0.558 MB / 0.5929 GB, free: 8.398 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.4371, allocations: 8 kB / 0.5929 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.946e-06/0.4371, allocations: 8 kB / 0.5929 GB, free: 8.383 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.4375, allocations: 123.8 kB / 0.593 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.4375, allocations: 11.94 kB / 0.593 GB, free: 8.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.4379, allocations: 59.8 kB / 0.5931 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/0.438, allocations: 51.98 kB / 0.5931 GB, free: 8.141 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.0003253/0.4383, allocations: 323 kB / 0.5934 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.951e-05/0.4384, allocations: 63.25 kB / 0.5935 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.44, allocations: 0.8297 MB / 0.5943 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.4401, allocations: 4 kB / 0.5943 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.4401, allocations: 0 / 0.5943 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4401, allocations: 3.984 kB / 0.5943 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.4419, allocations: 1.614 MB / 0.5959 GB, free: 5.129 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.442, allocations: 0 / 0.5959 GB, free: 5.129 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.4431, allocations: 188 kB / 0.5961 GB, free: 4.945 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.4431, allocations: 7.953 kB / 0.5961 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.757e-05/0.4432, allocations: 27.98 kB / 0.5961 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000351/0.4435, allocations: 0.5977 MB / 0.5967 GB, free: 4.289 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4435, allocations: 4.031 kB / 0.5967 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009095/0.4445, allocations: 0.759 MB / 0.5974 GB, free: 3.441 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.4446, allocations: 152.2 kB / 0.5976 GB, free: 3.273 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.4448, allocations: 8 kB / 0.5976 GB, free: 3.266 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.4451, allocations: 31.92 kB / 0.5976 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.4452, allocations: 39.91 kB / 0.5977 GB, free: 3.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/0.4452, allocations: 35.98 kB / 0.5977 GB, free: 3.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004306/0.4457, allocations: 411 kB / 0.5981 GB, free: 2.766 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.804e-06/0.4457, allocations: 0 / 0.5981 GB, free: 2.766 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001345/0.447, allocations: 0.5112 MB / 0.5986 GB, free: 2.254 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.001047/0.4481, allocations: 0.5318 MB / 0.5991 GB, free: 1.719 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005265/0.4534, allocations: 1.235 MB / 0.6003 GB, free: 472 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.4534, allocations: 0 / 0.6003 GB, free: 472 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.455, allocations: 447.8 kB / 0.6007 GB, free: 12 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.4565, allocations: 303.6 kB / 0.601 GB, free: 15.71 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.4582, allocations: 1.257 MB / 0.6023 GB, free: 14.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.4587, allocations: 0.9075 MB / 0.6031 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001316/0.46, allocations: 314.1 kB / 0.6034 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/0.4603, allocations: 91.41 kB / 0.6035 GB, free: 13.09 MB / 478.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4603, allocations: 0 / 0.6035 GB, free: 13.09 MB / 478.1 MB Notification: Performance of Templates: time 0.02528/0.4856, allocations: 16.76 MB / 0.6199 GB, free: 12.37 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe 2>&1) Environment - environmentSimulation: