Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_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_0_0_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 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 94.11 kB / 16.98 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 181.1 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 241.8 MB, free: 400 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1942/0.1942, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003473, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1272, allocations: 61.92 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002633/0.1298, allocations: 1.61 MB / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1313, allocations: 0.7252 MB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1315, allocations: 0 / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.1318, allocations: 55.72 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.1321, allocations: 83.72 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.1324, allocations: 67.33 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.1327, allocations: 191.6 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1328, allocations: 32.38 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.1329, allocations: 87.58 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.1331, allocations: 119.5 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.1332, allocations: 8 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.1334, allocations: 115.9 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.702e-05/0.1335, allocations: 63.75 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.582e-05/0.1336, allocations: 61.58 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.1339, allocations: 219.7 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.1339, allocations: 0 / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1339, allocations: 4 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1339, allocations: 0 / 475 MB, free: 10.21 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.0007921/0.1347, allocations: 0.5106 MB / 475.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1348, allocations: 8.031 kB / 475.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.966e-05/0.1349, allocations: 66.53 kB / 475.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.1349, allocations: 35.56 kB / 475.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.1352, allocations: 247.2 kB / 475.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.1353, allocations: 16.56 kB / 475.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.1353, allocations: 31.94 kB / 475.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006413/0.1359, allocations: 393.2 kB / 476.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.136, allocations: 0 / 476.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.136, allocations: 4 kB / 476.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.304e-05/0.1361, allocations: 36.62 kB / 476.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007296/0.1368, allocations: 418.3 kB / 476.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.1382, allocations: 0.8891 MB / 477.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000583/0.1388, allocations: 298.2 kB / 477.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.1389, allocations: 0 / 477.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1389, allocations: 42.56 kB / 477.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 9.92e-07/0.1389, allocations: 0 / 477.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008049/0.1397, allocations: 388.3 kB / 478.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.1398, allocations: 51.41 kB / 478.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.1401, allocations: 347.3 kB / 478.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.1402, allocations: 29.7 kB / 478.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1403, allocations: 160.2 kB / 478.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/0.1403, allocations: 51.28 kB / 478.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.1404, allocations: 0 / 478.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1405, allocations: 342.8 kB / 479.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.1407, allocations: 104.3 kB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.141, allocations: 158.6 kB / 479.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.1412, allocations: 127.8 kB / 479.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1412, allocations: 0 / 479.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005757/0.1418, allocations: 317 kB / 480 MB, free: 4.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1418, allocations: 4 kB / 480 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1418, allocations: 4 kB / 480 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1419, allocations: 3.938 kB / 480 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/0.1424, allocations: 120 kB / 480.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.1446, allocations: 3.715 MB / 483.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.1448, allocations: 31.67 kB / 483.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.1448, allocations: 12 kB / 483.9 MB, free: 0.9492 MB / 350.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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001943/0.145, allocations: 172.4 kB / 484 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.1451, allocations: 23.72 kB / 484 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007181/0.1458, allocations: 359.2 kB / 484.4 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1458, allocations: 4 kB / 484.4 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1459, allocations: 3.953 kB / 484.4 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1459, allocations: 0 / 484.4 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.1463, allocations: 305.4 kB / 484.7 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1463, allocations: 0 / 484.7 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005148/0.1468, allocations: 111.9 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1468, allocations: 0 / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.1468, allocations: 7.984 kB / 484.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.149, allocations: 3.704 MB / 488.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/0.149, allocations: 11.94 kB / 488.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006345/0.1496, allocations: 377.9 kB / 488.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.1498, allocations: 112.8 kB / 489 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.1498, allocations: 0 / 489 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.15, allocations: 12 kB / 489 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.1501, allocations: 19.92 kB / 489 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.1501, allocations: 4 kB / 489 MB, free: 11.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003143/0.1504, allocations: 253.9 kB / 489.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1504, allocations: 0 / 489.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004164/0.1509, allocations: 80.02 kB / 489.4 MB, free: 11.19 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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001181/0.1521, allocations: 0.9267 MB / 490.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.1531, allocations: 334.7 kB / 490.6 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1531, allocations: 3.938 kB / 490.6 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006746/0.1538, allocations: 208.1 kB / 490.8 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.1542, allocations: 56.55 kB / 490.9 MB, free: 9.648 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.1576, allocations: 2.893 MB / 493.8 MB, free: 6.672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.1581, allocations: 0.8066 MB / 494.6 MB, free: 5.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001964/0.1583, allocations: 70.2 kB / 494.7 MB, free: 5.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.1584, allocations: 79.41 kB / 494.7 MB, free: 5.691 MB / 366.1 MB Notification: Performance of SimCode: time 1.192e-06/0.1584, allocations: 0 / 494.7 MB, free: 5.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.1807, allocations: 7.624 MB / 0.4906 GB, free: 14.38 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/0.181, allocations: 269.7 kB / 0.4908 GB, free: 14.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.14, allocations: 0 / 0.4908 GB, free: 14.02 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat