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.HelicalPipe.kc_turbulent.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.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001409/0.001409, 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.001313/0.001313, 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.484/1.484, 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.2282/0.2282, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.002298/0.002298, allocations: 88.72 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1146, allocations: 62.46 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003524/0.1182, allocations: 2.129 MB / 482.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.1201, allocations: 1.211 MB / 483.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.962e-05/0.1202, allocations: 0 / 483.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.1205, allocations: 75.53 kB / 483.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1208, allocations: 91.44 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000496/0.1213, allocations: 179.3 kB / 483.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004908/0.1218, allocations: 438 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.902e-05/0.1219, allocations: 40.72 kB / 484.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.1221, allocations: 163.1 kB / 484.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.1224, allocations: 187.1 kB / 484.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.1224, allocations: 12 kB / 484.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004258/0.1229, allocations: 223.7 kB / 485 MB, free: 392 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.123, allocations: 91.53 kB / 485 MB, free: 300 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.1232, allocations: 166.8 kB / 485.2 MB, free: 132 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006074/0.1238, allocations: 0.4906 MB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1238, allocations: 0 / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1238, allocations: 0 / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.1238, allocations: 3.938 kB / 485.7 MB, free: 15.63 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001186/0.125, allocations: 0.7079 MB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1251, allocations: 12.03 kB / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.133e-05/0.1251, allocations: 78.72 kB / 486.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003828/0.1255, allocations: 76.42 kB / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.126, allocations: 295.3 kB / 486.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.126, allocations: 33.38 kB / 486.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.107e-05/0.1261, allocations: 40.38 kB / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009876/0.1271, allocations: 0.5739 MB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1271, allocations: 0 / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.1271, allocations: 16 kB / 487.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.892e-05/0.1272, allocations: 24.98 kB / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009024/0.1281, allocations: 431.5 kB / 488 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.1301, allocations: 1.379 MB / 489.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.1307, allocations: 271.6 kB / 489.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.131, allocations: 142.4 kB / 489.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.334e-05/0.1311, allocations: 11.97 kB / 489.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.1311, allocations: 34.67 kB / 489.8 MB, free: 11.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.1312, allocations: 7.938 kB / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001206/0.1324, allocations: 452.8 kB / 490.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.1324, allocations: 115 kB / 490.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005723/0.133, allocations: 0.5017 MB / 490.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.1331, allocations: 25.7 kB / 490.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.1332, allocations: 208.2 kB / 491.1 MB, free: 9.973 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.115e-05/0.1333, allocations: 55.2 kB / 491.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.1334, allocations: 49.7 kB / 491.2 MB, free: 9.863 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1336, allocations: 350.8 kB / 491.5 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.1339, allocations: 127.9 kB / 491.7 MB, free: 9.387 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.1343, allocations: 172.9 kB / 491.8 MB, free: 9.199 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007049/0.135, allocations: 303.7 kB / 492.1 MB, free: 8.887 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.135, allocations: 0 / 492.1 MB, free: 8.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008413/0.1359, allocations: 372.8 kB / 492.5 MB, free: 8.516 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.1359, allocations: 11.92 kB / 492.5 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.018e-05/0.136, allocations: 35.94 kB / 492.5 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.136, allocations: 0 / 492.5 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.1362, allocations: 40.11 kB / 492.6 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.1362, allocations: 7.984 kB / 492.6 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.1365, allocations: 59.36 kB / 492.6 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.1365, allocations: 15.92 kB / 492.7 MB, free: 8.348 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002089/0.1367, allocations: 185.7 kB / 492.8 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.1368, allocations: 43.41 kB / 492.9 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007756/0.1376, allocations: 380.6 kB / 493.3 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.1377, allocations: 4 kB / 493.3 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1377, allocations: 0 / 493.3 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.1377, allocations: 7.984 kB / 493.3 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005636/0.1382, allocations: 361.3 kB / 493.6 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.176e-05/0.1383, allocations: 28 kB / 493.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.1385, allocations: 31.84 kB / 493.7 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.1385, allocations: 11.98 kB / 493.7 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.1385, allocations: 8 kB / 493.7 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1385, allocations: 4 kB / 493.7 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1385, allocations: 0 / 493.7 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009193/0.1394, allocations: 0.5715 MB / 494.3 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.1396, allocations: 120.6 kB / 494.4 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/0.1396, allocations: 4 kB / 494.4 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.1399, allocations: 23.97 kB / 494.4 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/0.14, allocations: 19.92 kB / 494.4 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.1401, allocations: 8 kB / 494.4 MB, free: 6.453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004347/0.1405, allocations: 383 kB / 494.8 MB, free: 6.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1405, allocations: 0 / 494.8 MB, free: 6.086 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005172/0.141, allocations: 115.9 kB / 494.9 MB, free: 5.973 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001359/0.1424, allocations: 1.171 MB / 496.1 MB, free: 4.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009256/0.1433, allocations: 0.5284 MB / 496.6 MB, free: 4.191 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1433, allocations: 0 / 496.6 MB, free: 4.191 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005088/0.1439, allocations: 391.4 kB / 497 MB, free: 3.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006902/0.1446, allocations: 94.14 kB / 497.1 MB, free: 3.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006708/0.1513, allocations: 4.822 MB / 0.4902 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.1518, allocations: 0.8458 MB / 0.491 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.152, allocations: 63.23 kB / 0.491 GB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.1521, allocations: 103.4 kB / 0.4911 GB, free: 13.68 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1521, allocations: 4 kB / 0.4912 GB, free: 13.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03584/0.188, allocations: 11.28 MB / 0.5022 GB, free: 2.598 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.327, allocations: 6.375 kB / 0.5022 GB, free: 2.59 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1)