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_evenGapOverall_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_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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.001666/0.001666, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001961/0.001961, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247 MB, free: 10.43 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.2206/0.2206, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.002258/0.002258, allocations: 75.88 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.372, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.00357/0.3756, allocations: 2.159 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.3785, allocations: 1.837 MB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.3786, allocations: 5.312 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.379, allocations: 77.39 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.3794, allocations: 141.5 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009065/0.3803, allocations: 335.2 kB / 0.5351 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005767/0.3809, allocations: 487.5 kB / 0.5355 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.381, allocations: 59.14 kB / 0.5356 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003159/0.3813, allocations: 193.3 kB / 0.5358 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003186/0.3817, allocations: 218.5 kB / 0.536 GB, free: 9.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.3817, allocations: 15.28 kB / 0.536 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.3828, allocations: 0.5668 MB / 0.5366 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.3829, allocations: 121.4 kB / 0.5367 GB, free: 8.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.3832, allocations: 182.5 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.3842, allocations: 0.7417 MB / 0.5376 GB, free: 8.293 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3842, allocations: 0 / 0.5376 GB, free: 8.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3842, allocations: 5.062 kB / 0.5376 GB, free: 8.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.3843, allocations: 0 / 0.5376 GB, free: 8.289 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001326/0.3856, allocations: 0.7877 MB / 0.5383 GB, free: 7.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3856, allocations: 9.469 kB / 0.5383 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.3858, allocations: 105 kB / 0.5384 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.3859, allocations: 56.19 kB / 0.5385 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.3863, allocations: 309.9 kB / 0.5388 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.3863, allocations: 39.89 kB / 0.5388 GB, free: 7.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.604e-05/0.3864, allocations: 48.06 kB / 0.5389 GB, free: 7.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.3875, allocations: 0.7095 MB / 0.5396 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3876, allocations: 3.938 kB / 0.5396 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.774e-05/0.3876, allocations: 16.25 kB / 0.5396 GB, free: 6.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-05/0.3877, allocations: 61.25 kB / 0.5397 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.389, allocations: 0.744 MB / 0.5404 GB, free: 6.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.3915, allocations: 1.44 MB / 0.5418 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008448/0.3923, allocations: 461.4 kB / 0.5422 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/0.3927, allocations: 155.2 kB / 0.5424 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.239e-05/0.3927, allocations: 9.344 kB / 0.5424 GB, free: 5.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.3928, allocations: 44 kB / 0.5424 GB, free: 5.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.284e-06/0.3928, allocations: 0 / 0.5424 GB, free: 5.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001249/0.3941, allocations: 0.5363 MB / 0.5429 GB, free: 4.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.3941, allocations: 55.41 kB / 0.543 GB, free: 4.816 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007128/0.3948, allocations: 0.5329 MB / 0.5435 GB, free: 4.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.3949, allocations: 29.7 kB / 0.5435 GB, free: 4.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.3951, allocations: 244.5 kB / 0.5438 GB, free: 3.992 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.3952, allocations: 111 kB / 0.5439 GB, free: 3.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.3954, allocations: 94.05 kB / 0.544 GB, free: 3.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.3956, allocations: 354.8 kB / 0.5443 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/0.3959, allocations: 172.5 kB / 0.5445 GB, free: 3.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000454/0.3964, allocations: 298.1 kB / 0.5448 GB, free: 2.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008316/0.3972, allocations: 0.4928 MB / 0.5452 GB, free: 2.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.3972, allocations: 4 kB / 0.5452 GB, free: 2.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001035/0.3983, allocations: 0.5359 MB / 0.5458 GB, free: 1.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.3983, allocations: 8 kB / 0.5458 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3983, allocations: 4 kB / 0.5458 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.3983, allocations: 7.984 kB / 0.5458 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009791/0.3993, allocations: 223.8 kB / 0.546 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00469/0.404, allocations: 7.314 MB / 0.5531 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.4046, allocations: 59.52 kB / 0.5532 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.4046, allocations: 27.98 kB / 0.5532 GB, free: 9.895 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,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 (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00039/0.405, allocations: 233.5 kB / 0.5535 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.925e-05/0.4051, allocations: 52 kB / 0.5535 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.4063, allocations: 0.5485 MB / 0.554 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.4063, allocations: 4 kB / 0.554 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4063, allocations: 0 / 0.554 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.4063, allocations: 0 / 0.554 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000671/0.407, allocations: 425.2 kB / 0.5544 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.407, allocations: 8 kB / 0.5545 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008533/0.4079, allocations: 199.8 kB / 0.5546 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4079, allocations: 0 / 0.5546 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.4079, allocations: 19.92 kB / 0.5547 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00477/0.4127, allocations: 7.306 MB / 0.5618 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4128, allocations: 0 / 0.5618 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009433/0.4137, allocations: 0.5117 MB / 0.5623 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.4139, allocations: 128.7 kB / 0.5624 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.699e-05/0.414, allocations: 4 kB / 0.5624 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.4142, allocations: 16.08 kB / 0.5624 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.4144, allocations: 23.97 kB / 0.5625 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.4144, allocations: 19.92 kB / 0.5625 GB, free: 32 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005777/0.415, allocations: 391 kB / 0.5629 GB, free: 15.65 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.415, allocations: 0 / 0.5629 GB, free: 15.65 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006752/0.4157, allocations: 171.6 kB / 0.563 GB, free: 15.48 MB / 430.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001547/0.4172, allocations: 1.164 MB / 0.5642 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.4189, allocations: 0.5516 MB / 0.5647 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4189, allocations: 0 / 0.5647 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.42, allocations: 347.6 kB / 0.565 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005713/0.4205, allocations: 93.84 kB / 0.5651 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007853/0.4284, allocations: 5.302 MB / 0.5703 GB, free: 7.816 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006315/0.4291, allocations: 0.8936 MB / 0.5712 GB, free: 6.895 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004145/0.4295, allocations: 140.2 kB / 0.5713 GB, free: 6.754 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.4298, allocations: 143.4 kB / 0.5714 GB, free: 6.613 MB / 430.1 MB Notification: Performance of SimCode: time 3.035e-06/0.4298, allocations: 0 / 0.5714 GB, free: 6.613 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04503/0.4748, allocations: 14.92 MB / 0.586 GB, free: 7.961 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.99, allocations: 9.562 kB / 0.586 GB, free: 7.953 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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_evenGapOverall_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1)