Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_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.0008545/0.0008545, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008368/0.0008369, allocations: 172.2 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.4 MB / 222.8 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3379/0.3379, allocations: 43.55 MB / 314.6 MB, free: 8.805 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005458/0.0005459, allocations: 16 kB / 384 MB, free: 7.902 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1193, allocations: 58.84 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.001983/0.1213, allocations: 1.677 MB / 444.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1225, allocations: 0.7726 MB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.1227, allocations: 3.938 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.1229, allocations: 63.72 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.1232, allocations: 107.5 kB / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.1234, allocations: 51.81 kB / 445.6 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003782/0.1238, allocations: 374.5 kB / 445.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.36e-05/0.1239, allocations: 40.36 kB / 446 MB, free: 9.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.1241, allocations: 123.4 kB / 446.1 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.1243, allocations: 147.4 kB / 446.2 MB, free: 9.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.1243, allocations: 8 kB / 446.2 MB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.1246, allocations: 111.8 kB / 446.3 MB, free: 9.473 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.87e-05/0.1247, allocations: 71.67 kB / 446.4 MB, free: 9.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.1247, allocations: 57.58 kB / 446.5 MB, free: 9.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.125, allocations: 255.5 kB / 446.7 MB, free: 9.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.125, allocations: 0 / 446.7 MB, free: 9.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.125, allocations: 3.938 kB / 446.7 MB, free: 9.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.1251, allocations: 0 / 446.7 MB, free: 9.086 MB / 382.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.0006954/0.1258, allocations: 0.5223 MB / 447.3 MB, free: 8.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1258, allocations: 8.031 kB / 447.3 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.634e-05/0.1259, allocations: 66.53 kB / 447.3 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.1259, allocations: 39.58 kB / 447.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.1262, allocations: 239.2 kB / 447.6 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1262, allocations: 20.56 kB / 447.6 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.1262, allocations: 27.98 kB / 447.6 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.1268, allocations: 393.2 kB / 448 MB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1268, allocations: 0 / 448 MB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.1269, allocations: 12 kB / 448 MB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.963e-05/0.1269, allocations: 28.62 kB / 448.1 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006344/0.1276, allocations: 430.2 kB / 448.5 MB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.1287, allocations: 0.8696 MB / 449.4 MB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/0.1292, allocations: 306.2 kB / 449.7 MB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.1294, allocations: 108.8 kB / 449.8 MB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.1295, allocations: 8.062 kB / 449.8 MB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.1295, allocations: 38.56 kB / 449.8 MB, free: 5.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.1295, allocations: 0 / 449.8 MB, free: 5.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006865/0.1302, allocations: 377 kB / 450.2 MB, free: 5.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.1303, allocations: 55.41 kB / 450.2 MB, free: 5.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.1306, allocations: 343.2 kB / 450.6 MB, free: 5.043 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.1306, allocations: 29.7 kB / 450.6 MB, free: 5.008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1307, allocations: 156.3 kB / 450.7 MB, free: 4.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.1308, allocations: 59.14 kB / 450.8 MB, free: 4.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/0.1308, allocations: 7.938 kB / 450.8 MB, free: 4.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1309, allocations: 338.8 kB / 451.1 MB, free: 4.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.1311, allocations: 112.2 kB / 451.3 MB, free: 4.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.1313, allocations: 146.7 kB / 451.4 MB, free: 4.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.1316, allocations: 127.5 kB / 451.5 MB, free: 4.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1316, allocations: 0 / 451.5 MB, free: 4.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005439/0.1321, allocations: 324.9 kB / 451.8 MB, free: 3.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1321, allocations: 8 kB / 451.8 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1321, allocations: 0 / 451.8 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1322, allocations: 4 kB / 451.8 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.1326, allocations: 116.1 kB / 452 MB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1676/0.3003, allocations: 3.702 MB / 455.7 MB, free: 46.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.3006, allocations: 35.12 kB / 455.7 MB, free: 46.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.3006, allocations: 12.66 kB / 455.7 MB, free: 46.32 MB / 382.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.0002192/0.3008, allocations: 179.9 kB / 455.9 MB, free: 46.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/0.3009, allocations: 26.38 kB / 455.9 MB, free: 46.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006728/0.3016, allocations: 347.6 kB / 456.3 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3016, allocations: 0 / 456.3 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3016, allocations: 6.125 kB / 456.3 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3016, allocations: 0 / 456.3 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.302, allocations: 314 kB / 456.6 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.302, allocations: 0 / 456.6 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004319/0.3024, allocations: 113.4 kB / 456.7 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.3025, allocations: 2.969 kB / 456.7 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.3025, allocations: 6.219 kB / 456.7 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.3037, allocations: 3.709 MB / 460.4 MB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3037, allocations: 3.844 kB / 460.4 MB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004929/0.3042, allocations: 371.5 kB / 460.8 MB, free: 42.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.625e-05/0.3043, allocations: 106.6 kB / 460.9 MB, free: 42.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.3043, allocations: 0 / 460.9 MB, free: 42.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.3045, allocations: 21.3 kB / 460.9 MB, free: 42.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.3046, allocations: 12.88 kB / 460.9 MB, free: 42.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.3046, allocations: 8.406 kB / 460.9 MB, free: 42.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002332/0.3048, allocations: 254.1 kB / 461.2 MB, free: 42.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.212e-06/0.3048, allocations: 1.125 kB / 461.2 MB, free: 42.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003831/0.3052, allocations: 78.03 kB / 461.2 MB, free: 42.16 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 (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.0007283/0.306, allocations: 0.9218 MB / 462.2 MB, free: 41.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007479/0.3067, allocations: 335.2 kB / 462.5 MB, free: 41.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3067, allocations: 3.062 kB / 462.5 MB, free: 41.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.3072, allocations: 209.1 kB / 462.7 MB, free: 41.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.3076, allocations: 59.14 kB / 462.7 MB, free: 41.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.3102, allocations: 2.012 MB / 464.8 MB, free: 40.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.3105, allocations: 0.8004 MB / 465.6 MB, free: 40.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.3106, allocations: 67.17 kB / 465.6 MB, free: 40.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.348e-05/0.3107, allocations: 79.61 kB / 465.7 MB, free: 40.17 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3107, allocations: 0 / 465.7 MB, free: 40.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.867/2.177, allocations: 7.789 MB / 473.5 MB, free: 39.45 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/2.177, allocations: 272 kB / 473.8 MB, free: 39.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/4.101, allocations: 0 / 473.8 MB, free: 39.09 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat