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.Channel.kc_evenGapTurbulent_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.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_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.001303/0.001303, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 247 MB, free: 10.45 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.2207/0.2207, allocations: 46.12 MB / 344.3 MB, free: 11.47 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.002247/0.002247, allocations: 79.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3663, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003142/0.3695, allocations: 1.796 MB / 0.5324 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.3709, allocations: 0.8415 MB / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.371, allocations: 1.375 kB / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.3712, allocations: 40.12 kB / 0.5332 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.3715, allocations: 70.77 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.3717, allocations: 80.59 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.3719, allocations: 152.1 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/0.372, allocations: 13.12 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.3722, allocations: 71.33 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.3723, allocations: 77.69 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.3723, allocations: 5.625 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.3726, allocations: 161.3 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.197e-05/0.3727, allocations: 37.92 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.218e-05/0.3728, allocations: 49.48 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.3731, allocations: 206.1 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3731, allocations: 0 / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3731, allocations: 1.062 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3732, allocations: 3.938 kB / 0.5341 GB, free: 10.72 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007264/0.3739, allocations: 461.5 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3739, allocations: 8.719 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5e-05/0.374, allocations: 44.41 kB / 0.5346 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.374, allocations: 14.75 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.3743, allocations: 195.5 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3743, allocations: 17.06 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.3743, allocations: 18.64 kB / 0.5349 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.3747, allocations: 169 kB / 0.535 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.3747, allocations: 0 / 0.535 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.3747, allocations: 5.5 kB / 0.535 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/0.3748, allocations: 13.02 kB / 0.535 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003528/0.3751, allocations: 167.2 kB / 0.5352 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007754/0.3759, allocations: 491.8 kB / 0.5357 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.3763, allocations: 154.4 kB / 0.5358 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.3765, allocations: 55.41 kB / 0.5359 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.3765, allocations: 1.062 kB / 0.5359 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.3766, allocations: 35.66 kB / 0.5359 GB, free: 9.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 3.256e-06/0.3766, allocations: 0 / 0.5359 GB, free: 9.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005777/0.3772, allocations: 202.9 kB / 0.5361 GB, free: 9.133 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.3772, allocations: 60.27 kB / 0.5361 GB, free: 9.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.3774, allocations: 202.9 kB / 0.5363 GB, free: 8.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.3775, allocations: 26.77 kB / 0.5364 GB, free: 8.871 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/0.3776, allocations: 114.7 kB / 0.5365 GB, free: 8.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.3776, allocations: 36.09 kB / 0.5365 GB, free: 8.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.029e-05/0.3777, allocations: 31.97 kB / 0.5365 GB, free: 8.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3778, allocations: 331.2 kB / 0.5369 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.378, allocations: 48.41 kB / 0.5369 GB, free: 8.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.3781, allocations: 71.86 kB / 0.537 GB, free: 8.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.3785, allocations: 131.7 kB / 0.5371 GB, free: 8.234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3785, allocations: 1.031 kB / 0.5371 GB, free: 8.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003721/0.3788, allocations: 169.7 kB / 0.5373 GB, free: 8.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3789, allocations: 4.969 kB / 0.5373 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3789, allocations: 1.031 kB / 0.5373 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.3789, allocations: 5.922 kB / 0.5373 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.3792, allocations: 49.11 kB / 0.5373 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007934/0.38, allocations: 1.224 MB / 0.5385 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.3801, allocations: 22.22 kB / 0.5385 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.3801, allocations: 8.219 kB / 0.5385 GB, free: 6.883 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002133/0.3804, allocations: 131.3 kB / 0.5387 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.3804, allocations: 13.89 kB / 0.5387 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.3809, allocations: 189.6 kB / 0.5389 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3809, allocations: 1.125 kB / 0.5389 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3809, allocations: 5.156 kB / 0.5389 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3809, allocations: 0 / 0.5389 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.3812, allocations: 233.3 kB / 0.5391 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3812, allocations: 0 / 0.5391 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.3814, allocations: 44.52 kB / 0.5391 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3814, allocations: 1.375 kB / 0.5391 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.3814, allocations: 5.453 kB / 0.5391 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008005/0.3823, allocations: 1.215 MB / 0.5403 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3823, allocations: 0 / 0.5403 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.3827, allocations: 250.1 kB / 0.5406 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.3828, allocations: 93.81 kB / 0.5406 GB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.3828, allocations: 5.219 kB / 0.5407 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.3829, allocations: 11.56 kB / 0.5407 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.383, allocations: 7.422 kB / 0.5407 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.383, allocations: 7.406 kB / 0.5407 GB, free: 4.844 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.3831, allocations: 152.8 kB / 0.5408 GB, free: 4.734 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3832, allocations: 0 / 0.5408 GB, free: 4.734 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000308/0.3835, allocations: 42.84 kB / 0.5409 GB, free: 4.727 MB / 398.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008696/0.3843, allocations: 0.8207 MB / 0.5417 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005159/0.3849, allocations: 146.5 kB / 0.5418 GB, free: 3.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.3849, allocations: 1.281 kB / 0.5418 GB, free: 3.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.3852, allocations: 94.95 kB / 0.5419 GB, free: 3.891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.3855, allocations: 24.38 kB / 0.5419 GB, free: 3.879 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.3884, allocations: 2.149 MB / 0.544 GB, free: 2.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.3888, allocations: 0.7303 MB / 0.5447 GB, free: 1.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.3889, allocations: 33.55 kB / 0.5448 GB, free: 1.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.941e-05/0.389, allocations: 38.17 kB / 0.5448 GB, free: 1.449 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.389, allocations: 0 / 0.5448 GB, free: 1.449 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/0.4196, allocations: 4.702 MB / 0.5494 GB, free: 14.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.91, allocations: 14.03 kB / 0.5494 GB, free: 14.14 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1)