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_evenGapLaminar.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_evenGapLaminar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, 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.001347/0.001347, 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.467/1.467, 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.2294/0.2294, 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.003435/0.003435, allocations: 83.86 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.382, 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_evenGapLaminar): time 0.003989/0.386, allocations: 1.954 MB / 0.5325 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.3883, allocations: 1.164 MB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.3885, allocations: 7.188 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.3889, allocations: 63.72 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.3893, allocations: 106.6 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006354/0.3899, allocations: 154 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006886/0.3906, allocations: 476.4 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3907, allocations: 59.38 kB / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.391, allocations: 160.1 kB / 0.5347 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004091/0.3915, allocations: 201.3 kB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.763e-05/0.3915, allocations: 10.91 kB / 0.5349 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006537/0.3922, allocations: 270.8 kB / 0.5351 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.3924, allocations: 99.27 kB / 0.5352 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.3927, allocations: 188 kB / 0.5354 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008903/0.3936, allocations: 0.5556 MB / 0.5359 GB, free: 9.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3936, allocations: 0 / 0.5359 GB, free: 9.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.3936, allocations: 1.219 kB / 0.5359 GB, free: 9.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3936, allocations: 0 / 0.5359 GB, free: 9.508 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001241/0.3949, allocations: 0.7434 MB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.3949, allocations: 9.125 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001766/0.3951, allocations: 103.7 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.3952, allocations: 52.45 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.3956, allocations: 292.8 kB / 0.5371 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.3957, allocations: 38.28 kB / 0.5371 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.329e-05/0.3958, allocations: 47.44 kB / 0.5372 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.3968, allocations: 0.6375 MB / 0.5378 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.3968, allocations: 0 / 0.5378 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.3969, allocations: 24.59 kB / 0.5378 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.187e-05/0.397, allocations: 32.36 kB / 0.5379 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008964/0.3979, allocations: 0.5049 MB / 0.5383 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.4005, allocations: 1.424 MB / 0.5397 GB, free: 6.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008246/0.4014, allocations: 448.7 kB / 0.5402 GB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.4016, allocations: 137.3 kB / 0.5403 GB, free: 6.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-05/0.4017, allocations: 18 kB / 0.5403 GB, free: 6.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.4017, allocations: 35.91 kB / 0.5404 GB, free: 6.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.044e-06/0.4018, allocations: 1.375 kB / 0.5404 GB, free: 6.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.001107/0.4029, allocations: 0.4989 MB / 0.5408 GB, free: 6.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.4029, allocations: 53.66 kB / 0.5409 GB, free: 6.363 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007787/0.4037, allocations: 0.552 MB / 0.5414 GB, free: 6.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.4038, allocations: 31.02 kB / 0.5415 GB, free: 6.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.404, allocations: 224.8 kB / 0.5417 GB, free: 5.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.4041, allocations: 90.48 kB / 0.5418 GB, free: 5.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.4043, allocations: 85.7 kB / 0.5418 GB, free: 5.684 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000233/0.4045, allocations: 360.9 kB / 0.5422 GB, free: 5.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.4048, allocations: 163.2 kB / 0.5423 GB, free: 5.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/0.4053, allocations: 258.2 kB / 0.5426 GB, free: 5.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003834/0.4091, allocations: 1.054 MB / 0.5436 GB, free: 4.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.4091, allocations: 0 / 0.5436 GB, free: 4.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009271/0.4101, allocations: 0.5046 MB / 0.5441 GB, free: 3.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.4101, allocations: 8 kB / 0.5441 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.234e-05/0.4102, allocations: 39.98 kB / 0.5442 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.4102, allocations: 8 kB / 0.5442 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.4104, allocations: 39.92 kB / 0.5442 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.4104, allocations: 7.984 kB / 0.5442 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.4108, allocations: 63.81 kB / 0.5443 GB, free: 3.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.4109, allocations: 23.94 kB / 0.5443 GB, free: 3.391 MB / 398.1 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004387/0.4113, allocations: 229.9 kB / 0.5445 GB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-05/0.4114, allocations: 47.72 kB / 0.5446 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.4125, allocations: 0.5285 MB / 0.5451 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.4125, allocations: 4 kB / 0.5451 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4125, allocations: 4 kB / 0.5451 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.4125, allocations: 0 / 0.5451 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007038/0.4133, allocations: 437.1 kB / 0.5455 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.905e-05/0.4133, allocations: 39.98 kB / 0.5455 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.4135, allocations: 27.94 kB / 0.5456 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.4135, allocations: 3.984 kB / 0.5456 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.4136, allocations: 12 kB / 0.5456 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4136, allocations: 0 / 0.5456 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4136, allocations: 0 / 0.5456 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.4147, allocations: 0.7147 MB / 0.5463 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.4149, allocations: 128.8 kB / 0.5464 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.684e-05/0.415, allocations: 8 kB / 0.5464 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.4152, allocations: 7.938 kB / 0.5464 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.4152, allocations: 23.97 kB / 0.5464 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.4153, allocations: 16 kB / 0.5465 GB, free: 1.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005014/0.4158, allocations: 407 kB / 0.5468 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4158, allocations: 0 / 0.5468 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005629/0.4163, allocations: 143.8 kB / 0.547 GB, free: 0.5391 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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: 12 * 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.001669/0.418, allocations: 1.329 MB / 0.5483 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009388/0.419, allocations: 0.6719 MB / 0.5489 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.419, allocations: 0 / 0.5489 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005032/0.4195, allocations: 492.2 kB / 0.5494 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.4201, allocations: 90.67 kB / 0.5495 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007353/0.4274, allocations: 5.336 MB / 0.5547 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.428, allocations: 0.8896 MB / 0.5556 GB, free: 7.379 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003334/0.4284, allocations: 116.2 kB / 0.5557 GB, free: 7.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.4286, allocations: 135.4 kB / 0.5558 GB, free: 7.129 MB / 414.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4286, allocations: 0 / 0.5558 GB, free: 7.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04049/0.4691, allocations: 12.82 MB / 0.5683 GB, free: 10.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.763/9.232, allocations: 8.312 kB / 0.5683 GB, free: 10.53 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1)