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_evenGapTurbulent_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_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_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.001314/0.001314, allocations: 104 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.229/0.229, allocations: 46.11 MB / 344.2 MB, free: 11.56 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.002261/0.002262, allocations: 75.94 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.118, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003252/0.1213, allocations: 1.792 MB / 482 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1227, allocations: 0.8373 MB / 482.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.322e-05/0.1227, allocations: 4 kB / 482.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.123, allocations: 47.69 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.1233, allocations: 67.7 kB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.1235, allocations: 86.8 kB / 483.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.1237, allocations: 143.3 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.182e-05/0.1238, allocations: 17.11 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.1239, allocations: 63.75 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.1241, allocations: 83.61 kB / 483.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.1241, allocations: 8 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.1244, allocations: 159.8 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.012e-05/0.1245, allocations: 47.81 kB / 483.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.447e-05/0.1246, allocations: 47.67 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.1249, allocations: 207.5 kB / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1249, allocations: 0 / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1249, allocations: 0 / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1249, allocations: 0 / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006658/0.1256, allocations: 453.1 kB / 484.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1256, allocations: 12.03 kB / 484.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.322e-05/0.1257, allocations: 42.73 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.1257, allocations: 16.75 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.126, allocations: 206.8 kB / 484.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.126, allocations: 12.36 kB / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.126, allocations: 7.938 kB / 484.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.1264, allocations: 173.5 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1264, allocations: 4 kB / 484.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.1264, allocations: 11.98 kB / 484.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/0.1265, allocations: 15.92 kB / 484.8 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.1268, allocations: 163.9 kB / 484.9 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007688/0.1276, allocations: 496 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.128, allocations: 158.4 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.1282, allocations: 52.81 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.1282, allocations: 4 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.1282, allocations: 30.56 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.1283, allocations: 0 / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005416/0.1288, allocations: 201.3 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.1289, allocations: 55.41 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.1291, allocations: 204.3 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1291, allocations: 25.7 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.1292, allocations: 119.8 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.1292, allocations: 27.56 kB / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.1293, allocations: 37.7 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1294, allocations: 327.1 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.1296, allocations: 51.94 kB / 486.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.1297, allocations: 66.53 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.1301, allocations: 138.3 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1301, allocations: 0 / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003759/0.1304, allocations: 165.3 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1305, allocations: 4 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1305, allocations: 0 / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1305, allocations: 4.062 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.1308, allocations: 51.91 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007933/0.1316, allocations: 1.219 MB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.1317, allocations: 12.16 kB / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.1317, allocations: 15.98 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.1319, allocations: 125.8 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.132, allocations: 27.67 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004498/0.1324, allocations: 186.9 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1324, allocations: 0 / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1324, allocations: 0 / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1324, allocations: 4 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.1327, allocations: 225.5 kB / 488.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1327, allocations: 0 / 488.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.133, allocations: 47.97 kB / 488.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.133, allocations: 0 / 488.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.133, allocations: 4 kB / 488.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007549/0.1338, allocations: 1.223 MB / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1338, allocations: 0 / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.1342, allocations: 247.3 kB / 490.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.1343, allocations: 100.8 kB / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.1343, allocations: 3.938 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.1345, allocations: 8.281 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.1345, allocations: 11.98 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.1345, allocations: 7.938 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.1347, allocations: 145.2 kB / 490.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1347, allocations: 4 kB / 490.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000313/0.135, allocations: 40 kB / 490.7 MB, free: 10.17 MB / 366.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008453/0.1358, allocations: 0.8097 MB / 491.5 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005467/0.1364, allocations: 159.8 kB / 491.7 MB, free: 9.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.1364, allocations: 0 / 491.7 MB, free: 9.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.1367, allocations: 91.86 kB / 491.8 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.137, allocations: 20.45 kB / 491.8 MB, free: 9.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.14, allocations: 2.145 MB / 493.9 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.1403, allocations: 0.7318 MB / 494.7 MB, free: 6.074 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.1405, allocations: 33.06 kB / 494.7 MB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.1405, allocations: 39.42 kB / 494.7 MB, free: 6.004 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1405, allocations: 0 / 494.7 MB, free: 6.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.1695, allocations: 4.612 MB / 499.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.72, allocations: 4.297 kB / 499.4 MB, free: 1.625 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_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_evenGapTurbulent_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1)