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_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_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_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.001777/0.001777, 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.002142/0.002142, 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.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.62 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.2522/0.2522, allocations: 46.12 MB / 344.2 MB, free: 11.61 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.00227/0.00227, allocations: 87.42 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1126, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.002998/0.1156, allocations: 1.709 MB / 481.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1168, allocations: 0.7556 MB / 482.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.1169, allocations: 0 / 482.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.1171, allocations: 31.83 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.1174, allocations: 63.7 kB / 482.8 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.1175, allocations: 59.75 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.1178, allocations: 159.3 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.1178, allocations: 13.39 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.42e-05/0.1179, allocations: 63.7 kB / 483.1 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1181, allocations: 75.72 kB / 483.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.1181, allocations: 4 kB / 483.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.1182, allocations: 67.83 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.644e-05/0.1183, allocations: 51.83 kB / 483.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.1184, allocations: 63.59 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.1187, allocations: 167.7 kB / 483.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1187, allocations: 0 / 483.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1187, allocations: 3.938 kB / 483.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1187, allocations: 0 / 483.5 MB, free: 1.859 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.0006372/0.1193, allocations: 466.8 kB / 484 MB, free: 1.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1194, allocations: 8.031 kB / 484 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.471e-05/0.1194, allocations: 54.73 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005242/0.12, allocations: 76.59 kB / 484.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.1202, allocations: 218.3 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.1202, allocations: 12.36 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.1202, allocations: 12.31 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/0.1207, allocations: 263.9 kB / 484.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1207, allocations: 0 / 484.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.1208, allocations: 7.984 kB / 484.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.1208, allocations: 19.98 kB / 484.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004912/0.1213, allocations: 243.7 kB / 484.9 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.1225, allocations: 0.6525 MB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.1229, allocations: 222.3 kB / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.1231, allocations: 84.83 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1232, allocations: 0 / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1232, allocations: 42.55 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.1232, allocations: 0 / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006934/0.1239, allocations: 281.2 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.1239, allocations: 55.41 kB / 486.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.1242, allocations: 234.1 kB / 486.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.1242, allocations: 25.7 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1243, allocations: 123.9 kB / 486.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.1244, allocations: 51.3 kB / 486.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.651e-05/0.1245, allocations: 37.69 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1246, allocations: 330.8 kB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.1248, allocations: 79.91 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.1251, allocations: 111.3 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.1255, allocations: 202.5 kB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1255, allocations: 112 / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005007/0.126, allocations: 257.2 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.126, allocations: 4 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.126, allocations: 4 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.126, allocations: 0 / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/0.1284, allocations: 271.6 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.1388, allocations: 9.237 MB / 497.1 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.1391, allocations: 23.86 kB / 497.1 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.1391, allocations: 8 kB / 497.1 MB, free: 3.117 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.0001521/0.1393, allocations: 141.7 kB / 497.3 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.1393, allocations: 23.84 kB / 497.3 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000522/0.1399, allocations: 246.9 kB / 497.5 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1399, allocations: 0 / 497.5 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1399, allocations: 4 kB / 497.5 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1399, allocations: 4 kB / 497.5 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.1402, allocations: 245.3 kB / 497.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1402, allocations: 0 / 497.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/0.1419, allocations: 219.7 kB / 498 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.1419, allocations: 0 / 498 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1419, allocations: 7.875 kB / 498 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008188/0.1501, allocations: 8.744 MB / 0.4949 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1501, allocations: 0 / 0.4949 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.1507, allocations: 305.8 kB / 0.4952 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.569e-05/0.1507, allocations: 96.84 kB / 0.4953 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.1508, allocations: 4 kB / 0.4953 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.151, allocations: 15.98 kB / 0.4953 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.1511, allocations: 15.97 kB / 0.4953 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1511, allocations: 11.94 kB / 0.4953 GB, free: 8.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.1513, allocations: 187.1 kB / 0.4955 GB, free: 7.949 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1513, allocations: 0 / 0.4955 GB, free: 7.949 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004418/0.1518, allocations: 64 kB / 0.4955 GB, free: 7.887 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.0008088/0.1526, allocations: 0.8214 MB / 0.4964 GB, free: 7.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.1547, allocations: 0.6192 MB / 0.497 GB, free: 6.418 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.1548, allocations: 4 kB / 0.497 GB, free: 6.414 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.1561, allocations: 408.3 kB / 0.4973 GB, free: 6.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.1565, allocations: 35.91 kB / 0.4974 GB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.1601, allocations: 2.543 MB / 0.4999 GB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.1605, allocations: 0.7597 MB / 0.5006 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004165/0.161, allocations: 113.4 kB / 0.5007 GB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.1612, allocations: 91.36 kB / 0.5008 GB, free: 2.359 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1612, allocations: 0 / 0.5008 GB, free: 2.359 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2104/0.3716, allocations: 10.15 MB / 0.5107 GB, free: 41.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.366/8.738, allocations: 7.625 kB / 0.5107 GB, free: 41.43 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1)