Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.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.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007315/0.0007316, allocations: 91.06 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.004901/0.004902, allocations: 172.1 kB / 16.26 MB, free: 6.613 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.33/1.33, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.2913/0.2913, allocations: 38.03 MB / 308.8 MB, free: 10.37 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.0005816/0.0005816, allocations: 16.7 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1066, allocations: 57.52 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.01468/0.1213, allocations: 16.99 MB / 451.6 MB, free: 4.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1769/0.2983, allocations: 4.461 MB / 456 MB, free: 33.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008012/0.2992, allocations: 19.06 kB / 456 MB, free: 33.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008396/0.3, allocations: 245.2 kB / 456.3 MB, free: 33.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.3019, allocations: 0.6932 MB / 457 MB, free: 33.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.304, allocations: 0.8622 MB / 457.8 MB, free: 33.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001505/0.3055, allocations: 1.876 MB / 459.7 MB, free: 33.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004029/0.3059, allocations: 358.2 kB / 460.1 MB, free: 33.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006347/0.3066, allocations: 0.4952 MB / 460.6 MB, free: 33.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004327/0.307, allocations: 454.2 kB / 461 MB, free: 33.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.823e-05/0.3071, allocations: 28.5 kB / 461 MB, free: 33.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009474/0.308, allocations: 0.6244 MB / 461.7 MB, free: 33.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.3082, allocations: 141.8 kB / 461.8 MB, free: 33.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.3085, allocations: 353.3 kB / 462.1 MB, free: 33.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008948/0.3094, allocations: 1.061 MB / 463.2 MB, free: 33.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3094, allocations: 0 / 463.2 MB, free: 33.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3094, allocations: 0 / 463.2 MB, free: 33.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.3094, allocations: 3.938 kB / 463.2 MB, free: 33.12 MB / 382.1 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.001186/0.3106, allocations: 0.8836 MB / 464.1 MB, free: 32.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3106, allocations: 6.5 kB / 464.1 MB, free: 32.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/0.3109, allocations: 85.17 kB / 464.2 MB, free: 32.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.3115, allocations: 492.4 kB / 464.7 MB, free: 32.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.3115, allocations: 31.78 kB / 464.7 MB, free: 32.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/0.3116, allocations: 45.62 kB / 464.7 MB, free: 32.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009752/0.3126, allocations: 0.6614 MB / 465.4 MB, free: 32.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.3126, allocations: 6.844 kB / 465.4 MB, free: 32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-05/0.3127, allocations: 25.19 kB / 465.4 MB, free: 32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.3127, allocations: 10 kB / 465.4 MB, free: 32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006377/0.3133, allocations: 0.5292 MB / 466 MB, free: 31.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002797/0.3161, allocations: 3.106 MB / 469.1 MB, free: 30.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.3165, allocations: 225.7 kB / 469.3 MB, free: 30 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.3167, allocations: 156.3 kB / 469.4 MB, free: 29.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002796/0.317, allocations: 341.6 kB / 469.8 MB, free: 29.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003912/0.3174, allocations: 291.8 kB / 470.1 MB, free: 29.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.164e-06/0.3174, allocations: 0 / 470.1 MB, free: 29.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009535/0.3184, allocations: 0.538 MB / 470.6 MB, free: 29.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.3185, allocations: 300.6 kB / 470.9 MB, free: 29.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006569/0.3192, allocations: 0.555 MB / 471.5 MB, free: 28.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.3192, allocations: 33.14 kB / 471.5 MB, free: 28.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/0.3195, allocations: 333.6 kB / 471.8 MB, free: 28.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.756e-05/0.3196, allocations: 93.42 kB / 471.9 MB, free: 28.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.331e-05/0.3197, allocations: 44.52 kB / 471.9 MB, free: 28.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3199, allocations: 369.7 kB / 472.3 MB, free: 28.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.3201, allocations: 162.5 kB / 472.5 MB, free: 28.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.3205, allocations: 392.6 kB / 472.8 MB, free: 28.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006503/0.3212, allocations: 0.5525 MB / 473.4 MB, free: 27.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.3212, allocations: 3.281 kB / 473.4 MB, free: 27.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009242/0.3222, allocations: 0.6433 MB / 474 MB, free: 27.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000166/0.3223, allocations: 284.4 kB / 474.3 MB, free: 27.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3224, allocations: 3.156 kB / 474.3 MB, free: 27.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.3224, allocations: 13.34 kB / 474.3 MB, free: 27.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.3237, allocations: 199.5 kB / 474.5 MB, free: 27.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000334/0.324, allocations: 0.6273 MB / 475.2 MB, free: 26.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004699/0.3245, allocations: 82.97 kB / 475.2 MB, free: 26.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/0.3246, allocations: 29.92 kB / 475.3 MB, free: 26.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/0.3246, allocations: 2.938 kB / 475.3 MB, free: 26.67 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007125/0.3253, allocations: 0.5635 MB / 475.8 MB, free: 26.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3253, allocations: 3.219 kB / 475.8 MB, free: 26.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.3253, allocations: 13.36 kB / 475.9 MB, free: 26.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.3257, allocations: 121.5 kB / 476 MB, free: 26.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3257, allocations: 10.31 kB / 476 MB, free: 26.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/0.326, allocations: 63.55 kB / 476 MB, free: 26.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.3261, allocations: 27.59 kB / 476.1 MB, free: 26.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (56): * Single equations (assignments): 54 * 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.0003084/0.3264, allocations: 305.5 kB / 476.4 MB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.3265, allocations: 63.44 kB / 476.4 MB, free: 26.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.3276, allocations: 0.7932 MB / 477.2 MB, free: 26.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.3276, allocations: 3.188 kB / 477.2 MB, free: 26.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3276, allocations: 3 kB / 477.2 MB, free: 26.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3276, allocations: 0 / 477.2 MB, free: 26.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.3281, allocations: 0.5383 MB / 477.8 MB, free: 25.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3281, allocations: 0 / 477.8 MB, free: 25.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000575/0.3287, allocations: 124.7 kB / 477.9 MB, free: 25.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3287, allocations: 0 / 477.9 MB, free: 25.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.3288, allocations: 22.88 kB / 477.9 MB, free: 25.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002349/0.329, allocations: 0.5961 MB / 478.5 MB, free: 25.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.329, allocations: 0 / 478.5 MB, free: 25.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006852/0.3297, allocations: 0.5596 MB / 479.1 MB, free: 25.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.3299, allocations: 211.2 kB / 479.3 MB, free: 25.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-05/0.33, allocations: 12.19 kB / 479.3 MB, free: 25.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.3303, allocations: 24.36 kB / 479.3 MB, free: 25.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.3304, allocations: 28.38 kB / 479.3 MB, free: 25.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.3305, allocations: 24.73 kB / 479.4 MB, free: 25.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004505/0.3309, allocations: 413.4 kB / 479.8 MB, free: 24.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3309, allocations: 0 / 479.8 MB, free: 24.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001327/0.3323, allocations: 425.5 kB / 480.2 MB, free: 24.9 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.0008886/0.3332, allocations: 337.5 kB / 480.5 MB, free: 24.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00235/0.3355, allocations: 0.9727 MB / 481.5 MB, free: 24.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.3355, allocations: 3.094 kB / 481.5 MB, free: 24.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000865/0.3364, allocations: 385.6 kB / 481.9 MB, free: 24.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.3379, allocations: 277.1 kB / 482.1 MB, free: 24.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.3396, allocations: 1.344 MB / 483.5 MB, free: 23.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.3399, allocations: 0.8936 MB / 484.4 MB, free: 23.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006722/0.3406, allocations: 220.4 kB / 484.6 MB, free: 23.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.3407, allocations: 71.03 kB / 484.7 MB, free: 23.03 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3407, allocations: 0 / 484.7 MB, free: 23.03 MB / 382.1 MB Notification: Performance of Templates: time 0.02407/0.3648, allocations: 14.66 MB / 499.3 MB, free: 21.35 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe 2>&1) Environment - environmentSimulation: