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.0009976/0.0009977, allocations: 95.25 kB / 17 MB, free: 6.09 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.001115/0.001115, allocations: 180.3 kB / 17.89 MB, free: 5.672 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.357/1.357, allocations: 223.2 MB / 241.9 MB, free: 268 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.2133/0.2133, allocations: 44.22 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003269, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.117, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002132/0.1192, allocations: 1.653 MB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1203, allocations: 0.7406 MB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.1204, allocations: 0 / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.1207, allocations: 59.67 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.1209, allocations: 115.5 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.1211, allocations: 51.81 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003827/0.1215, allocations: 374.5 kB / 474.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.04e-05/0.1216, allocations: 36.38 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.1218, allocations: 115.4 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.1221, allocations: 151.4 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.1221, allocations: 4 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.1224, allocations: 127.8 kB / 475.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.245e-05/0.1224, allocations: 63.73 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.971e-05/0.1225, allocations: 61.58 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.1228, allocations: 251.5 kB / 475.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1228, allocations: 0 / 475.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1229, allocations: 0 / 475.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1229, allocations: 0 / 475.4 MB, free: 9.82 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.0008478/0.1237, allocations: 0.5185 MB / 476 MB, free: 9.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1238, allocations: 8.031 kB / 476 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.474e-05/0.1239, allocations: 70.52 kB / 476 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.1239, allocations: 31.62 kB / 476.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.1242, allocations: 239.2 kB / 476.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.1243, allocations: 24.55 kB / 476.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.1243, allocations: 27.95 kB / 476.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006554/0.125, allocations: 405.1 kB / 476.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.125, allocations: 0 / 476.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.125, allocations: 11.98 kB / 476.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.32e-05/0.1251, allocations: 28.64 kB / 476.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007392/0.1259, allocations: 422.3 kB / 477.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.1272, allocations: 0.8657 MB / 478.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005706/0.1277, allocations: 298.3 kB / 478.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.128, allocations: 112.7 kB / 478.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.128, allocations: 7.922 kB / 478.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.128, allocations: 38.56 kB / 478.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 2.756e-06/0.128, allocations: 3.984 kB / 478.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007455/0.1288, allocations: 373 kB / 478.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.1288, allocations: 51.41 kB / 478.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.1292, allocations: 347.3 kB / 479.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.1293, allocations: 29.7 kB / 479.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.1294, allocations: 164.1 kB / 479.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.1294, allocations: 55.27 kB / 479.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.1295, allocations: 0 / 479.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1296, allocations: 346.8 kB / 479.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.1299, allocations: 100.3 kB / 480 MB, free: 5.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.1301, allocations: 160.3 kB / 480.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.1304, allocations: 123.8 kB / 480.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1304, allocations: 0 / 480.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005618/0.1309, allocations: 327.5 kB / 480.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.131, allocations: 4 kB / 480.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.131, allocations: 4 kB / 480.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.131, allocations: 0 / 480.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/0.1315, allocations: 120 kB / 480.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.1337, allocations: 3.708 MB / 484.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.1339, allocations: 31.69 kB / 484.4 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.1339, allocations: 19.92 kB / 484.4 MB, free: 456 kB / 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.0002355/0.1342, allocations: 170.2 kB / 484.6 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.1342, allocations: 23.72 kB / 484.6 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007097/0.1349, allocations: 363.3 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.135, allocations: 3.953 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.135, allocations: 4 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.135, allocations: 0 / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.1354, allocations: 313.3 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1354, allocations: 0 / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004898/0.1359, allocations: 119.9 kB / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.1359, allocations: 0 / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.1359, allocations: 8 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/0.1381, allocations: 3.7 MB / 489.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1381, allocations: 0 / 489.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.1387, allocations: 382.4 kB / 489.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.149e-05/0.1388, allocations: 100.8 kB / 489.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.1388, allocations: 7.984 kB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.139, allocations: 8 kB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.139, allocations: 19.92 kB / 489.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.139, allocations: 12 kB / 489.6 MB, free: 11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000231/0.1393, allocations: 249.9 kB / 489.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1393, allocations: 4 kB / 489.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003728/0.1397, allocations: 80.03 kB / 490 MB, free: 10.68 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.0008211/0.1405, allocations: 0.915 MB / 490.9 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008713/0.1414, allocations: 331.6 kB / 491.2 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1414, allocations: 0 / 491.2 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005977/0.142, allocations: 212.1 kB / 491.4 MB, free: 9.203 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.1424, allocations: 60.56 kB / 491.5 MB, free: 9.145 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.1453, allocations: 2.023 MB / 493.5 MB, free: 7.051 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.1457, allocations: 0.7988 MB / 494.3 MB, free: 6.227 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001771/0.1459, allocations: 66.22 kB / 494.4 MB, free: 6.164 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.146, allocations: 79.41 kB / 494.4 MB, free: 6.086 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.146, allocations: 0 / 494.4 MB, free: 6.086 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.1669, allocations: 7.766 MB / 0.4904 GB, free: 14.62 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000566/0.1675, allocations: 288.2 kB / 0.4907 GB, free: 14.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/2.329, allocations: 3.266 kB / 0.4907 GB, free: 14.26 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