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.00163/0.00163, allocations: 122.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.001864/0.001864, allocations: 202 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.478/1.478, 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.2324/0.2324, 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.002375/0.002375, allocations: 75.88 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3819, 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_evenGapOverall_KC): time 0.004127/0.3861, allocations: 2.162 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003298/0.3894, allocations: 1.84 MB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.3897, allocations: 1.375 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004041/0.3901, allocations: 73.45 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004711/0.3906, allocations: 145.5 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009733/0.3916, allocations: 331.7 kB / 0.5351 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006168/0.3922, allocations: 487.1 kB / 0.5355 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3923, allocations: 59.7 kB / 0.5356 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003329/0.3927, allocations: 197 kB / 0.5358 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.393, allocations: 218.4 kB / 0.536 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.393, allocations: 12.47 kB / 0.536 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.394, allocations: 0.5666 MB / 0.5365 GB, free: 8.977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.3942, allocations: 124.5 kB / 0.5367 GB, free: 8.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.3944, allocations: 182.1 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.3955, allocations: 0.7389 MB / 0.5376 GB, free: 8.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3955, allocations: 0 / 0.5376 GB, free: 8.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3955, allocations: 0 / 0.5376 GB, free: 8.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.3955, allocations: 1.281 kB / 0.5376 GB, free: 8.301 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.001352/0.3969, allocations: 0.7907 MB / 0.5383 GB, free: 7.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.397, allocations: 9.562 kB / 0.5383 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.3971, allocations: 100.9 kB / 0.5384 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.3972, allocations: 56.47 kB / 0.5385 GB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.3976, allocations: 312.9 kB / 0.5388 GB, free: 7.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.3977, allocations: 36.91 kB / 0.5388 GB, free: 7.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/0.3977, allocations: 46.67 kB / 0.5389 GB, free: 7.199 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.3988, allocations: 0.7137 MB / 0.5396 GB, free: 6.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.3989, allocations: 0 / 0.5396 GB, free: 6.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/0.3989, allocations: 20.17 kB / 0.5396 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-05/0.399, allocations: 57.56 kB / 0.5396 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.4003, allocations: 0.7403 MB / 0.5404 GB, free: 6.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.4026, allocations: 1.447 MB / 0.5418 GB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007864/0.4034, allocations: 460.7 kB / 0.5422 GB, free: 5.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.4037, allocations: 157.1 kB / 0.5424 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.31e-05/0.4038, allocations: 8.75 kB / 0.5424 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.4038, allocations: 35.95 kB / 0.5424 GB, free: 5.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.864e-06/0.4038, allocations: 7.938 kB / 0.5424 GB, free: 5.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001177/0.405, allocations: 0.5379 MB / 0.5429 GB, free: 4.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.405, allocations: 54.19 kB / 0.543 GB, free: 4.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006313/0.4057, allocations: 0.5305 MB / 0.5435 GB, free: 4.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.4057, allocations: 33.7 kB / 0.5435 GB, free: 4.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.4059, allocations: 240.5 kB / 0.5438 GB, free: 4.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.49e-05/0.406, allocations: 119 kB / 0.5439 GB, free: 3.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.4062, allocations: 90.05 kB / 0.544 GB, free: 3.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.4064, allocations: 362.8 kB / 0.5443 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.4067, allocations: 160.6 kB / 0.5445 GB, free: 3.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/0.4072, allocations: 302 kB / 0.5448 GB, free: 2.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008136/0.408, allocations: 0.4928 MB / 0.5452 GB, free: 2.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.408, allocations: 0 / 0.5452 GB, free: 2.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001001/0.409, allocations: 0.5322 MB / 0.5458 GB, free: 1.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.409, allocations: 10.34 kB / 0.5458 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.409, allocations: 4 kB / 0.5458 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.4091, allocations: 11.98 kB / 0.5458 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009721/0.4101, allocations: 219.8 kB / 0.546 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004432/0.4145, allocations: 7.314 MB / 0.5531 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.4149, allocations: 67.5 kB / 0.5532 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.415, allocations: 23.98 kB / 0.5532 GB, free: 9.934 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.0003249/0.4153, allocations: 229.5 kB / 0.5534 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/0.4154, allocations: 47.66 kB / 0.5535 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.4165, allocations: 0.5448 MB / 0.554 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.4166, allocations: 12.09 kB / 0.554 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4166, allocations: 3.938 kB / 0.554 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4166, allocations: 3.938 kB / 0.554 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005843/0.4172, allocations: 425.2 kB / 0.5544 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4172, allocations: 0 / 0.5544 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008576/0.418, allocations: 203.8 kB / 0.5546 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.4181, allocations: 4 kB / 0.5546 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.4181, allocations: 15.92 kB / 0.5547 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004265/0.4224, allocations: 7.302 MB / 0.5618 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4224, allocations: 8.031 kB / 0.5618 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008565/0.4233, allocations: 0.5078 MB / 0.5623 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.4234, allocations: 132.7 kB / 0.5624 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.367e-05/0.4235, allocations: 4 kB / 0.5624 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.4237, allocations: 7.984 kB / 0.5624 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.086e-05/0.4238, allocations: 27.97 kB / 0.5625 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.4239, allocations: 19.98 kB / 0.5625 GB, free: 72 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00046/0.4243, allocations: 383.1 kB / 0.5628 GB, free: 15.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4243, allocations: 0 / 0.5628 GB, free: 15.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000632/0.425, allocations: 179.6 kB / 0.563 GB, free: 15.52 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.00143/0.4264, allocations: 1.167 MB / 0.5642 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.428, allocations: 0.5632 MB / 0.5647 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.428, allocations: 0 / 0.5647 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.4291, allocations: 343.7 kB / 0.565 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.4296, allocations: 89.86 kB / 0.5651 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006914/0.4365, allocations: 5.3 MB / 0.5703 GB, free: 7.848 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005306/0.4371, allocations: 0.8897 MB / 0.5712 GB, free: 6.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003559/0.4374, allocations: 144.2 kB / 0.5713 GB, free: 6.785 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.4376, allocations: 147.3 kB / 0.5714 GB, free: 6.641 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4376, allocations: 0 / 0.5714 GB, free: 6.641 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04454/0.4822, allocations: 14.9 MB / 0.586 GB, free: 8.008 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.1, allocations: 16.25 kB / 0.586 GB, free: 7.996 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_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_evenGapOverall_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1)