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.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,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001741/0.001741, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002117/0.002117, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247 MB, free: 10.4 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.2415/0.2415, allocations: 46.13 MB / 344.4 MB, free: 11.45 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.002278/0.002278, allocations: 79.86 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3603, allocations: 62.43 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003246/0.3636, allocations: 1.917 MB / 0.5325 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.3656, allocations: 1.167 MB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.772e-05/0.3657, allocations: 5.375 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.366, allocations: 52.05 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.3662, allocations: 63.97 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005561/0.3668, allocations: 182.2 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000315/0.3671, allocations: 227.4 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.756e-05/0.3672, allocations: 18.27 kB / 0.5342 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.3674, allocations: 100.3 kB / 0.5343 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.3676, allocations: 102.7 kB / 0.5344 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.3676, allocations: 7.75 kB / 0.5344 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.368, allocations: 256.6 kB / 0.5346 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.56e-05/0.3681, allocations: 58 kB / 0.5347 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.3683, allocations: 92.61 kB / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004937/0.3688, allocations: 331.2 kB / 0.5351 GB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3688, allocations: 0 / 0.5351 GB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3688, allocations: 0 / 0.5351 GB, free: 10.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3688, allocations: 0 / 0.5351 GB, free: 10.04 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001009/0.3698, allocations: 0.5721 MB / 0.5356 GB, free: 9.512 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3699, allocations: 9.625 kB / 0.5356 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.314e-05/0.3699, allocations: 49.61 kB / 0.5357 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003553/0.3703, allocations: 56.88 kB / 0.5357 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.3706, allocations: 246.9 kB / 0.536 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.3706, allocations: 9.562 kB / 0.536 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.3707, allocations: 17.97 kB / 0.536 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.3713, allocations: 280 kB / 0.5363 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3713, allocations: 0 / 0.5363 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.3713, allocations: 10.77 kB / 0.5363 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.3714, allocations: 12.28 kB / 0.5363 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000589/0.372, allocations: 229.6 kB / 0.5365 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.3731, allocations: 0.7671 MB / 0.5373 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005571/0.3737, allocations: 224.5 kB / 0.5375 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/0.374, allocations: 107.6 kB / 0.5376 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.374, allocations: 6.859 kB / 0.5376 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.3741, allocations: 44.06 kB / 0.5376 GB, free: 7.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.3741, allocations: 0 / 0.5376 GB, free: 7.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009706/0.375, allocations: 316.5 kB / 0.5379 GB, free: 7.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.3751, allocations: 105.1 kB / 0.538 GB, free: 7.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.3755, allocations: 278.8 kB / 0.5383 GB, free: 7.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.3755, allocations: 30.98 kB / 0.5383 GB, free: 7.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3756, allocations: 142.1 kB / 0.5384 GB, free: 7.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.3757, allocations: 54.47 kB / 0.5385 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.189e-05/0.3758, allocations: 40.5 kB / 0.5385 GB, free: 7.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3759, allocations: 333.8 kB / 0.5389 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.3762, allocations: 80.91 kB / 0.5389 GB, free: 6.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.3765, allocations: 127.1 kB / 0.5391 GB, free: 6.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005423/0.377, allocations: 226.2 kB / 0.5393 GB, free: 6.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.377, allocations: 0 / 0.5393 GB, free: 6.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006412/0.3777, allocations: 272.2 kB / 0.5395 GB, free: 6.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3777, allocations: 8.906 kB / 0.5395 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/0.3778, allocations: 17.05 kB / 0.5396 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3778, allocations: 1.844 kB / 0.5396 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.378, allocations: 29.44 kB / 0.5396 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.378, allocations: 2.938 kB / 0.5396 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.3782, allocations: 43.22 kB / 0.5396 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.3782, allocations: 5.625 kB / 0.5396 GB, free: 6.488 MB / 398.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: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001527/0.3784, allocations: 153.2 kB / 0.5398 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.287e-05/0.3785, allocations: 25.55 kB / 0.5398 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004913/0.379, allocations: 222 kB / 0.54 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.379, allocations: 1.344 kB / 0.54 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.379, allocations: 9.375 kB / 0.54 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.379, allocations: 1.469 kB / 0.54 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.3794, allocations: 263.7 kB / 0.5403 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/0.3794, allocations: 12.09 kB / 0.5403 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.3796, allocations: 30.23 kB / 0.5403 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3796, allocations: 5 kB / 0.5403 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.3797, allocations: 8.062 kB / 0.5403 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3797, allocations: 1.812 kB / 0.5403 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3797, allocations: 3.984 kB / 0.5403 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006941/0.3804, allocations: 486.6 kB / 0.5408 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-05/0.3805, allocations: 103.7 kB / 0.5409 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.3805, allocations: 6.5 kB / 0.5409 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.3808, allocations: 21 kB / 0.5409 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.3808, allocations: 11.11 kB / 0.5409 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.3809, allocations: 8.25 kB / 0.5409 GB, free: 5.402 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.3811, allocations: 200.4 kB / 0.5411 GB, free: 5.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3811, allocations: 1.156 kB / 0.5411 GB, free: 5.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004598/0.3815, allocations: 78.98 kB / 0.5412 GB, free: 5.25 MB / 398.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001172/0.3827, allocations: 1.079 MB / 0.5423 GB, free: 4.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006558/0.3834, allocations: 278 kB / 0.5425 GB, free: 4.137 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3834, allocations: 3.938 kB / 0.5425 GB, free: 4.133 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.3837, allocations: 176.2 kB / 0.5427 GB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.3843, allocations: 55.5 kB / 0.5428 GB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.3884, allocations: 2.981 MB / 0.5457 GB, free: 1.703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.3889, allocations: 0.7554 MB / 0.5464 GB, free: 0.918 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.389, allocations: 41.52 kB / 0.5464 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.3891, allocations: 67.41 kB / 0.5465 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3892, allocations: 0 / 0.5465 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.4178, allocations: 6.615 MB / 0.553 GB, free: 10.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.612, allocations: 15.78 kB / 0.553 GB, free: 10.4 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1)