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_laminar.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_laminar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001562/0.001563, allocations: 103.8 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.001916/0.001916, 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.454/1.454, 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.2265/0.2265, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002252/0.002253, allocations: 80.77 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1112, allocations: 62.45 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003334/0.1146, allocations: 1.837 MB / 482.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.1162, allocations: 1.012 MB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.722e-05/0.1163, allocations: 0 / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.1166, allocations: 47.69 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.1168, allocations: 75.59 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.1172, allocations: 119.5 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.1175, allocations: 215.2 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.506e-05/0.1175, allocations: 17.55 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.1178, allocations: 87.69 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.1179, allocations: 107.6 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.118, allocations: 8 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002636/0.1182, allocations: 127.8 kB / 483.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.645e-05/0.1183, allocations: 47.81 kB / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.828e-05/0.1184, allocations: 83.47 kB / 484 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.1188, allocations: 251.4 kB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1188, allocations: 3.984 kB / 484.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1188, allocations: 0 / 484.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1188, allocations: 4 kB / 484.2 MB, free: 1.078 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.001027/0.1199, allocations: 0.5262 MB / 484.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1199, allocations: 8.031 kB / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.659e-05/0.12, allocations: 46.73 kB / 484.8 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003646/0.1203, allocations: 56.62 kB / 484.9 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.1206, allocations: 224 kB / 485.1 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1206, allocations: 8.609 kB / 485.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.1206, allocations: 8.375 kB / 485.1 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005723/0.1212, allocations: 274.8 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1212, allocations: 0 / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.1213, allocations: 7.984 kB / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.248e-05/0.1213, allocations: 16.23 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006008/0.1219, allocations: 220.4 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.1231, allocations: 0.8138 MB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.1235, allocations: 191.7 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.1238, allocations: 102.5 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.1239, allocations: 4 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.1239, allocations: 42.69 kB / 486.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.1239, allocations: 0 / 486.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001008/0.1249, allocations: 313.3 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.125, allocations: 114.8 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.1253, allocations: 265 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.1253, allocations: 29.7 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.1254, allocations: 131.9 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.1255, allocations: 35.45 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-05/0.1256, allocations: 41.7 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1258, allocations: 334.8 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.126, allocations: 95.89 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.1264, allocations: 129 kB / 488.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005801/0.1269, allocations: 228.8 kB / 488.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.127, allocations: 4 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006958/0.1277, allocations: 273.1 kB / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1277, allocations: 10.5 kB / 488.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.339e-05/0.1277, allocations: 8 kB / 488.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1277, allocations: 4.156 kB / 488.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.128, allocations: 47.89 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.128, allocations: 4 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.1282, allocations: 31.77 kB / 488.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.1283, allocations: 15.92 kB / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001364/0.1284, allocations: 141.8 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.1285, allocations: 15.81 kB / 489 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000519/0.129, allocations: 227.5 kB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.129, allocations: 3.984 kB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.1291, allocations: 4 kB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1291, allocations: 3.938 kB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.1295, allocations: 257.4 kB / 489.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/0.1295, allocations: 15.98 kB / 489.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.1297, allocations: 27.97 kB / 489.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1297, allocations: 0 / 489.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.1298, allocations: 15.98 kB / 489.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1298, allocations: 0 / 489.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1298, allocations: 0 / 489.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007442/0.1305, allocations: 477.6 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.098e-05/0.1306, allocations: 104.8 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.1307, allocations: 8 kB / 490.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.1309, allocations: 15.97 kB / 490.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/0.131, allocations: 19.92 kB / 490.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.131, allocations: 4 kB / 490.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001939/0.1312, allocations: 192.4 kB / 490.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.446e-06/0.1312, allocations: 4 kB / 490.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004304/0.1317, allocations: 71.94 kB / 490.4 MB, free: 10.47 MB / 366.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001206/0.1329, allocations: 1.058 MB / 491.5 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007118/0.1336, allocations: 292.8 kB / 491.8 MB, free: 9.082 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1336, allocations: 0 / 491.8 MB, free: 9.082 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.134, allocations: 185.6 kB / 491.9 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.1345, allocations: 52.03 kB / 492 MB, free: 8.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/0.1388, allocations: 2.822 MB / 494.8 MB, free: 5.895 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.1392, allocations: 0.7436 MB / 495.6 MB, free: 5.125 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.1394, allocations: 41.52 kB / 495.6 MB, free: 5.086 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.1395, allocations: 47.42 kB / 495.6 MB, free: 5.039 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1395, allocations: 0 / 495.6 MB, free: 5.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.1688, allocations: 5.799 MB / 0.4897 GB, free: 15.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.212, allocations: 13.2 kB / 0.4897 GB, free: 15.4 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1)