Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.0008245/0.0008242, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.127/1.127, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006745/0.0006745, allocations: 82.38 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2757/0.2757, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 12 kB / 432.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0943/0.09468, allocations: 58.85 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.001768/0.09648, allocations: 1.668 MB / 492.6 MB, free: 9.098 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009959/0.0975, allocations: 0.7805 MB / 493.4 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.693e-05/0.09756, allocations: 7.938 kB / 493.4 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.09779, allocations: 51.72 kB / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.09805, allocations: 111.5 kB / 493.6 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.09823, allocations: 63.81 kB / 493.6 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003291/0.09856, allocations: 374.5 kB / 494 MB, free: 7.715 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.616e-05/0.09863, allocations: 40.38 kB / 494 MB, free: 7.676 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.09877, allocations: 115.4 kB / 494.1 MB, free: 7.562 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.09895, allocations: 147.4 kB / 494.3 MB, free: 7.418 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.09898, allocations: 8 kB / 494.3 MB, free: 7.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.09918, allocations: 107.8 kB / 494.4 MB, free: 7.305 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.09927, allocations: 71.66 kB / 494.5 MB, free: 7.234 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.09937, allocations: 133 kB / 494.6 MB, free: 7.098 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.09963, allocations: 247.6 kB / 494.8 MB, free: 6.855 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.09964, allocations: 0 / 494.8 MB, free: 6.855 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09965, allocations: 0 / 494.8 MB, free: 6.855 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.09965, allocations: 0 / 494.8 MB, free: 6.855 MB / 378.7 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.0006712/0.1003, allocations: 0.5224 MB / 495.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1004, allocations: 15.97 kB / 495.4 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.191e-05/0.1004, allocations: 62.73 kB / 495.4 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.1005, allocations: 36.55 kB / 495.5 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.1007, allocations: 252.1 kB / 495.7 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1008, allocations: 20.55 kB / 495.7 MB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.1008, allocations: 24 kB / 495.8 MB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/0.1014, allocations: 397.2 kB / 496.1 MB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1014, allocations: 0 / 496.1 MB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.1014, allocations: 15.98 kB / 496.2 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.77e-05/0.1015, allocations: 28.64 kB / 496.2 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006539/0.1021, allocations: 418.2 kB / 496.6 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.1034, allocations: 0.8811 MB / 497.5 MB, free: 4.055 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005753/0.1039, allocations: 302.3 kB / 497.8 MB, free: 3.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.1042, allocations: 112.7 kB / 497.9 MB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.1042, allocations: 0 / 497.9 MB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.1042, allocations: 38.56 kB / 497.9 MB, free: 3.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 9.71e-07/0.1042, allocations: 4 kB / 497.9 MB, free: 3.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007277/0.105, allocations: 369 kB / 498.3 MB, free: 3.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.105, allocations: 51.41 kB / 498.3 MB, free: 3.156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.1054, allocations: 347.3 kB / 498.7 MB, free: 2.809 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1054, allocations: 29.7 kB / 498.7 MB, free: 2.773 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.597e-05/0.1055, allocations: 168.3 kB / 498.9 MB, free: 2.602 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.1055, allocations: 51.2 kB / 498.9 MB, free: 2.551 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.1055, allocations: 4 kB / 498.9 MB, free: 2.547 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1057, allocations: 346.7 kB / 499.3 MB, free: 2.199 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.1059, allocations: 103.9 kB / 499.4 MB, free: 2.098 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.1061, allocations: 153.9 kB / 499.5 MB, free: 1.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/0.1065, allocations: 269.1 kB / 499.8 MB, free: 1.645 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1065, allocations: 0 / 499.8 MB, free: 1.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005113/0.107, allocations: 325 kB / 0.4884 GB, free: 1.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1071, allocations: 8 kB / 0.4884 GB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1071, allocations: 0 / 0.4884 GB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1071, allocations: 12.11 kB / 0.4884 GB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.1076, allocations: 115.9 kB / 0.4885 GB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1542/0.2618, allocations: 3.698 MB / 0.4921 GB, free: 40.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.2621, allocations: 34.45 kB / 0.4922 GB, free: 40.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.2621, allocations: 15.2 kB / 0.4922 GB, free: 40.47 MB / 378.7 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.0001824/0.2623, allocations: 181.8 kB / 0.4923 GB, free: 40.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.2624, allocations: 25.59 kB / 0.4924 GB, free: 40.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006788/0.263, allocations: 351.9 kB / 0.4927 GB, free: 40.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2631, allocations: 3.062 kB / 0.4927 GB, free: 40.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2631, allocations: 4.969 kB / 0.4927 GB, free: 40.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2631, allocations: 0 / 0.4927 GB, free: 40.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.2634, allocations: 303.9 kB / 0.493 GB, free: 40.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2634, allocations: 1.406 kB / 0.493 GB, free: 40.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004711/0.2639, allocations: 118.5 kB / 0.4931 GB, free: 40.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.2639, allocations: 1.312 kB / 0.4931 GB, free: 40.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.2639, allocations: 4.969 kB / 0.4931 GB, free: 40.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001155/0.2651, allocations: 3.706 MB / 0.4967 GB, free: 36.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2651, allocations: 0 / 0.4967 GB, free: 36.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.2656, allocations: 372.5 kB / 0.4971 GB, free: 36.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.2657, allocations: 113.5 kB / 0.4972 GB, free: 36.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.2657, allocations: 5.031 kB / 0.4972 GB, free: 36.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.2659, allocations: 17.34 kB / 0.4972 GB, free: 36.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.2659, allocations: 11.03 kB / 0.4972 GB, free: 36.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.266, allocations: 7.219 kB / 0.4972 GB, free: 36.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002257/0.2662, allocations: 256.1 kB / 0.4975 GB, free: 36.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2662, allocations: 0 / 0.4975 GB, free: 36.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003164/0.2665, allocations: 70.16 kB / 0.4975 GB, free: 36.3 MB / 378.7 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.0007418/0.2673, allocations: 0.9438 MB / 0.4985 GB, free: 35.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008696/0.2682, allocations: 333.9 kB / 0.4988 GB, free: 35.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2682, allocations: 0.7656 kB / 0.4988 GB, free: 35.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005902/0.2688, allocations: 203.8 kB / 0.499 GB, free: 35.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.2692, allocations: 60.92 kB / 0.499 GB, free: 35.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.2718, allocations: 2.02 MB / 0.501 GB, free: 34.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.272, allocations: 0.7983 MB / 0.5018 GB, free: 34.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.2721, allocations: 80.78 kB / 0.5019 GB, free: 34.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2721, allocations: 3.938 kB / 0.5019 GB, free: 34.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.249/4.522, allocations: 11.91 MB / 0.5135 GB, free: 33.51 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat