Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009184/0.0009184, allocations: 94.56 kB / 17.35 MB, free: 6.375 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.001009/0.001009, allocations: 180.3 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1664/0.1664, allocations: 44.24 MB / 337.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002811, allocations: 8.812 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08704/0.08734, allocations: 61.92 MB / 472.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.01592/0.1033, allocations: 16.99 MB / 489.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00529/0.1086, allocations: 4.484 MB / 493.8 MB, free: 7.715 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005267/0.1092, allocations: 15.88 kB / 493.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006931/0.1099, allocations: 246.6 kB / 494.1 MB, free: 7.457 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.1115, allocations: 0.6958 MB / 494.8 MB, free: 6.758 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.1135, allocations: 0.8558 MB / 495.6 MB, free: 5.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001765/0.1152, allocations: 1.879 MB / 497.5 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005825/0.1158, allocations: 361.3 kB / 497.9 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008674/0.1167, allocations: 0.494 MB / 498.4 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006283/0.1174, allocations: 454 kB / 498.8 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.897e-05/0.1175, allocations: 24 kB / 498.8 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.1185, allocations: 0.6319 MB / 499.5 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.1187, allocations: 139.4 kB / 499.6 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003826/0.1191, allocations: 356 kB / 500 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.1204, allocations: 1.075 MB / 0.4893 GB, free: 0.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1204, allocations: 0 / 0.4893 GB, free: 0.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1204, allocations: 0 / 0.4893 GB, free: 0.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.1205, allocations: 0 / 0.4893 GB, free: 0.5 MB / 366.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.001331/0.1218, allocations: 0.8844 MB / 0.4901 GB, free: 15.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.1218, allocations: 12.03 kB / 0.4902 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.122, allocations: 86.7 kB / 0.4902 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003096/0.1223, allocations: 80.17 kB / 0.4903 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005864/0.1229, allocations: 485.6 kB / 0.4908 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.1229, allocations: 29.38 kB / 0.4908 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.123, allocations: 56.11 kB / 0.4909 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009086/0.1239, allocations: 0.6572 MB / 0.4915 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.1239, allocations: 7.984 kB / 0.4915 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.688e-05/0.124, allocations: 20 kB / 0.4915 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.124, allocations: 15.94 kB / 0.4915 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007366/0.1247, allocations: 0.5308 MB / 0.4921 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/0.128, allocations: 3.089 MB / 0.4951 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/0.1286, allocations: 242.6 kB / 0.4953 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.1288, allocations: 149 kB / 0.4955 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002522/0.129, allocations: 348.5 kB / 0.4958 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003684/0.1294, allocations: 298.6 kB / 0.4961 GB, free: 9.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.433e-06/0.1294, allocations: 4 kB / 0.4961 GB, free: 9.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008727/0.1303, allocations: 0.5355 MB / 0.4966 GB, free: 8.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.1304, allocations: 294.7 kB / 0.4969 GB, free: 8.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005624/0.131, allocations: 0.5614 MB / 0.4974 GB, free: 7.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.131, allocations: 29.7 kB / 0.4975 GB, free: 7.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.1313, allocations: 335 kB / 0.4978 GB, free: 7.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/0.1313, allocations: 94.75 kB / 0.4979 GB, free: 7.145 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.337e-05/0.1314, allocations: 41.7 kB / 0.4979 GB, free: 7.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1316, allocations: 370.8 kB / 0.4983 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.1318, allocations: 165 kB / 0.4984 GB, free: 6.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.1322, allocations: 389.5 kB / 0.4988 GB, free: 6.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006131/0.1328, allocations: 0.5504 MB / 0.4993 GB, free: 5.449 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1328, allocations: 4 kB / 0.4993 GB, free: 5.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009339/0.1338, allocations: 0.6461 MB / 0.5 GB, free: 4.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/0.1339, allocations: 281.5 kB / 0.5002 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.134, allocations: 8 kB / 0.5002 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.134, allocations: 8 kB / 0.5002 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.1353, allocations: 199.7 kB / 0.5004 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003952/0.1357, allocations: 0.621 MB / 0.501 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/0.1361, allocations: 87.3 kB / 0.5011 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.736e-05/0.1362, allocations: 27.98 kB / 0.5012 GB, free: 3.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.1362, allocations: 4 kB / 0.5012 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007997/0.137, allocations: 0.5594 MB / 0.5017 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.137, allocations: 7.938 kB / 0.5017 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.1371, allocations: 11.94 kB / 0.5017 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.1374, allocations: 112.6 kB / 0.5018 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.1374, allocations: 11.94 kB / 0.5018 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.1378, allocations: 67.42 kB / 0.5019 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/0.1379, allocations: 39.92 kB / 0.5019 GB, free: 2.645 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.0002714/0.1381, allocations: 302.6 kB / 0.5022 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.673e-05/0.1382, allocations: 63.28 kB / 0.5023 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.1395, allocations: 0.7792 MB / 0.5031 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.1395, allocations: 7.984 kB / 0.5031 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1395, allocations: 0 / 0.5031 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1395, allocations: 3.984 kB / 0.5031 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005395/0.14, allocations: 0.5403 MB / 0.5036 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.1401, allocations: 0 / 0.5036 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005929/0.1407, allocations: 123.8 kB / 0.5037 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.1407, allocations: 7.938 kB / 0.5037 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.1407, allocations: 12 kB / 0.5037 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000275/0.141, allocations: 0.5937 MB / 0.5043 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.141, allocations: 4.094 kB / 0.5043 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1661/0.3071, allocations: 0.5511 MB / 0.5049 GB, free: 49.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.3074, allocations: 208.7 kB / 0.505 GB, free: 49.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.529e-05/0.3075, allocations: 12.42 kB / 0.5051 GB, free: 49.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.3079, allocations: 31.31 kB / 0.5051 GB, free: 49.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.3079, allocations: 28.89 kB / 0.5051 GB, free: 49.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.308, allocations: 17.98 kB / 0.5051 GB, free: 49.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004875/0.3085, allocations: 415.8 kB / 0.5055 GB, free: 49.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3085, allocations: 0 / 0.5055 GB, free: 49.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001096/0.3096, allocations: 423.4 kB / 0.5059 GB, free: 49.07 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.001441/0.311, allocations: 1.34 MB / 0.5072 GB, free: 48.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002293/0.3133, allocations: 0.9668 MB / 0.5082 GB, free: 48.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.3134, allocations: 1.094 kB / 0.5082 GB, free: 48.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009193/0.3143, allocations: 386.4 kB / 0.5086 GB, free: 48.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.3156, allocations: 276.5 kB / 0.5088 GB, free: 48.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006068/0.3217, allocations: 5.55 MB / 0.5142 GB, free: 45.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.322, allocations: 0.8916 MB / 0.5151 GB, free: 44.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006635/0.3227, allocations: 212.7 kB / 0.5153 GB, free: 44.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.3229, allocations: 233 kB / 0.5155 GB, free: 44.54 MB / 382.1 MB Notification: Performance of SimCode: time 6.12e-07/0.323, allocations: 2.781 kB / 0.5155 GB, free: 44.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.3533, allocations: 20.28 MB / 0.5353 GB, free: 32.08 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.3535, allocations: 295.9 kB / 0.5356 GB, free: 31.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.12/2.473, allocations: 0 / 0.5356 GB, free: 31.71 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe 2>&1)