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.001866/0.001866, allocations: 117.2 kB / 17.78 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002093/0.002094, allocations: 200.6 kB / 18.73 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 247 MB, free: 10.44 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.248/0.248, allocations: 46.12 MB / 344.3 MB, free: 11.46 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.002272/0.002272, allocations: 79.86 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3899, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003294/0.3933, allocations: 1.921 MB / 0.5325 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.3953, allocations: 1.169 MB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.3955, allocations: 1.375 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.3958, allocations: 52.06 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.3961, allocations: 59.97 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006092/0.3967, allocations: 186.2 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003655/0.3971, allocations: 226.3 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.015e-05/0.3971, allocations: 19.28 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.3974, allocations: 92.62 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.3975, allocations: 109.8 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.3976, allocations: 8.469 kB / 0.5344 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004396/0.398, allocations: 252.4 kB / 0.5346 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.554e-05/0.3981, allocations: 53.72 kB / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.3982, allocations: 100.8 kB / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.3988, allocations: 331.2 kB / 0.5351 GB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3988, allocations: 0 / 0.5351 GB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.3988, allocations: 0 / 0.5351 GB, free: 10.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.3988, 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.001135/0.3999, allocations: 0.5643 MB / 0.5356 GB, free: 9.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.4, allocations: 9.625 kB / 0.5356 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.627e-05/0.4001, allocations: 57.42 kB / 0.5357 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003702/0.4004, allocations: 55.94 kB / 0.5357 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.4008, allocations: 247.6 kB / 0.536 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.4008, allocations: 13.91 kB / 0.536 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.4008, allocations: 17.97 kB / 0.536 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.4014, allocations: 276.1 kB / 0.5363 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.4014, allocations: 0 / 0.5363 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.4014, allocations: 6.688 kB / 0.5363 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.4015, allocations: 7.969 kB / 0.5363 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005594/0.402, allocations: 229.3 kB / 0.5365 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.4033, allocations: 0.7678 MB / 0.5372 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/0.4039, allocations: 235.5 kB / 0.5375 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.4042, allocations: 104.7 kB / 0.5376 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.4042, allocations: 2.75 kB / 0.5376 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.4043, allocations: 35.81 kB / 0.5376 GB, free: 7.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.542e-06/0.4043, allocations: 0 / 0.5376 GB, free: 7.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009737/0.4052, allocations: 325.1 kB / 0.5379 GB, free: 7.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/0.4053, allocations: 104.8 kB / 0.538 GB, free: 7.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.4056, allocations: 278.3 kB / 0.5383 GB, free: 7.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.4057, allocations: 26.86 kB / 0.5383 GB, free: 7.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.4058, allocations: 151.3 kB / 0.5384 GB, free: 7.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.4059, allocations: 49.5 kB / 0.5385 GB, free: 7.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.651e-05/0.406, allocations: 40.8 kB / 0.5385 GB, free: 7.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4061, allocations: 333.3 kB / 0.5388 GB, free: 6.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.4064, allocations: 80.67 kB / 0.5389 GB, free: 6.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.4067, allocations: 136.1 kB / 0.5391 GB, free: 6.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005575/0.4073, allocations: 221.5 kB / 0.5393 GB, free: 6.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4073, allocations: 0 / 0.5393 GB, free: 6.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006632/0.408, allocations: 268.4 kB / 0.5395 GB, free: 6.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.408, allocations: 15.34 kB / 0.5395 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/0.408, allocations: 13.03 kB / 0.5395 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4081, allocations: 1.531 kB / 0.5395 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.4083, allocations: 34.31 kB / 0.5396 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4083, allocations: 1.375 kB / 0.5396 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.4085, allocations: 43.31 kB / 0.5396 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.4085, allocations: 5.844 kB / 0.5396 GB, free: 6.492 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.0001563/0.4087, allocations: 149.6 kB / 0.5398 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.4088, allocations: 25.73 kB / 0.5398 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005154/0.4093, allocations: 221.1 kB / 0.54 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.4093, allocations: 2.625 kB / 0.54 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4094, allocations: 1.125 kB / 0.54 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4094, allocations: 5.25 kB / 0.54 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.4098, allocations: 271.9 kB / 0.5403 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-05/0.4099, allocations: 11.19 kB / 0.5403 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.41, allocations: 27.25 kB / 0.5403 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.41, allocations: 5.125 kB / 0.5403 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.4101, allocations: 7.312 kB / 0.5403 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4101, allocations: 1.125 kB / 0.5403 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4101, allocations: 1.125 kB / 0.5403 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007433/0.4108, allocations: 482 kB / 0.5408 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.225e-05/0.4109, allocations: 108.8 kB / 0.5409 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.411, allocations: 5.328 kB / 0.5409 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.4112, allocations: 18.11 kB / 0.5409 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.4113, allocations: 18.66 kB / 0.5409 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.4113, allocations: 8.375 kB / 0.5409 GB, free: 5.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.4115, allocations: 209 kB / 0.5411 GB, free: 5.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4116, allocations: 0 / 0.5411 GB, free: 5.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004634/0.412, allocations: 75.56 kB / 0.5412 GB, free: 5.254 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.001417/0.4134, allocations: 1.075 MB / 0.5423 GB, free: 4.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007329/0.4142, allocations: 281.7 kB / 0.5425 GB, free: 4.141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.4142, allocations: 1.469 kB / 0.5425 GB, free: 4.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.4146, allocations: 183.4 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.000573/0.4151, allocations: 52.97 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.004371/0.4195, allocations: 2.98 MB / 0.5457 GB, free: 1.703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.42, allocations: 0.7554 MB / 0.5464 GB, free: 0.918 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.4202, 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.0001195/0.4203, allocations: 63.42 kB / 0.5465 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of SimCode: time 1.774e-06/0.4203, allocations: 384 / 0.5465 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.4505, allocations: 6.62 MB / 0.553 GB, free: 10.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.26/8.711, allocations: 11.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_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.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1)