Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001026/0.001026, 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.0009997/0.0009996, 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.275/1.275, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.2752/0.2752, allocations: 39.99 MB / 310.4 MB, free: 9.953 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.0005573/0.0005573, allocations: 16 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1014, allocations: 57.95 MB / 436.8 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.01349/0.1149, allocations: 14.63 MB / 451.4 MB, free: 3.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004825/0.1198, allocations: 3.828 MB / 455.2 MB, free: 68 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003908/0.1202, allocations: 19.81 kB / 455.2 MB, free: 48 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1652/0.2853, allocations: 217.7 kB / 455.5 MB, free: 34.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.2869, allocations: 0.6225 MB / 456.1 MB, free: 34.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.2889, allocations: 0.7684 MB / 456.8 MB, free: 34.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.2903, allocations: 0.8521 MB / 457.7 MB, free: 34.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005455/0.2909, allocations: 360.5 kB / 458 MB, free: 34.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007289/0.2916, allocations: 462.8 kB / 458.5 MB, free: 34.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000418/0.292, allocations: 327.8 kB / 458.8 MB, free: 34.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.836e-05/0.2921, allocations: 26.5 kB / 458.8 MB, free: 34.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.2932, allocations: 0.5126 MB / 459.4 MB, free: 34.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.2933, allocations: 132.8 kB / 459.5 MB, free: 34.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.2935, allocations: 150.7 kB / 459.6 MB, free: 34.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000788/0.2943, allocations: 0.7526 MB / 460.4 MB, free: 34.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2943, allocations: 0 / 460.4 MB, free: 34.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2943, allocations: 2.906 kB / 460.4 MB, free: 34.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.2943, allocations: 0 / 460.4 MB, free: 34.55 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.001182/0.2955, allocations: 0.8896 MB / 461.3 MB, free: 33.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.2955, allocations: 9.344 kB / 461.3 MB, free: 33.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002841/0.2958, allocations: 81.83 kB / 461.4 MB, free: 33.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.2964, allocations: 474.7 kB / 461.8 MB, free: 33.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.2964, allocations: 30.47 kB / 461.9 MB, free: 33.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.2965, allocations: 42.94 kB / 461.9 MB, free: 33.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008275/0.2973, allocations: 0.6483 MB / 462.6 MB, free: 33.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.2973, allocations: 7.375 kB / 462.6 MB, free: 33.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/0.2974, allocations: 23.66 kB / 462.6 MB, free: 33.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.2974, allocations: 9.719 kB / 462.6 MB, free: 33.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006346/0.298, allocations: 0.5314 MB / 463.1 MB, free: 33.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/0.3007, allocations: 3.166 MB / 466.3 MB, free: 31.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.301, allocations: 228.4 kB / 466.5 MB, free: 31.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/0.3012, allocations: 344.2 kB / 466.8 MB, free: 31.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/0.3016, allocations: 298.5 kB / 467.1 MB, free: 31.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.074e-06/0.3016, allocations: 0 / 467.1 MB, free: 31.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008212/0.3024, allocations: 0.6159 MB / 467.8 MB, free: 30.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.3025, allocations: 300.7 kB / 468 MB, free: 30.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004524/0.3029, allocations: 0.5452 MB / 468.6 MB, free: 30.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.303, allocations: 32.83 kB / 468.6 MB, free: 30.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.3032, allocations: 333 kB / 469 MB, free: 30.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.3032, allocations: 94.73 kB / 469 MB, free: 30.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.3032, allocations: 10.5 kB / 469.1 MB, free: 30.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.545e-05/0.3033, allocations: 365.1 kB / 469.4 MB, free: 29.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.3035, allocations: 163.3 kB / 469.6 MB, free: 29.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.3038, allocations: 382.7 kB / 469.9 MB, free: 29.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.3042, allocations: 239 kB / 470.2 MB, free: 29.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3042, allocations: 3.188 kB / 470.2 MB, free: 29.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000775/0.3049, allocations: 0.6362 MB / 470.8 MB, free: 29.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003383/0.3053, allocations: 2.129 MB / 472.9 MB, free: 27.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.629e-06/0.3053, allocations: 5.828 kB / 473 MB, free: 27.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.3053, allocations: 9.719 kB / 473 MB, free: 27.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.3066, allocations: 199 kB / 473.2 MB, free: 27.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003015/0.3069, allocations: 0.6206 MB / 473.8 MB, free: 26.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.3074, allocations: 83.42 kB / 473.9 MB, free: 26.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/0.3074, allocations: 31.06 kB / 473.9 MB, free: 26.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.3075, allocations: 7.172 kB / 473.9 MB, free: 26.52 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007042/0.3082, allocations: 0.5592 MB / 474.5 MB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3082, allocations: 6.531 kB / 474.5 MB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.703e-06/0.3082, allocations: 6.062 kB / 474.5 MB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.3085, allocations: 114.4 kB / 474.6 MB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.3085, allocations: 13.94 kB / 474.6 MB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.3089, allocations: 71.77 kB / 474.7 MB, free: 26.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.309, allocations: 26.66 kB / 474.7 MB, free: 26.45 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 ($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 (56): * Single equations (assignments): 54 * 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.000283/0.3092, allocations: 304.8 kB / 475 MB, free: 26.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/0.3093, allocations: 67.52 kB / 475.1 MB, free: 26.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.3104, allocations: 0.7868 MB / 475.8 MB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.3104, allocations: 6.703 kB / 475.8 MB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3105, allocations: 0 / 475.8 MB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3105, allocations: 0 / 475.8 MB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.3109, allocations: 0.5389 MB / 476.4 MB, free: 25.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.311, allocations: 0 / 476.4 MB, free: 25.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005706/0.3115, allocations: 126.9 kB / 476.5 MB, free: 25.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3115, allocations: 0 / 476.5 MB, free: 25.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.3116, allocations: 17.03 kB / 476.5 MB, free: 25.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001946/0.3118, allocations: 0.5931 MB / 477.1 MB, free: 25.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3118, allocations: 0 / 477.1 MB, free: 25.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/0.3124, allocations: 0.5568 MB / 477.7 MB, free: 25.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.3126, allocations: 224.6 kB / 477.9 MB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.034e-05/0.3127, allocations: 15.8 kB / 477.9 MB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.313, allocations: 19.03 kB / 477.9 MB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.3131, allocations: 29.42 kB / 478 MB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.3131, allocations: 15.22 kB / 478 MB, free: 24.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003528/0.3135, allocations: 415.3 kB / 478.4 MB, free: 24.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3135, allocations: 0.6562 kB / 478.4 MB, free: 24.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001026/0.3145, allocations: 417.2 kB / 478.8 MB, free: 24.82 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 (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.0007117/0.3152, allocations: 338.5 kB / 479.1 MB, free: 24.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002269/0.3175, allocations: 0.9682 MB / 480.1 MB, free: 24.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3175, allocations: 3.844 kB / 480.1 MB, free: 24.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008517/0.3184, allocations: 385 kB / 480.5 MB, free: 24.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.3195, allocations: 264.6 kB / 480.7 MB, free: 24.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.3211, allocations: 1.283 MB / 482 MB, free: 23.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.3214, allocations: 0.901 MB / 482.9 MB, free: 23.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006291/0.322, allocations: 220.4 kB / 483.1 MB, free: 23.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.3222, allocations: 68.7 kB / 483.2 MB, free: 23.06 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3222, allocations: 0 / 483.2 MB, free: 23.06 MB / 382.1 MB Notification: Performance of Templates: time 0.02245/0.3446, allocations: 14.18 MB / 497.4 MB, free: 21.76 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe 2>&1) Environment - environmentSimulation: