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.Plate.kc_overall_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.Plate.kc_overall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_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.001736/0.001736, allocations: 104.1 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.002192/0.002192, 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.462/1.462, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.235/0.235, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.002265/0.002265, allocations: 90.72 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.113, allocations: 62.44 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.003192/0.1163, allocations: 1.694 MB / 481.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1181, allocations: 1.269 MB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.1182, allocations: 7.938 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.1185, allocations: 43.75 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.1188, allocations: 63.72 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.1192, allocations: 171.2 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.1195, allocations: 151.3 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.542e-05/0.1195, allocations: 17.39 kB / 483.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.932e-05/0.1196, allocations: 59.72 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.1198, allocations: 79.66 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.1198, allocations: 8 kB / 483.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000335/0.1202, allocations: 163.7 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.002e-05/0.1203, allocations: 43.88 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.813e-05/0.1204, allocations: 71.53 kB / 484.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.1207, allocations: 247.4 kB / 484.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1208, allocations: 0 / 484.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1208, allocations: 0 / 484.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.1208, allocations: 0 / 484.3 MB, free: 1.012 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007129/0.1215, allocations: 477 kB / 484.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1215, allocations: 8.031 kB / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.158e-05/0.1216, allocations: 46.73 kB / 484.8 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.1234, allocations: 204.5 kB / 485 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.1237, allocations: 232 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1237, allocations: 4.375 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/0.1238, allocations: 12.36 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006411/0.1244, allocations: 359.7 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1244, allocations: 3.984 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.1245, allocations: 8 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/0.1245, allocations: 15.98 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007157/0.1252, allocations: 371.6 kB / 486 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.1269, allocations: 0.7891 MB / 486.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006809/0.1276, allocations: 349.2 kB / 487.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002738/0.1278, allocations: 132.8 kB / 487.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.1279, allocations: 4.109 kB / 487.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1279, allocations: 34.5 kB / 487.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.1279, allocations: 0 / 487.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001033/0.129, allocations: 429 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.129, allocations: 55.39 kB / 487.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.1293, allocations: 226.3 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.1293, allocations: 25.7 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1294, allocations: 124.1 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.208e-05/0.1295, allocations: 39.36 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1296, allocations: 57.64 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1298, allocations: 330.8 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.1301, allocations: 135.7 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.1304, allocations: 143.3 kB / 488.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005947/0.131, allocations: 303 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.131, allocations: 0 / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007311/0.1317, allocations: 342.4 kB / 489.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.1317, allocations: 8 kB / 489.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1317, allocations: 0 / 489.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1318, allocations: 4.094 kB / 489.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02401/0.1558, allocations: 1.459 MB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03996/0.1958, allocations: 12.34 MB / 0.4915 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.1962, allocations: 23.77 kB / 0.4915 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.1962, allocations: 15.97 kB / 0.4915 GB, free: 12.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.1964, allocations: 145.7 kB / 0.4916 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.395e-05/0.1965, allocations: 15.81 kB / 0.4917 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.266e-05/0.1966, allocations: 41.56 kB / 0.4917 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1966, allocations: 0 / 0.4917 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.1966, allocations: 0 / 0.4917 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1966, allocations: 0 / 0.4917 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003784/0.197, allocations: 289.4 kB / 0.492 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.197, allocations: 0 / 0.492 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02332/0.2203, allocations: 1.455 MB / 0.4934 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.298e-05/0.2204, allocations: 4 kB / 0.4934 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-05/0.2205, allocations: 11.97 kB / 0.4934 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2484/0.4688, allocations: 12.32 MB / 0.5055 GB, free: 38.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4689, allocations: 3.844 kB / 0.5055 GB, free: 38.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009262/0.4698, allocations: 413.3 kB / 0.5058 GB, free: 38.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.4699, allocations: 97.22 kB / 0.5059 GB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.4699, allocations: 5.688 kB / 0.5059 GB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/0.4702, allocations: 21.94 kB / 0.506 GB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/0.4706, allocations: 55.34 kB / 0.506 GB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.4706, allocations: 14.52 kB / 0.506 GB, free: 38.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001771/0.4708, allocations: 172.5 kB / 0.5062 GB, free: 38.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.022e-06/0.4708, allocations: 2.062 kB / 0.5062 GB, free: 38.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007629/0.4716, allocations: 126.2 kB / 0.5063 GB, free: 38.68 MB / 382.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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001256/0.4728, allocations: 0.977 MB / 0.5073 GB, free: 38.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0203/0.4931, allocations: 1.422 MB / 0.5087 GB, free: 38.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.4932, allocations: 0 / 0.5087 GB, free: 38.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0196/0.5128, allocations: 1.274 MB / 0.5099 GB, free: 38.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.5134, allocations: 39.56 kB / 0.5099 GB, free: 38.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004336/0.5177, allocations: 2.711 MB / 0.5126 GB, free: 36.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.518, allocations: 0.7444 MB / 0.5133 GB, free: 36.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.5183, allocations: 46 kB / 0.5134 GB, free: 36.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.5184, allocations: 49.89 kB / 0.5134 GB, free: 36.04 MB / 382.1 MB Notification: Performance of SimCode: time 1.653e-06/0.5184, allocations: 1.125 kB / 0.5134 GB, free: 36.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/0.5508, allocations: 8.494 MB / 0.5217 GB, free: 33.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.43, allocations: 15.5 kB / 0.5217 GB, free: 33.62 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe 2>&1)