Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001793/0.001793, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002246/0.002246, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2488/0.2488, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 76.64 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1172, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.004784/0.1221, allocations: 2.894 MB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004171/0.1263, allocations: 2.581 MB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.1265, allocations: 7.938 kB / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004107/0.127, allocations: 123.4 kB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004262/0.1274, allocations: 226.6 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.1288, allocations: 0.5399 MB / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.1298, allocations: 0.9442 MB / 487.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.13, allocations: 122.2 kB / 487.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004493/0.1305, allocations: 338 kB / 488 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004646/0.1309, allocations: 401.7 kB / 488.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.978e-05/0.131, allocations: 24 kB / 488.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.1326, allocations: 0.9592 MB / 489.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.1328, allocations: 262.7 kB / 489.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004489/0.1333, allocations: 468.6 kB / 490.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.1348, allocations: 1.354 MB / 491.4 MB, free: 9.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.1349, allocations: 7.984 kB / 491.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1349, allocations: 0 / 491.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.1349, allocations: 3.938 kB / 491.4 MB, free: 9.844 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002221/0.1371, allocations: 1.451 MB / 492.9 MB, free: 8.344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1372, allocations: 12.03 kB / 492.9 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001908/0.1374, allocations: 165 kB / 493.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007579/0.1381, allocations: 199.2 kB / 493.3 MB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006838/0.1388, allocations: 0.5222 MB / 493.8 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.363e-05/0.1389, allocations: 73.94 kB / 493.9 MB, free: 7.324 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.139, allocations: 92 kB / 493.9 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/0.1412, allocations: 1.415 MB / 495.4 MB, free: 5.781 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.1412, allocations: 0 / 495.4 MB, free: 5.781 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.278e-05/0.1413, allocations: 40 kB / 495.4 MB, free: 5.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.462e-05/0.1414, allocations: 74.06 kB / 495.5 MB, free: 5.668 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002274/0.1436, allocations: 1.367 MB / 496.8 MB, free: 4.293 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004354/0.148, allocations: 3.082 MB / 499.9 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.1494, allocations: 0.713 MB / 0.4889 GB, free: 368 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006509/0.1501, allocations: 285.4 kB / 0.4892 GB, free: 64 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.802e-05/0.1501, allocations: 24.14 kB / 0.4892 GB, free: 40 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.473e-05/0.1502, allocations: 46.72 kB / 0.4892 GB, free: 15.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.933e-06/0.1502, allocations: 0 / 0.4892 GB, free: 15.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002319/0.1525, allocations: 0.9391 MB / 0.4902 GB, free: 15.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.1527, allocations: 183.9 kB / 0.4903 GB, free: 14.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.1544, allocations: 1.354 MB / 0.4917 GB, free: 13.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.1545, allocations: 33.69 kB / 0.4917 GB, free: 13.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004907/0.155, allocations: 0.5433 MB / 0.4922 GB, free: 12.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.1551, allocations: 114.4 kB / 0.4923 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.1554, allocations: 158.1 kB / 0.4925 GB, free: 12.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1555, allocations: 338 kB / 0.4928 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007268/0.1563, allocations: 301 kB / 0.4931 GB, free: 11.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.1573, allocations: 0.6286 MB / 0.4937 GB, free: 11.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.159, allocations: 0.9673 MB / 0.4946 GB, free: 10.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.1591, allocations: 4 kB / 0.4947 GB, free: 10.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002187/0.1613, allocations: 1.04 MB / 0.4957 GB, free: 8.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.1613, allocations: 10.81 kB / 0.4957 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.1613, allocations: 12 kB / 0.4957 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.1613, allocations: 16 kB / 0.4957 GB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/0.162, allocations: 160.1 kB / 0.4959 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.507e-05/0.162, allocations: 23.92 kB / 0.4959 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007495/0.1628, allocations: 162.3 kB / 0.496 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.007e-05/0.1628, allocations: 44 kB / 0.4961 GB, free: 8.578 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 26 (IN_var_3[6].target,IN_var_3[5].target,IN_var_3[4].target,IN_var_3[3].target,IN_var_3[2].target,IN_var_3[1].target,IN_con_3[6].target,IN_con_3[5].target,IN_con_3[4].target,IN_con_3[3].target,IN_con_3[2].target,IN_con_3[1].target,IN_var_2.target,IN_con_2.target,IN_var_1[6].target,IN_var_1[5].target,IN_var_1[4].target,IN_var_1[3].target,IN_var_1[2].target,IN_var_1[1].target,IN_con_1[6].target,IN_con_1[5].target,IN_con_1[4].target,IN_con_1[3].target,IN_con_1[2].target,IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005584/0.1634, allocations: 371.5 kB / 0.4964 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/0.1637, allocations: 130.3 kB / 0.4966 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.1652, allocations: 0.7625 MB / 0.4973 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.1652, allocations: 4 kB / 0.4973 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.1652, allocations: 0 / 0.4973 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1652, allocations: 4 kB / 0.4973 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.1665, allocations: 0.7141 MB / 0.498 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1665, allocations: 3.938 kB / 0.498 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004494/0.1669, allocations: 99.86 kB / 0.4981 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.1669, allocations: 4 kB / 0.4981 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.167, allocations: 20 kB / 0.4981 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.167, allocations: 7.984 kB / 0.4981 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.167, allocations: 4 kB / 0.4981 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.1688, allocations: 1.157 MB / 0.4993 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.1691, allocations: 203.4 kB / 0.4995 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.1693, allocations: 12 kB / 0.4995 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000614/0.1699, allocations: 31.97 kB / 0.4995 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.17, allocations: 39.95 kB / 0.4995 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.1701, allocations: 19.98 kB / 0.4996 GB, free: 4.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001263/0.1713, allocations: 0.9313 MB / 0.5005 GB, free: 3.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1714, allocations: 0 / 0.5005 GB, free: 3.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001117/0.1725, allocations: 307.9 kB / 0.5008 GB, free: 3.656 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002631/0.1751, allocations: 1.852 MB / 0.5026 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.1769, allocations: 0.7554 MB / 0.5033 GB, free: 1.016 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1769, allocations: 0 / 0.5033 GB, free: 1.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007353/0.1777, allocations: 313.6 kB / 0.5036 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.1792, allocations: 252.7 kB / 0.5039 GB, free: 476 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1896/0.3688, allocations: 12.22 MB / 0.5158 GB, free: 36.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007381/0.3696, allocations: 1.16 MB / 0.5169 GB, free: 35.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009083/0.3705, allocations: 393.3 kB / 0.5173 GB, free: 35.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/0.3709, allocations: 399 kB / 0.5177 GB, free: 35.22 MB / 382.1 MB Notification: Performance of SimCode: time 1.413e-06/0.3709, allocations: 1.062 kB / 0.5177 GB, free: 35.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05219/0.4231, allocations: 27.54 MB / 0.5446 GB, free: 14.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.571/8.994, allocations: 12.83 kB / 0.5446 GB, free: 14.97 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1)