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.0009472/0.000948, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.007513/0.007513, allocations: 173.4 kB / 16.27 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.902/1.902, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.383/0.383, allocations: 40 MB / 310.7 MB, free: 9.867 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.0005281/0.0005282, allocations: 12 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1395, allocations: 57.96 MB / 437.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.507/0.6466, allocations: 178.3 MB / 0.6012 GB, free: 1.316 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007724/0.6543, allocations: 3.865 MB / 0.605 GB, free: 13.45 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008295/0.6553, allocations: 19.81 kB / 0.605 GB, free: 13.43 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.6563, allocations: 280.8 kB / 0.6053 GB, free: 13.15 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004821/0.6611, allocations: 1.39 MB / 0.6067 GB, free: 11.77 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002842/0.664, allocations: 0.9403 MB / 0.6076 GB, free: 10.84 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002703/0.6667, allocations: 2 MB / 0.6095 GB, free: 8.832 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005814/0.6673, allocations: 354.7 kB / 0.6099 GB, free: 8.488 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009964/0.6683, allocations: 0.5251 MB / 0.6104 GB, free: 7.961 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006383/0.6689, allocations: 481.9 kB / 0.6108 GB, free: 7.488 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.207e-05/0.669, allocations: 32 kB / 0.6109 GB, free: 7.457 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.6723, allocations: 1.344 MB / 0.6122 GB, free: 6.113 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.6725, allocations: 143.4 kB / 0.6123 GB, free: 5.973 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004591/0.673, allocations: 364 kB / 0.6127 GB, free: 5.609 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002698/0.6757, allocations: 1.628 MB / 0.6143 GB, free: 3.977 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.6757, allocations: 0 / 0.6143 GB, free: 3.977 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.6757, allocations: 0 / 0.6143 GB, free: 3.977 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.6757, allocations: 0 / 0.6143 GB, free: 3.977 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001965/0.6777, allocations: 1.051 MB / 0.6153 GB, free: 2.867 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.6778, allocations: 12.03 kB / 0.6153 GB, free: 2.855 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.6789, allocations: 166.9 kB / 0.6155 GB, free: 2.691 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009101/0.6798, allocations: 0.5869 MB / 0.616 GB, free: 2.062 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.6799, allocations: 40.88 kB / 0.6161 GB, free: 2.023 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.68, allocations: 40 kB / 0.6161 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009634/0.6809, allocations: 0.5945 MB / 0.6167 GB, free: 1.352 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.681, allocations: 0 / 0.6167 GB, free: 1.352 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/0.681, allocations: 24 kB / 0.6167 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.681, allocations: 12 kB / 0.6167 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007285/0.6818, allocations: 459.6 kB / 0.6172 GB, free: 0.8672 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.003228/0.685, allocations: 2.634 MB / 0.6197 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005235/0.6856, allocations: 288 kB / 0.62 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.6858, allocations: 177.2 kB / 0.6202 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/0.6872, allocations: 1.221 MB / 0.6214 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005025/0.6877, allocations: 334 kB / 0.6217 GB, free: 11.81 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 3.717e-06/0.6877, allocations: 3.984 kB / 0.6217 GB, free: 11.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001129/0.6889, allocations: 0.6235 MB / 0.6223 GB, free: 11.17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.689, allocations: 298.7 kB / 0.6226 GB, free: 10.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007092/0.6897, allocations: 0.5665 MB / 0.6231 GB, free: 10.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.006e-05/0.6898, allocations: 33.7 kB / 0.6232 GB, free: 10.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.6901, allocations: 343.3 kB / 0.6235 GB, free: 9.855 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.6902, allocations: 118.4 kB / 0.6236 GB, free: 9.738 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/0.6903, allocations: 41.69 kB / 0.6236 GB, free: 9.691 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.6905, allocations: 378.7 kB / 0.624 GB, free: 9.312 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.6907, allocations: 157 kB / 0.6242 GB, free: 9.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004414/0.6912, allocations: 386.6 kB / 0.6245 GB, free: 8.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007025/0.6919, allocations: 0.5715 MB / 0.6251 GB, free: 8.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6919, allocations: 0 / 0.6251 GB, free: 8.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009737/0.6929, allocations: 0.6542 MB / 0.6257 GB, free: 7.352 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002196/0.6931, allocations: 287.6 kB / 0.626 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.6931, allocations: 4 kB / 0.626 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.557e-05/0.6932, allocations: 12 kB / 0.626 GB, free: 6.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003208/0.6964, allocations: 399.5 kB / 0.6264 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005831/0.697, allocations: 0.6289 MB / 0.627 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005793/0.6976, allocations: 71.52 kB / 0.6271 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.204e-05/0.6977, allocations: 51.98 kB / 0.6271 GB, free: 5.805 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.6977, allocations: 4 kB / 0.6271 GB, free: 5.801 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008867/0.6986, allocations: 0.5484 MB / 0.6277 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.6986, allocations: 8 kB / 0.6277 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.6986, allocations: 8 kB / 0.6277 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.699, allocations: 123.8 kB / 0.6278 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.699, allocations: 11.94 kB / 0.6278 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.6995, allocations: 71.86 kB / 0.6279 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.816e-05/0.6995, allocations: 51.98 kB / 0.6279 GB, free: 4.977 MB / 494.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 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004669/0.7, allocations: 307.9 kB / 0.6282 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.7001, allocations: 67.25 kB / 0.6283 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.7019, allocations: 0.8302 MB / 0.6291 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.702, allocations: 7.938 kB / 0.6291 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.702, allocations: 3.938 kB / 0.6291 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.702, allocations: 0 / 0.6291 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003501/0.7055, allocations: 2.964 MB / 0.632 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.7055, allocations: 0 / 0.632 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.7067, allocations: 199.7 kB / 0.6322 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.7067, allocations: 4 kB / 0.6322 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.7068, allocations: 19.98 kB / 0.6322 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.278/0.9848, allocations: 0.6022 MB / 0.6328 GB, free: 156.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/0.9849, allocations: 2.969 kB / 0.6328 GB, free: 156.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.9861, allocations: 0.6709 MB / 0.6335 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.9864, allocations: 158.1 kB / 0.6336 GB, free: 156.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.9865, allocations: 17.25 kB / 0.6336 GB, free: 156.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004005/0.9869, allocations: 30.27 kB / 0.6337 GB, free: 156.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/0.987, allocations: 39.53 kB / 0.6337 GB, free: 156.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.9871, allocations: 33.59 kB / 0.6337 GB, free: 156.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004877/0.9876, allocations: 440.3 kB / 0.6341 GB, free: 156.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.9876, allocations: 0 / 0.6341 GB, free: 156.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00144/0.989, allocations: 0.5094 MB / 0.6346 GB, free: 156.4 MB / 494.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001148/0.9902, allocations: 0.5209 MB / 0.6352 GB, free: 156.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005556/0.9958, allocations: 1.248 MB / 0.6364 GB, free: 156.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.178e-06/0.9958, allocations: 3.281 kB / 0.6364 GB, free: 156.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.9974, allocations: 446.2 kB / 0.6368 GB, free: 156.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.9996, allocations: 335.9 kB / 0.6371 GB, free: 156.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/1.001, allocations: 1.328 MB / 0.6384 GB, free: 155.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/1.002, allocations: 0.8921 MB / 0.6393 GB, free: 154.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001309/1.003, allocations: 314.7 kB / 0.6396 GB, free: 154.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/1.003, allocations: 100.2 kB / 0.6397 GB, free: 154.8 MB / 494.1 MB Notification: Performance of SimCode: time 6.61e-07/1.003, allocations: 0 / 0.6397 GB, free: 154.8 MB / 494.1 MB Notification: Performance of Templates: time 0.02898/1.032, allocations: 17.96 MB / 0.6572 GB, free: 153.2 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: