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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 4.0.0+maint.om/package.mo): time 0.0009884/0.0009933, allocations: 88.19 kB / 15.7 MB, free: 460 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.001312/0.001312, allocations: 171.8 kB / 16.58 MB, free: 6.84 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.489/1.489, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.3267/0.3267, allocations: 43.55 MB / 314.6 MB, free: 8.762 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.0004902/0.0004903, allocations: 18.97 kB / 384 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1134, allocations: 58.86 MB / 442.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.002013/0.1155, allocations: 1.673 MB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1167, allocations: 0.8545 MB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.531e-05/0.1167, allocations: 3.938 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.1169, allocations: 47.73 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.1172, allocations: 119.5 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.1174, allocations: 75.75 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003968/0.1178, allocations: 450 kB / 446.1 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.911e-05/0.1179, allocations: 52.91 kB / 446.2 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.118, allocations: 139.3 kB / 446.3 MB, free: 9.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.1182, allocations: 183.2 kB / 446.5 MB, free: 9.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.1183, allocations: 8 kB / 446.5 MB, free: 9.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.1185, allocations: 151.7 kB / 446.6 MB, free: 9.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.149e-05/0.1186, allocations: 91.58 kB / 446.7 MB, free: 9.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.393e-05/0.1187, allocations: 81.45 kB / 446.8 MB, free: 9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.119, allocations: 303.1 kB / 447.1 MB, free: 8.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.119, allocations: 0 / 447.1 MB, free: 8.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.119, allocations: 3.938 kB / 447.1 MB, free: 8.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.119, allocations: 0 / 447.1 MB, free: 8.699 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.000729/0.1197, allocations: 0.5966 MB / 447.7 MB, free: 8.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.1198, allocations: 12.03 kB / 447.7 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.726e-05/0.1199, allocations: 82.52 kB / 447.8 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.1199, allocations: 43.48 kB / 447.8 MB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.1202, allocations: 278.4 kB / 448.1 MB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.1203, allocations: 25 kB / 448.1 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.1203, allocations: 36 kB / 448.2 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007506/0.1211, allocations: 0.5568 MB / 448.7 MB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1211, allocations: 3.984 kB / 448.7 MB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.1211, allocations: 12 kB / 448.7 MB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.566e-05/0.1212, allocations: 40.98 kB / 448.8 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008911/0.1221, allocations: 0.5815 MB / 449.4 MB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.1238, allocations: 1.179 MB / 450.5 MB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006588/0.1245, allocations: 380.1 kB / 450.9 MB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.1247, allocations: 141.1 kB / 451.1 MB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.932e-05/0.1248, allocations: 16.19 kB / 451.1 MB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1248, allocations: 30.75 kB / 451.1 MB, free: 4.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 4.027e-06/0.1248, allocations: 0 / 451.1 MB, free: 4.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009447/0.1258, allocations: 481.8 kB / 451.6 MB, free: 4.051 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.1258, allocations: 59.36 kB / 451.6 MB, free: 3.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.1263, allocations: 445.6 kB / 452.1 MB, free: 3.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.1264, allocations: 29.7 kB / 452.1 MB, free: 3.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.1265, allocations: 192.3 kB / 452.3 MB, free: 3.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/0.1266, allocations: 71 kB / 452.3 MB, free: 3.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/0.1266, allocations: 4 kB / 452.4 MB, free: 3.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1267, allocations: 350.8 kB / 452.7 MB, free: 2.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.127, allocations: 123.9 kB / 452.8 MB, free: 2.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.1272, allocations: 132.4 kB / 452.9 MB, free: 2.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.1274, allocations: 131.9 kB / 453.1 MB, free: 2.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1275, allocations: 0 / 453.1 MB, free: 2.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005721/0.128, allocations: 348.9 kB / 453.4 MB, free: 2.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1281, allocations: 8 kB / 453.4 MB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1281, allocations: 0 / 453.4 MB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1281, allocations: 4 kB / 453.4 MB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006694/0.1288, allocations: 155.9 kB / 453.6 MB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2066/0.3354, allocations: 5.521 MB / 459.1 MB, free: 43.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.3358, allocations: 48.95 kB / 459.1 MB, free: 43.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.3358, allocations: 11.09 kB / 459.2 MB, free: 43.32 MB / 382.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 (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003037/0.3361, allocations: 193.1 kB / 459.3 MB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.017e-05/0.3362, allocations: 36.84 kB / 459.4 MB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008389/0.337, allocations: 465.4 kB / 459.8 MB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.3371, allocations: 3.062 kB / 459.8 MB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3371, allocations: 0 / 459.8 MB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3371, allocations: 7.141 kB / 459.8 MB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.3375, allocations: 374.2 kB / 460.2 MB, free: 42.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3375, allocations: 2.625 kB / 460.2 MB, free: 42.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006056/0.3381, allocations: 162 kB / 460.4 MB, free: 42.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.3381, allocations: 0 / 460.4 MB, free: 42.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.3382, allocations: 16.08 kB / 460.4 MB, free: 42.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.3399, allocations: 5.512 MB / 465.9 MB, free: 37.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3399, allocations: 3.953 kB / 465.9 MB, free: 37.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006204/0.3406, allocations: 454.8 kB / 466.4 MB, free: 37.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/0.3407, allocations: 122.9 kB / 466.5 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.3407, allocations: 5.812 kB / 466.5 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.3409, allocations: 17.39 kB / 466.5 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/0.341, allocations: 24.73 kB / 466.5 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.341, allocations: 14.69 kB / 466.5 MB, free: 37.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003522/0.3414, allocations: 332.8 kB / 466.9 MB, free: 37.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3414, allocations: 0 / 466.9 MB, free: 37.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003928/0.3418, allocations: 103.4 kB / 467 MB, free: 37.34 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 (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008797/0.3427, allocations: 1.02 MB / 468 MB, free: 36.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.3437, allocations: 413.3 kB / 468.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3437, allocations: 0 / 468.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006829/0.3444, allocations: 284.9 kB / 468.7 MB, free: 36.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.3449, allocations: 83.53 kB / 468.7 MB, free: 36.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.348, allocations: 2.683 MB / 471.4 MB, free: 35.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.3483, allocations: 0.8595 MB / 472.3 MB, free: 35.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002192/0.3485, allocations: 79.16 kB / 472.4 MB, free: 35.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.3486, allocations: 114.6 kB / 472.5 MB, free: 35.23 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3486, allocations: 0 / 472.5 MB, free: 35.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.3707, allocations: 10.42 MB / 482.9 MB, free: 34.36 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.3709, allocations: 258.1 kB / 483.1 MB, free: 34.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/2.406, allocations: 4 kB / 483.1 MB, free: 34 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.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_KC_res.mat does not exist to compare? outputFormat=mat