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.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_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.001239/0.001239, 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.001255/0.001255, 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.455/1.455, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2304/0.2304, allocations: 46.11 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.002217/0.002217, allocations: 80.64 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1237, allocations: 62.46 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003511/0.1272, allocations: 2.016 MB / 482.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.1288, allocations: 0.8411 MB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.1289, allocations: 4 kB / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003015/0.1292, allocations: 59.66 kB / 483.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.1295, allocations: 115.4 kB / 483.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.1298, allocations: 71.72 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.1301, allocations: 310.6 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.192e-05/0.1302, allocations: 32.38 kB / 483.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.1304, allocations: 135.4 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.1306, allocations: 151.3 kB / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.1307, allocations: 8 kB / 484 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.1309, allocations: 127.8 kB / 484.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.25e-05/0.131, allocations: 67.73 kB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.1312, allocations: 107.2 kB / 484.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.1316, allocations: 342.9 kB / 484.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1316, allocations: 4 kB / 484.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1316, allocations: 0 / 484.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1316, allocations: 0 / 484.6 MB, free: 0.7422 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008533/0.1325, allocations: 0.5576 MB / 485.1 MB, free: 140 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1325, allocations: 8.031 kB / 485.2 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.52e-05/0.1326, allocations: 66.72 kB / 485.2 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.1327, allocations: 36.5 kB / 485.3 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.133, allocations: 248.1 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.133, allocations: 24.55 kB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.133, allocations: 24 kB / 485.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006336/0.1337, allocations: 393.2 kB / 485.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1337, allocations: 3.984 kB / 485.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.1337, allocations: 15.98 kB / 486 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.797e-05/0.1338, allocations: 24.64 kB / 486 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007426/0.1345, allocations: 406.3 kB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.1359, allocations: 0.8695 MB / 487.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005922/0.1365, allocations: 277.7 kB / 487.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.1367, allocations: 96.77 kB / 487.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.1368, allocations: 11.94 kB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1368, allocations: 34.5 kB / 487.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.1368, allocations: 0 / 487.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007754/0.1376, allocations: 329.1 kB / 488 MB, free: 13.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.1377, allocations: 59.41 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.138, allocations: 347.2 kB / 488.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.1381, allocations: 33.7 kB / 488.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1382, allocations: 164.2 kB / 488.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.1383, allocations: 51.3 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.005e-05/0.1384, allocations: 49.64 kB / 488.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1385, allocations: 342.8 kB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.1388, allocations: 95.89 kB / 489.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.139, allocations: 137.9 kB / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/0.1395, allocations: 256.8 kB / 489.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1395, allocations: 0 / 489.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005917/0.1401, allocations: 296.9 kB / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1402, allocations: 8 kB / 489.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1402, allocations: 3.938 kB / 489.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1402, allocations: 4 kB / 489.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/0.1407, allocations: 119.8 kB / 489.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.1431, allocations: 3.665 MB / 493.6 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.1433, allocations: 35.61 kB / 493.6 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.1433, allocations: 12 kB / 493.6 MB, free: 7.312 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,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 (21): * Single equations (assignments): 15 * 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.0002141/0.1436, allocations: 173.9 kB / 493.8 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.1436, allocations: 31.66 kB / 493.8 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000708/0.1443, allocations: 323.2 kB / 494.1 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1444, allocations: 4 kB / 494.1 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1444, allocations: 3.938 kB / 494.1 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1444, allocations: 0 / 494.1 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.1448, allocations: 313.3 kB / 494.4 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1448, allocations: 3.938 kB / 494.4 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004845/0.1453, allocations: 108 kB / 494.5 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1453, allocations: 4 kB / 494.6 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.1453, allocations: 11.98 kB / 494.6 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.1476, allocations: 3.657 MB / 498.2 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1476, allocations: 0 / 498.2 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.1482, allocations: 357.8 kB / 498.6 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.632e-05/0.1483, allocations: 112.9 kB / 498.7 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.1484, allocations: 0 / 498.7 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.1485, allocations: 11.98 kB / 498.7 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.1486, allocations: 11.98 kB / 498.7 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1486, allocations: 8 kB / 498.7 MB, free: 1.965 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002727/0.1489, allocations: 253.9 kB / 499 MB, free: 1.719 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1489, allocations: 0 / 499 MB, free: 1.719 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003654/0.1493, allocations: 83.91 kB / 499 MB, free: 1.637 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 (15): * Single equations (assignments): 9 * 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.0009834/0.1503, allocations: 0.9072 MB / 499.9 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009223/0.1512, allocations: 322.1 kB / 0.4885 GB, free: 400 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1512, allocations: 0 / 0.4885 GB, free: 400 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006196/0.1518, allocations: 200.2 kB / 0.4887 GB, free: 200 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.1523, allocations: 60.53 kB / 0.4888 GB, free: 140 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/0.1568, allocations: 3.404 MB / 0.4921 GB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.1573, allocations: 0.7948 MB / 0.4929 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001771/0.1575, allocations: 70.22 kB / 0.493 GB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.1576, allocations: 79.41 kB / 0.493 GB, free: 11.64 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1576, allocations: 0 / 0.493 GB, free: 11.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.034/0.1916, allocations: 8.416 MB / 0.5012 GB, free: 3.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.02, allocations: 17.58 kB / 0.5013 GB, free: 3.445 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1)