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_turbulent_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_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_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.001302/0.001302, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001353, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.8 MB, free: 10.57 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.2268/0.2268, allocations: 46.1 MB / 344.2 MB, free: 11.58 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.002257/0.002257, allocations: 78.25 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1326, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.003375/0.1361, allocations: 1.705 MB / 481.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1374, allocations: 0.7517 MB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.1375, allocations: 0 / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.1377, allocations: 39.81 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.138, allocations: 63.72 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.1383, allocations: 63.75 kB / 482.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.1385, allocations: 155.3 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.1386, allocations: 13.39 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.1388, allocations: 67.69 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.1389, allocations: 67.75 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.1389, allocations: 11.94 kB / 483.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.1391, allocations: 79.8 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.861e-05/0.1392, allocations: 39.89 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.205e-05/0.1393, allocations: 67.55 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.1396, allocations: 179.6 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1396, allocations: 4 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1397, allocations: 0 / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1397, allocations: 0 / 483.5 MB, free: 1.809 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.0007536/0.1404, allocations: 466.8 kB / 484 MB, free: 1.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1405, allocations: 8.031 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.886e-05/0.1405, allocations: 50.67 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006454/0.1412, allocations: 80.64 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.1415, allocations: 224 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1415, allocations: 8.375 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.1415, allocations: 8.359 kB / 484.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/0.1421, allocations: 311.8 kB / 484.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1421, allocations: 0 / 484.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.1422, allocations: 0 / 484.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.092e-05/0.1422, allocations: 27.92 kB / 484.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005954/0.1428, allocations: 291.7 kB / 485 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.1442, allocations: 0.712 MB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005424/0.1448, allocations: 278.3 kB / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.145, allocations: 100.8 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.1451, allocations: 4 kB / 486.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1451, allocations: 38.56 kB / 486.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.1451, allocations: 0 / 486.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008865/0.146, allocations: 349.1 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.1461, allocations: 51.41 kB / 486.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.1463, allocations: 230.3 kB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.1464, allocations: 25.7 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.1465, allocations: 128.1 kB / 486.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.1465, allocations: 43.3 kB / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/0.1466, allocations: 41.69 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1468, allocations: 334.8 kB / 487.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.147, allocations: 95.88 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.1473, allocations: 131.3 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/0.1478, allocations: 241.3 kB / 487.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1478, allocations: 7.938 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006311/0.1485, allocations: 293.2 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1485, allocations: 8 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1485, allocations: 3.984 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1485, allocations: 0 / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02012/0.1687, allocations: 0.9241 MB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.023/0.1917, allocations: 10.74 MB / 499.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.1921, allocations: 23.86 kB / 499.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.1921, allocations: 7.984 kB / 499.7 MB, free: 0.4922 MB / 366.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.0001741/0.1923, allocations: 149.6 kB / 499.9 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.1924, allocations: 19.88 kB / 499.9 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006563/0.1989, allocations: 0.6286 MB / 0.4888 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.199, allocations: 0 / 0.4888 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.199, allocations: 0 / 0.4888 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.199, allocations: 4 kB / 0.4888 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.1994, allocations: 277.4 kB / 0.4891 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1994, allocations: 0 / 0.4891 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.1997, allocations: 35.97 kB / 0.4891 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005036/0.2047, allocations: 310 kB / 0.4894 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.2048, allocations: 15.97 kB / 0.4894 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01819/0.223, allocations: 10.31 MB / 0.4995 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.223, allocations: 0 / 0.4995 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006633/0.2296, allocations: 0.673 MB / 0.5001 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.2298, allocations: 104.8 kB / 0.5002 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.2299, allocations: 0 / 0.5002 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.2301, allocations: 11.98 kB / 0.5002 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.2304, allocations: 51.84 kB / 0.5003 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.2304, allocations: 7.984 kB / 0.5003 GB, free: 2.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.2306, allocations: 163.2 kB / 0.5005 GB, free: 2.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2306, allocations: 0 / 0.5005 GB, free: 2.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006214/0.2313, allocations: 96 kB / 0.5005 GB, free: 2.672 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): 3 * Torn equation systems: 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006989/0.2383, allocations: 1.225 MB / 0.5017 GB, free: 1.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01983/0.2581, allocations: 1.138 MB / 0.5029 GB, free: 284 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.2582, allocations: 3.938 kB / 0.5029 GB, free: 280 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.192/0.4501, allocations: 0.5273 MB / 0.5034 GB, free: 40.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.4506, allocations: 33.47 kB / 0.5034 GB, free: 40.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005347/0.456, allocations: 2.78 MB / 0.5061 GB, free: 39.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.4563, allocations: 0.7497 MB / 0.5069 GB, free: 39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001753/0.4564, allocations: 48.89 kB / 0.5069 GB, free: 39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.872e-05/0.4566, allocations: 52.97 kB / 0.507 GB, free: 39 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4566, allocations: 0.875 kB / 0.507 GB, free: 39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04296/0.4995, allocations: 9.823 MB / 0.5165 GB, free: 37.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.5, allocations: 9.094 kB / 0.5166 GB, free: 37.05 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_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_turbulent_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1)