Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 4.0.0+maint.om/package.mo): time 0.0007948/0.000795, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 176.6 kB / 16.58 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3146/0.3146, allocations: 43.54 MB / 314.6 MB, free: 8.727 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: Performance of FrontEnd - loaded program: time 0.0004648/0.0004648, allocations: 16 kB / 384 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1146, allocations: 58.85 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002019/0.1166, allocations: 1.77 MB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.118, allocations: 1.088 MB / 445.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.1181, allocations: 7.938 kB / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.1183, allocations: 51.67 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.1185, allocations: 87.44 kB / 445.9 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.1189, allocations: 135.6 kB / 446 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004578/0.1194, allocations: 473.9 kB / 446.5 MB, free: 9.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.163e-05/0.1195, allocations: 48.98 kB / 446.5 MB, free: 9.273 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.1197, allocations: 147.2 kB / 446.7 MB, free: 9.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.1199, allocations: 183.2 kB / 446.9 MB, free: 8.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.12, allocations: 12 kB / 446.9 MB, free: 8.938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003314/0.1203, allocations: 203.7 kB / 447.1 MB, free: 8.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.348e-05/0.1204, allocations: 91.52 kB / 447.2 MB, free: 8.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/0.1205, allocations: 81.52 kB / 447.2 MB, free: 8.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.1208, allocations: 339 kB / 447.6 MB, free: 8.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1208, allocations: 0 / 447.6 MB, free: 8.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1209, allocations: 4 kB / 447.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1209, allocations: 0 / 447.6 MB, free: 8.227 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0009717/0.1218, allocations: 0.655 MB / 448.2 MB, free: 7.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1219, allocations: 12.02 kB / 448.2 MB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.349e-05/0.122, allocations: 82.47 kB / 448.3 MB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.154e-05/0.122, allocations: 43.48 kB / 448.4 MB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.1224, allocations: 290.1 kB / 448.6 MB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.1224, allocations: 33 kB / 448.7 MB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/0.1224, allocations: 36 kB / 448.7 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008544/0.1233, allocations: 0.5855 MB / 449.3 MB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1233, allocations: 0 / 449.3 MB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.1234, allocations: 19.94 kB / 449.3 MB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/0.1234, allocations: 24.98 kB / 449.3 MB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007519/0.1242, allocations: 455.5 kB / 449.8 MB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.1258, allocations: 1.371 MB / 451.2 MB, free: 4.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.1263, allocations: 279.6 kB / 451.4 MB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.1266, allocations: 154.4 kB / 451.6 MB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.382e-05/0.1267, allocations: 19.95 kB / 451.6 MB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1267, allocations: 34.52 kB / 451.6 MB, free: 3.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.1267, allocations: 0 / 451.6 MB, free: 3.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001063/0.1278, allocations: 493.1 kB / 452.1 MB, free: 3.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.1279, allocations: 106.8 kB / 452.2 MB, free: 3.312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005139/0.1284, allocations: 0.498 MB / 452.7 MB, free: 2.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1284, allocations: 29.7 kB / 452.8 MB, free: 2.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.1286, allocations: 204.2 kB / 453 MB, free: 2.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.1286, allocations: 59.11 kB / 453 MB, free: 2.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/0.1286, allocations: 0 / 453 MB, free: 2.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1288, allocations: 354.7 kB / 453.4 MB, free: 2.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.1291, allocations: 140 kB / 453.5 MB, free: 2.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.1294, allocations: 181.4 kB / 453.7 MB, free: 1.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.1297, allocations: 151.9 kB / 453.8 MB, free: 1.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1297, allocations: 112 / 453.8 MB, free: 1.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000745/0.1305, allocations: 408.6 kB / 454.2 MB, free: 1.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1305, allocations: 7.953 kB / 454.2 MB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.576e-05/0.1306, allocations: 31.98 kB / 454.3 MB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1306, allocations: 4.156 kB / 454.3 MB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.1308, allocations: 39.91 kB / 454.3 MB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1308, allocations: 7.984 kB / 454.3 MB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.131, allocations: 63.36 kB / 454.4 MB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.1311, allocations: 20 kB / 454.4 MB, free: 1.098 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.1312, allocations: 185.7 kB / 454.6 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.881e-05/0.1313, allocations: 39.53 kB / 454.6 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007158/0.1321, allocations: 392.6 kB / 455 MB, free: 492 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.1321, allocations: 4 kB / 455 MB, free: 488 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1321, allocations: 0 / 455 MB, free: 488 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1321, allocations: 0 / 455 MB, free: 488 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.1326, allocations: 365.3 kB / 455.4 MB, free: 72 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.761e-05/0.1327, allocations: 28 kB / 455.4 MB, free: 44 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.1328, allocations: 31.97 kB / 455.4 MB, free: 12 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1328, allocations: 4 kB / 455.4 MB, free: 8 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.2195/0.3523, allocations: 10.44 kB / 455.4 MB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/0.3523, allocations: 8.938 kB / 455.4 MB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3523, allocations: 0 / 455.4 MB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008561/0.3532, allocations: 0.5949 MB / 456 MB, free: 46.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.3533, allocations: 124.4 kB / 456.1 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.896e-05/0.3534, allocations: 3.266 kB / 456.2 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.3537, allocations: 24.44 kB / 456.2 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/0.3538, allocations: 27.14 kB / 456.2 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.3538, allocations: 8.281 kB / 456.2 MB, free: 46.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003525/0.3542, allocations: 377.2 kB / 456.6 MB, free: 46.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3542, allocations: 2.812 kB / 456.6 MB, free: 46.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000469/0.3547, allocations: 113.6 kB / 456.7 MB, free: 46.04 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009211/0.3556, allocations: 1.194 MB / 457.9 MB, free: 45.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006608/0.3563, allocations: 0.5392 MB / 458.4 MB, free: 44.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3563, allocations: 0 / 458.4 MB, free: 44.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.3566, allocations: 398.3 kB / 458.8 MB, free: 44.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006057/0.3572, allocations: 92.2 kB / 458.9 MB, free: 44.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/0.3606, allocations: 2.847 MB / 461.8 MB, free: 43.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.3608, allocations: 0.8463 MB / 462.6 MB, free: 43.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.361, allocations: 66.48 kB / 462.7 MB, free: 43.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.3611, allocations: 107.5 kB / 462.8 MB, free: 43.23 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3611, allocations: 3 kB / 462.8 MB, free: 43.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.3827, allocations: 10.41 MB / 473.2 MB, free: 42.39 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/0.3829, allocations: 226 kB / 473.4 MB, free: 42.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.266, allocations: 0 / 473.4 MB, free: 42.15 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat