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_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.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_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.001471/0.001472, 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.001893/0.001893, 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.433/1.433, 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.2475/0.2475, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.002286/0.002286, allocations: 79.64 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1138, allocations: 62.44 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003537/0.1174, allocations: 2.033 MB / 482.3 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.119, allocations: 0.9307 MB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.168e-05/0.119, allocations: 0 / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.1193, allocations: 63.59 kB / 483.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003312/0.1197, allocations: 123.4 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.1199, allocations: 87.66 kB / 483.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.1204, allocations: 386.1 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.479e-05/0.1205, allocations: 44.72 kB / 483.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.1208, allocations: 155.2 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.121, allocations: 187.1 kB / 484.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.1211, allocations: 12 kB / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.1214, allocations: 147.8 kB / 484.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.1215, allocations: 95.53 kB / 484.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.1217, allocations: 158.9 kB / 484.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004999/0.1222, allocations: 430.6 kB / 485 MB, free: 288 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.1222, allocations: 4 kB / 485 MB, free: 284 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1222, allocations: 3.938 kB / 485 MB, free: 280 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1222, allocations: 0 / 485 MB, free: 280 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001049/0.1233, allocations: 0.6575 MB / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1233, allocations: 12.03 kB / 485.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.905e-05/0.1234, allocations: 82.7 kB / 485.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.01e-05/0.1235, allocations: 40.47 kB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.1239, allocations: 279.6 kB / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.1239, allocations: 29.36 kB / 486.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/0.124, allocations: 36.31 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008664/0.1249, allocations: 0.5531 MB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1249, allocations: 0 / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.953e-05/0.1249, allocations: 19.98 kB / 486.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.407e-05/0.125, allocations: 52.89 kB / 486.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.126, allocations: 0.5659 MB / 487.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.1278, allocations: 1.179 MB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006821/0.1285, allocations: 377.5 kB / 488.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.1289, allocations: 136.9 kB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.1289, allocations: 7.969 kB / 489.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.129, allocations: 42.56 kB / 489.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.129, allocations: 0 / 489.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001039/0.13, allocations: 456.8 kB / 489.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.1301, allocations: 59.44 kB / 489.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005313/0.1306, allocations: 453.6 kB / 490 MB, free: 11.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.1306, allocations: 25.7 kB / 490.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.1309, allocations: 196.3 kB / 490.3 MB, free: 10.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.77e-05/0.131, allocations: 74.92 kB / 490.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.1311, allocations: 49.69 kB / 490.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1313, allocations: 354.7 kB / 490.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.1316, allocations: 115.9 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.1318, allocations: 118.9 kB / 491 MB, free: 10.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005606/0.1324, allocations: 264.6 kB / 491.2 MB, free: 9.879 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1324, allocations: 3.938 kB / 491.2 MB, free: 9.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006742/0.1331, allocations: 342.1 kB / 491.6 MB, free: 9.535 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.1331, allocations: 15.92 kB / 491.6 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1331, allocations: 0 / 491.6 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1331, allocations: 0 / 491.6 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007834/0.1339, allocations: 151.9 kB / 491.7 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/0.1374, allocations: 5.52 MB / 497.2 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.1376, allocations: 47.36 kB / 497.3 MB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.1377, allocations: 12 kB / 497.3 MB, free: 3.582 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002282/0.1379, allocations: 195.4 kB / 497.5 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/0.138, allocations: 31.62 kB / 497.5 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009028/0.1389, allocations: 463.9 kB / 498 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1389, allocations: 0 / 498 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.1389, allocations: 4 kB / 498 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.1389, allocations: 7.984 kB / 498 MB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.1394, allocations: 381.2 kB / 498.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1394, allocations: 0 / 498.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006887/0.1401, allocations: 151.9 kB / 498.5 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1401, allocations: 0 / 498.5 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.1401, allocations: 11.98 kB / 498.5 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003373/0.1435, allocations: 5.516 MB / 0.4922 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1435, allocations: 3.938 kB / 0.4922 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007322/0.1443, allocations: 442.8 kB / 0.4926 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.1444, allocations: 120.6 kB / 0.4928 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.839e-05/0.1445, allocations: 8.094 kB / 0.4928 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.1447, allocations: 11.92 kB / 0.4928 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/0.1448, allocations: 27.91 kB / 0.4928 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.1448, allocations: 12 kB / 0.4928 GB, free: 11.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000385/0.1452, allocations: 335.1 kB / 0.4931 GB, free: 11.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1452, allocations: 0 / 0.4931 GB, free: 11.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004042/0.1456, allocations: 99.94 kB / 0.4932 GB, free: 11.5 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001191/0.1468, allocations: 1.016 MB / 0.4942 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.1481, allocations: 439.5 kB / 0.4946 GB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1481, allocations: 4 kB / 0.4946 GB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008716/0.149, allocations: 275.7 kB / 0.4949 GB, free: 9.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.1495, allocations: 89.33 kB / 0.495 GB, free: 9.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005844/0.1554, allocations: 4.444 MB / 0.4993 GB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.1559, allocations: 0.8543 MB / 0.5002 GB, free: 4.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002503/0.1562, allocations: 79.22 kB / 0.5002 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.1564, allocations: 115.4 kB / 0.5003 GB, free: 4.078 MB / 382.1 MB Notification: Performance of SimCode: time 3.867e-06/0.1564, allocations: 0 / 0.5003 GB, free: 4.078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2125/0.3689, allocations: 11.34 MB / 0.5114 GB, free: 43.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.28, allocations: 15.56 kB / 0.5114 GB, free: 43.01 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_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_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1)