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.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,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 206 kB / 18.74 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.418/1.418, allocations: 227.4 MB / 247 MB, free: 10.39 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.226/0.226, allocations: 46.12 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.002147/0.002147, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3452, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003555/0.3488, allocations: 2.226 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003332/0.3522, allocations: 2.153 MB / 0.5349 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.3523, allocations: 1.781 kB / 0.5349 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.3527, allocations: 72.89 kB / 0.535 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.3529, allocations: 100 kB / 0.5351 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.3541, allocations: 435.3 kB / 0.5355 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005999/0.3547, allocations: 0.5102 MB / 0.536 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3548, allocations: 64.66 kB / 0.536 GB, free: 9.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.3551, allocations: 181.4 kB / 0.5362 GB, free: 9.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.3554, allocations: 203.8 kB / 0.5364 GB, free: 8.984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.3555, allocations: 17.66 kB / 0.5364 GB, free: 8.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.3566, allocations: 0.6663 MB / 0.5371 GB, free: 8.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.3568, allocations: 105.6 kB / 0.5372 GB, free: 8.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.357, allocations: 205.4 kB / 0.5374 GB, free: 8.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.3581, allocations: 0.7999 MB / 0.5382 GB, free: 7.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3581, allocations: 0.9375 kB / 0.5382 GB, free: 7.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3582, allocations: 0 / 0.5382 GB, free: 7.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.3582, allocations: 0.9688 kB / 0.5382 GB, free: 7.852 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001423/0.3596, allocations: 0.8238 MB / 0.539 GB, free: 7.164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.3597, allocations: 13.94 kB / 0.539 GB, free: 7.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.3598, allocations: 99.27 kB / 0.5391 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004245/0.3602, allocations: 90.84 kB / 0.5392 GB, free: 7.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.3607, allocations: 311.8 kB / 0.5395 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.3607, allocations: 37.25 kB / 0.5395 GB, free: 6.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.271e-05/0.3608, allocations: 51.97 kB / 0.5395 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.3619, allocations: 0.6959 MB / 0.5402 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.362, allocations: 0 / 0.5402 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.64e-05/0.362, allocations: 24.42 kB / 0.5402 GB, free: 6.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.362, allocations: 20.41 kB / 0.5403 GB, free: 6.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009473/0.363, allocations: 0.498 MB / 0.5408 GB, free: 6.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.3651, allocations: 1.506 MB / 0.5422 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006098/0.3657, allocations: 318.1 kB / 0.5425 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/0.3661, allocations: 157.2 kB / 0.5427 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.38e-05/0.3662, allocations: 21.81 kB / 0.5427 GB, free: 4.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.3662, allocations: 35.78 kB / 0.5427 GB, free: 4.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.214e-06/0.3662, allocations: 1.094 kB / 0.5427 GB, free: 4.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001366/0.3676, allocations: 0.5151 MB / 0.5432 GB, free: 4.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/0.3677, allocations: 113.8 kB / 0.5433 GB, free: 4.309 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006992/0.3684, allocations: 0.5697 MB / 0.5439 GB, free: 3.871 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.3684, allocations: 25.7 kB / 0.5439 GB, free: 3.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.3687, allocations: 232.4 kB / 0.5441 GB, free: 3.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.294e-05/0.3687, allocations: 79.33 kB / 0.5442 GB, free: 3.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.3689, allocations: 81.64 kB / 0.5443 GB, free: 3.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3691, allocations: 366.8 kB / 0.5446 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/0.3695, allocations: 151.8 kB / 0.5448 GB, free: 2.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.3699, allocations: 252.7 kB / 0.545 GB, free: 2.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009021/0.3708, allocations: 432.3 kB / 0.5454 GB, free: 2.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3709, allocations: 0 / 0.5454 GB, free: 2.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001067/0.3719, allocations: 488.7 kB / 0.5459 GB, free: 1.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.372, allocations: 14.28 kB / 0.5459 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.088e-05/0.3721, allocations: 55.91 kB / 0.546 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.3721, allocations: 4.438 kB / 0.546 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.3723, allocations: 35.91 kB / 0.546 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.3723, allocations: 11.94 kB / 0.546 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.3727, allocations: 63.53 kB / 0.5461 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.3727, allocations: 20 kB / 0.5461 GB, free: 1.488 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * 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.0002761/0.373, allocations: 225.5 kB / 0.5463 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.3731, allocations: 51.61 kB / 0.5464 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009553/0.3741, allocations: 468.6 kB / 0.5468 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.3741, allocations: 7.984 kB / 0.5468 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3741, allocations: 0 / 0.5468 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3742, allocations: 3.938 kB / 0.5468 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000642/0.3748, allocations: 401.3 kB / 0.5472 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.785e-05/0.3749, allocations: 39.98 kB / 0.5473 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.375, allocations: 27.91 kB / 0.5473 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.375, allocations: 0 / 0.5473 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.3751, allocations: 19.98 kB / 0.5473 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3751, allocations: 4 kB / 0.5473 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3751, allocations: 3.938 kB / 0.5473 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009608/0.3761, allocations: 0.6222 MB / 0.5479 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.3762, allocations: 128.8 kB / 0.548 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.681e-05/0.3763, allocations: 7.984 kB / 0.548 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.3766, allocations: 15.98 kB / 0.5481 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.076e-05/0.3767, allocations: 31.84 kB / 0.5481 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.3767, allocations: 16 kB / 0.5481 GB, free: 15.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004707/0.3772, allocations: 410.8 kB / 0.5485 GB, free: 14.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3772, allocations: 4 kB / 0.5485 GB, free: 14.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007045/0.3779, allocations: 183.5 kB / 0.5487 GB, free: 14.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * 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.001759/0.3797, allocations: 1.304 MB / 0.5499 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.3808, allocations: 0.668 MB / 0.5506 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3808, allocations: 0 / 0.5506 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005936/0.3814, allocations: 488.2 kB / 0.5511 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007052/0.3821, allocations: 106.5 kB / 0.5512 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007931/0.39, allocations: 5.405 MB / 0.5564 GB, free: 6.453 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006046/0.3907, allocations: 0.8818 MB / 0.5573 GB, free: 5.543 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002149/0.3909, allocations: 79.33 kB / 0.5574 GB, free: 5.465 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.3911, allocations: 135.4 kB / 0.5575 GB, free: 5.332 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3911, allocations: 0 / 0.5575 GB, free: 5.332 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04039/0.4315, allocations: 14.24 MB / 0.5714 GB, free: 7.301 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.805/9.237, allocations: 15.89 kB / 0.5714 GB, free: 7.285 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1)