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_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_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.00186/0.00186, allocations: 122.8 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002245/0.002246, allocations: 201.2 kB / 18.74 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, 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.2279/0.2279, allocations: 46.11 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.002157/0.002157, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3232, 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_evenGapLaminar_KC): time 0.003585/0.3269, allocations: 2.178 MB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.3285, allocations: 0.9439 MB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.3287, allocations: 1.219 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.329, allocations: 69.27 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.3294, allocations: 141.9 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.3297, allocations: 93.38 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004927/0.3302, allocations: 484.3 kB / 0.5344 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.143e-05/0.3303, allocations: 59.42 kB / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.3306, allocations: 189.6 kB / 0.5347 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.3308, allocations: 217.5 kB / 0.5349 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.3309, allocations: 13.75 kB / 0.5349 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003494/0.3312, allocations: 187.9 kB / 0.5351 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.3314, allocations: 117.5 kB / 0.5352 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.3316, allocations: 198.2 kB / 0.5354 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006863/0.3323, allocations: 0.5383 MB / 0.5359 GB, free: 9.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3323, allocations: 1.125 kB / 0.5359 GB, free: 9.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.898e-06/0.3323, allocations: 0 / 0.5359 GB, free: 9.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.3323, allocations: 3.938 kB / 0.5359 GB, free: 9.512 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.001261/0.3336, allocations: 0.7589 MB / 0.5366 GB, free: 8.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3337, allocations: 13.31 kB / 0.5367 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/0.3338, allocations: 113 kB / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.464e-05/0.3339, allocations: 56.56 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.3343, allocations: 309.2 kB / 0.5371 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.3343, allocations: 36.64 kB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.479e-05/0.3344, allocations: 45.84 kB / 0.5372 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.3355, allocations: 0.7103 MB / 0.5379 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3355, allocations: 1.062 kB / 0.5379 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.3356, allocations: 16.28 kB / 0.5379 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.301e-05/0.3356, allocations: 61.61 kB / 0.538 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.3369, allocations: 0.7398 MB / 0.5387 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/0.3391, allocations: 1.44 MB / 0.5401 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007692/0.3399, allocations: 457.6 kB / 0.5405 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.3402, allocations: 161.5 kB / 0.5407 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.983e-05/0.3403, allocations: 8.281 kB / 0.5407 GB, free: 6.441 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.3403, allocations: 40.25 kB / 0.5407 GB, free: 6.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.983e-06/0.3403, allocations: 1.188 kB / 0.5407 GB, free: 6.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001178/0.3415, allocations: 0.5419 MB / 0.5413 GB, free: 6.152 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.3416, allocations: 55.47 kB / 0.5413 GB, free: 6.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006315/0.3422, allocations: 0.5305 MB / 0.5418 GB, free: 5.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.3422, allocations: 26.8 kB / 0.5418 GB, free: 5.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.3424, allocations: 246.3 kB / 0.5421 GB, free: 5.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.299e-05/0.3425, allocations: 99.7 kB / 0.5422 GB, free: 5.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.3427, allocations: 89.02 kB / 0.5423 GB, free: 5.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.3429, allocations: 355.8 kB / 0.5426 GB, free: 5.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/0.3432, allocations: 162 kB / 0.5428 GB, free: 4.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000401/0.3436, allocations: 243.5 kB / 0.543 GB, free: 4.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007634/0.3444, allocations: 443.5 kB / 0.5434 GB, free: 4.297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3444, allocations: 0 / 0.5434 GB, free: 4.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009266/0.3453, allocations: 0.4929 MB / 0.5439 GB, free: 3.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.3454, allocations: 10.5 kB / 0.5439 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3454, allocations: 0 / 0.5439 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.3454, allocations: 8 kB / 0.5439 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009549/0.3464, allocations: 212.2 kB / 0.5441 GB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004916/0.3513, allocations: 7.314 MB / 0.5513 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/0.3517, allocations: 67.53 kB / 0.5513 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.3518, allocations: 19.98 kB / 0.5513 GB, free: 11.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * 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.0003476/0.3521, allocations: 234.5 kB / 0.5516 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.171e-05/0.3522, allocations: 43.72 kB / 0.5516 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.3534, allocations: 0.5446 MB / 0.5521 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.3534, allocations: 4 kB / 0.5521 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.3534, allocations: 3.984 kB / 0.5521 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3534, allocations: 0 / 0.5521 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006394/0.3541, allocations: 433.2 kB / 0.5526 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3541, allocations: 4 kB / 0.5526 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007934/0.3549, allocations: 199.8 kB / 0.5528 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.3549, allocations: 112 / 0.5528 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.3549, allocations: 23.86 kB / 0.5528 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004656/0.3596, allocations: 7.31 MB / 0.5599 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3596, allocations: 0 / 0.5599 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008476/0.3605, allocations: 0.5194 MB / 0.5604 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.3606, allocations: 128.7 kB / 0.5605 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.326e-05/0.3607, allocations: 4 kB / 0.5605 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.361, allocations: 20.08 kB / 0.5606 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.9e-05/0.3611, allocations: 23.97 kB / 0.5606 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.3611, allocations: 15.98 kB / 0.5606 GB, free: 2.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004598/0.3616, allocations: 387 kB / 0.561 GB, free: 1.648 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3616, allocations: 0 / 0.561 GB, free: 1.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005257/0.3621, allocations: 139.8 kB / 0.5611 GB, free: 1.512 MB / 414.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.001319/0.3634, allocations: 1.083 MB / 0.5622 GB, free: 408 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001558/0.365, allocations: 0.5273 MB / 0.5627 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.365, allocations: 4 kB / 0.5627 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.366, allocations: 348.4 kB / 0.563 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.3666, allocations: 93.78 kB / 0.5631 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006917/0.3735, allocations: 5.249 MB / 0.5682 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.3741, allocations: 0.8894 MB / 0.5691 GB, free: 9.113 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003253/0.3744, allocations: 132.1 kB / 0.5692 GB, free: 8.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.3746, allocations: 143.4 kB / 0.5694 GB, free: 8.84 MB / 430.1 MB Notification: Performance of SimCode: time 2.625e-06/0.3746, allocations: 0 / 0.5694 GB, free: 8.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03938/0.414, allocations: 13.55 MB / 0.5826 GB, free: 11.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.87, allocations: 1.625 kB / 0.5826 GB, free: 11.56 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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_evenGapLaminar_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1)