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.001465/0.001465, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, 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.2226/0.2226, allocations: 46.13 MB / 344.4 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.002301/0.002301, allocations: 79.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3248, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.003354/0.3282, allocations: 1.959 MB / 0.5325 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.3302, allocations: 1.167 MB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.3303, allocations: 2.75 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.3306, allocations: 68.08 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.3309, allocations: 98.67 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.3314, allocations: 162.4 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005104/0.3319, allocations: 479 kB / 0.5345 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.748e-05/0.332, allocations: 55.17 kB / 0.5345 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.3321, allocations: 157.2 kB / 0.5347 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.3324, allocations: 197.5 kB / 0.5348 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.3325, allocations: 15.38 kB / 0.5349 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004837/0.333, allocations: 278 kB / 0.5351 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.3331, allocations: 92.22 kB / 0.5352 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.3333, allocations: 191.4 kB / 0.5354 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007994/0.3341, allocations: 0.5593 MB / 0.5359 GB, free: 9.531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3341, allocations: 0 / 0.5359 GB, free: 9.531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3341, allocations: 1.031 kB / 0.5359 GB, free: 9.531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3341, allocations: 0 / 0.5359 GB, free: 9.531 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.001164/0.3353, allocations: 0.7398 MB / 0.5367 GB, free: 8.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3353, allocations: 13.12 kB / 0.5367 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/0.3355, allocations: 100.4 kB / 0.5368 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.529e-05/0.3356, allocations: 51.39 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.336, allocations: 300.1 kB / 0.5371 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.336, allocations: 33.53 kB / 0.5371 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.268e-05/0.3361, allocations: 51.75 kB / 0.5372 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009571/0.3371, allocations: 0.6333 MB / 0.5378 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3371, allocations: 0 / 0.5378 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.3371, allocations: 20.22 kB / 0.5378 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-05/0.3372, allocations: 32.83 kB / 0.5379 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008503/0.338, allocations: 0.5136 MB / 0.5384 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.3405, allocations: 1.427 MB / 0.5398 GB, free: 6.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000762/0.3412, allocations: 430.6 kB / 0.5402 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.3415, allocations: 145.4 kB / 0.5403 GB, free: 6.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.097e-05/0.3416, allocations: 13.48 kB / 0.5403 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.3416, allocations: 35.81 kB / 0.5404 GB, free: 6.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.914e-06/0.3416, allocations: 1.094 kB / 0.5404 GB, free: 6.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.001023/0.3426, allocations: 0.4989 MB / 0.5408 GB, free: 6.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.3427, allocations: 54.03 kB / 0.5409 GB, free: 6.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006728/0.3434, allocations: 0.5481 MB / 0.5414 GB, free: 6.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.3434, allocations: 30.83 kB / 0.5415 GB, free: 6.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.3436, allocations: 233 kB / 0.5417 GB, free: 5.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.406e-05/0.3437, allocations: 93.88 kB / 0.5418 GB, free: 5.758 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.3439, allocations: 85.52 kB / 0.5418 GB, free: 5.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.3441, allocations: 361.5 kB / 0.5422 GB, free: 5.359 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.3444, allocations: 159.8 kB / 0.5423 GB, free: 5.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.3448, allocations: 257.1 kB / 0.5426 GB, free: 5.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003814/0.3486, allocations: 1.051 MB / 0.5436 GB, free: 4.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3486, allocations: 0 / 0.5436 GB, free: 4.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009181/0.3495, allocations: 0.501 MB / 0.5441 GB, free: 3.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.3496, allocations: 8 kB / 0.5441 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.891e-05/0.3496, allocations: 39.98 kB / 0.5442 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.3497, allocations: 4 kB / 0.5442 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.3499, allocations: 39.86 kB / 0.5442 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/0.3499, allocations: 15.92 kB / 0.5442 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.3502, allocations: 71.34 kB / 0.5443 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.3502, allocations: 20 kB / 0.5443 GB, free: 3.422 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.0003442/0.3506, allocations: 226.1 kB / 0.5445 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.968e-05/0.3507, allocations: 39.72 kB / 0.5446 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.3517, allocations: 0.5323 MB / 0.5451 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.3517, allocations: 4 kB / 0.5451 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3518, allocations: 0 / 0.5451 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3518, allocations: 4 kB / 0.5451 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006753/0.3524, allocations: 437.1 kB / 0.5455 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.642e-05/0.3525, allocations: 43.98 kB / 0.5455 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.3527, allocations: 31.98 kB / 0.5456 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3527, allocations: 4 kB / 0.5456 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.3527, allocations: 12 kB / 0.5456 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3528, allocations: 0 / 0.5456 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3528, allocations: 0 / 0.5456 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.3539, allocations: 0.7147 MB / 0.5463 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.354, allocations: 124.8 kB / 0.5464 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.956e-05/0.3541, allocations: 8 kB / 0.5464 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.3543, allocations: 8.062 kB / 0.5464 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.3544, allocations: 27.97 kB / 0.5464 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.3544, allocations: 16 kB / 0.5465 GB, free: 1.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004721/0.3549, allocations: 399 kB / 0.5468 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3549, allocations: 4 kB / 0.5468 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005357/0.3555, allocations: 147.8 kB / 0.547 GB, free: 0.5703 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.001662/0.3571, allocations: 1.321 MB / 0.5483 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008937/0.358, allocations: 0.6758 MB / 0.5489 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.358, allocations: 0 / 0.5489 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004829/0.3585, allocations: 492.2 kB / 0.5494 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.3591, allocations: 94.59 kB / 0.5495 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007312/0.3664, allocations: 5.34 MB / 0.5547 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006011/0.367, allocations: 0.8857 MB / 0.5556 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002891/0.3673, allocations: 116.2 kB / 0.5557 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.3675, allocations: 135.4 kB / 0.5558 GB, free: 7.16 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3675, allocations: 0 / 0.5558 GB, free: 7.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03845/0.406, allocations: 12.81 MB / 0.5683 GB, free: 10.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.611/9.017, allocations: 8.312 kB / 0.5683 GB, free: 10.56 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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)