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.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,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",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.0009808/0.0009809, allocations: 97.52 kB / 16.98 MB, free: 6.402 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.001036/0.001036, allocations: 183.5 kB / 17.87 MB, free: 5.957 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.315/1.315, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1941/0.1941, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.00033, allocations: 13.59 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1164, allocations: 61.91 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.001895/0.1183, allocations: 1.673 MB / 473.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.1198, allocations: 1.107 MB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.1199, allocations: 4 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.1201, allocations: 59.7 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.1202, allocations: 55.81 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.1206, allocations: 151.6 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.1209, allocations: 287.4 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.485e-05/0.121, allocations: 48.7 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.1212, allocations: 135.3 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.1213, allocations: 147.3 kB / 475.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.1214, allocations: 12 kB / 475.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004101/0.1218, allocations: 251.7 kB / 475.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.1219, allocations: 75.7 kB / 475.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.767e-05/0.122, allocations: 89.39 kB / 475.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.1223, allocations: 347.4 kB / 476 MB, free: 9.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.674e-06/0.1223, allocations: 0 / 476 MB, free: 9.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1223, allocations: 0 / 476 MB, free: 9.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1223, allocations: 0 / 476 MB, free: 9.184 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0009459/0.1233, allocations: 0.6666 MB / 476.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1233, allocations: 8.031 kB / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.1235, allocations: 82.52 kB / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.901e-05/0.1235, allocations: 39.53 kB / 476.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.1239, allocations: 271.4 kB / 477 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.1239, allocations: 29 kB / 477.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.124, allocations: 39.95 kB / 477.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000841/0.1248, allocations: 0.5808 MB / 477.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1248, allocations: 3.984 kB / 477.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.1249, allocations: 16 kB / 477.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/0.1249, allocations: 20.98 kB / 477.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008084/0.1257, allocations: 435.6 kB / 478.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.1275, allocations: 1.289 MB / 479.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005826/0.1281, allocations: 315.5 kB / 479.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.1282, allocations: 7.953 kB / 479.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.1282, allocations: 42.5 kB / 479.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.194e-06/0.1282, allocations: 0 / 479.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001315/0.1296, allocations: 0.7542 MB / 480.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.1296, allocations: 102.8 kB / 480.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.1302, allocations: 0.4939 MB / 481.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.1302, allocations: 29.7 kB / 481.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.1304, allocations: 208.2 kB / 481.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.1304, allocations: 59.19 kB / 481.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.1304, allocations: 4 kB / 481.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1306, allocations: 354.8 kB / 481.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/0.1309, allocations: 156.1 kB / 481.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.1313, allocations: 234.5 kB / 482.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.1317, allocations: 179.8 kB / 482.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1317, allocations: 0 / 482.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008891/0.1326, allocations: 475.4 kB / 482.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1326, allocations: 4 kB / 482.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-05/0.1327, allocations: 35.97 kB / 482.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.1327, allocations: 4 kB / 482.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.1329, allocations: 39.89 kB / 482.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1329, allocations: 7.938 kB / 482.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.1332, allocations: 63.52 kB / 482.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.1332, allocations: 15.98 kB / 483 MB, free: 1.816 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002395/0.1335, allocations: 198.2 kB / 483.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.1336, allocations: 43.47 kB / 483.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008303/0.1344, allocations: 444.7 kB / 483.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.1345, allocations: 4 kB / 483.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1345, allocations: 4 kB / 483.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.1345, allocations: 0 / 483.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005336/0.135, allocations: 373.4 kB / 484 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-05/0.1351, allocations: 27.98 kB / 484 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.1352, allocations: 31.97 kB / 484.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.1352, allocations: 3.953 kB / 484.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.1353, allocations: 15.97 kB / 484.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1353, allocations: 0 / 484.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1353, allocations: 0 / 484.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008613/0.1361, allocations: 0.6572 MB / 484.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.1363, allocations: 116.6 kB / 484.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/0.1364, allocations: 4 kB / 484.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.1366, allocations: 27.98 kB / 484.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.537e-05/0.1367, allocations: 19.97 kB / 484.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.1368, allocations: 12 kB / 484.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003998/0.1372, allocations: 359 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1372, allocations: 0 / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006105/0.1378, allocations: 127.8 kB / 485.4 MB, free: 15.27 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001643/0.1394, allocations: 1.396 MB / 486.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009877/0.1404, allocations: 0.5777 MB / 487.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.1405, allocations: 3.938 kB / 487.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005215/0.141, allocations: 419.5 kB / 487.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.1415, allocations: 85.59 kB / 487.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004826/0.1463, allocations: 4.453 MB / 492.3 MB, free: 8.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.1468, allocations: 0.8616 MB / 493.2 MB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002037/0.147, allocations: 59.25 kB / 493.2 MB, free: 7.145 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.1472, allocations: 115.4 kB / 493.3 MB, free: 7.031 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1472, allocations: 0 / 493.3 MB, free: 7.031 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.1695, allocations: 10.86 MB / 0.4924 GB, free: 12.45 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.1698, allocations: 250.1 kB / 0.4926 GB, free: 12.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.064, allocations: 0 / 0.4926 GB, free: 12.2 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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_res.mat does not exist to compare? outputFormat=mat