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.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,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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.0009646/0.0009643, allocations: 88.19 kB / 15.7 MB, free: 460 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.001225/0.001225, allocations: 175.4 kB / 16.58 MB, free: 6.84 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.373/1.373, allocations: 205.4 MB / 222.8 MB, free: 5.66 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.3391/0.3391, allocations: 43.55 MB / 314.6 MB, free: 8.762 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.0004607/0.0004607, allocations: 19.98 kB / 384.1 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1134, allocations: 58.85 MB / 442.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.001976/0.1155, allocations: 1.736 MB / 444.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.117, allocations: 1.194 MB / 445.8 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.679e-05/0.1171, allocations: 0 / 445.8 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.1173, allocations: 59.66 kB / 445.9 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.1175, allocations: 75.58 kB / 446 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.1179, allocations: 147.5 kB / 446.1 MB, free: 9.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004157/0.1183, allocations: 465.9 kB / 446.6 MB, free: 9.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.872e-05/0.1184, allocations: 56.97 kB / 446.6 MB, free: 9.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.1186, allocations: 135.3 kB / 446.7 MB, free: 9.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.1188, allocations: 175.2 kB / 446.9 MB, free: 8.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.1188, allocations: 8 kB / 446.9 MB, free: 8.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000403/0.1192, allocations: 255.5 kB / 447.2 MB, free: 8.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.171e-05/0.1193, allocations: 83.59 kB / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.1194, allocations: 77.52 kB / 447.3 MB, free: 8.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.1198, allocations: 382.9 kB / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1198, allocations: 0 / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1198, allocations: 0 / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.1198, allocations: 0 / 447.7 MB, free: 8.094 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0009325/0.1207, allocations: 0.6666 MB / 448.4 MB, free: 7.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1208, allocations: 8.031 kB / 448.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.154e-05/0.1209, allocations: 78.53 kB / 448.5 MB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.1209, allocations: 55.33 kB / 448.5 MB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.1212, allocations: 275.5 kB / 448.8 MB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.1213, allocations: 29 kB / 448.8 MB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.1213, allocations: 36 kB / 448.8 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008065/0.1221, allocations: 0.5691 MB / 449.4 MB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1222, allocations: 0 / 449.4 MB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.1222, allocations: 16 kB / 449.4 MB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.1222, allocations: 17 kB / 449.4 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000728/0.123, allocations: 443.5 kB / 449.9 MB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.1245, allocations: 1.273 MB / 451.2 MB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.125, allocations: 315.5 kB / 451.5 MB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.1253, allocations: 166.4 kB / 451.6 MB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-05/0.1254, allocations: 7.938 kB / 451.6 MB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.1254, allocations: 34.56 kB / 451.7 MB, free: 3.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.1254, allocations: 0 / 451.7 MB, free: 3.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001062/0.1265, allocations: 0.5244 MB / 452.2 MB, free: 3.379 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.1265, allocations: 118.9 kB / 452.3 MB, free: 3.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.127, allocations: 0.4977 MB / 452.8 MB, free: 2.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.1271, allocations: 25.7 kB / 452.8 MB, free: 2.695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.1272, allocations: 208.1 kB / 453 MB, free: 2.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.1273, allocations: 59.11 kB / 453.1 MB, free: 2.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.735e-05/0.1273, allocations: 4 kB / 453.1 MB, free: 2.426 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1274, allocations: 350.8 kB / 453.4 MB, free: 2.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.1277, allocations: 160.1 kB / 453.6 MB, free: 1.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.128, allocations: 238.5 kB / 453.8 MB, free: 1.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.1284, allocations: 175.9 kB / 454 MB, free: 1.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1284, allocations: 0 / 454 MB, free: 1.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007978/0.1292, allocations: 472.4 kB / 454.5 MB, free: 1.012 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1292, allocations: 4.344 kB / 454.5 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-05/0.1293, allocations: 35.98 kB / 454.5 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1293, allocations: 7.984 kB / 454.5 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.1295, allocations: 47.86 kB / 454.6 MB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1295, allocations: 7.984 kB / 454.6 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.1298, allocations: 59.52 kB / 454.6 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.1298, allocations: 16 kB / 454.6 MB, free: 0.8359 MB / 382.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.0001967/0.13, allocations: 202.4 kB / 454.8 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.833e-05/0.1301, allocations: 35.53 kB / 454.9 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007447/0.1308, allocations: 444.8 kB / 455.3 MB, free: 160 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.1309, allocations: 4 kB / 455.3 MB, free: 156 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1309, allocations: 3.953 kB / 455.3 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1309, allocations: 0 / 455.3 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2189/0.3497, allocations: 372.1 kB / 455.7 MB, free: 46.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.658e-05/0.3499, allocations: 34.59 kB / 455.7 MB, free: 46.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.3501, allocations: 29.33 kB / 455.7 MB, free: 46.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.3501, allocations: 3 kB / 455.7 MB, free: 46.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.3501, allocations: 12.27 kB / 455.7 MB, free: 46.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3501, allocations: 0 / 455.7 MB, free: 46.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.3501, allocations: 4.562 kB / 455.8 MB, free: 46.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008347/0.351, allocations: 0.63 MB / 456.4 MB, free: 46.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.962e-05/0.3511, allocations: 116.9 kB / 456.5 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.343e-05/0.3512, allocations: 7.438 kB / 456.5 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.3514, allocations: 23.48 kB / 456.5 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/0.3515, allocations: 21.02 kB / 456.5 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.3516, allocations: 12.06 kB / 456.6 MB, free: 45.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003238/0.3519, allocations: 360.2 kB / 456.9 MB, free: 45.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3519, allocations: 2.844 kB / 456.9 MB, free: 45.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005901/0.3525, allocations: 125.3 kB / 457 MB, free: 45.87 MB / 382.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.001094/0.3536, allocations: 1.232 MB / 458.3 MB, free: 45.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007595/0.3544, allocations: 0.5863 MB / 458.9 MB, free: 44.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3544, allocations: 0 / 458.9 MB, free: 44.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003608/0.3548, allocations: 418.1 kB / 459.3 MB, free: 44.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.3554, allocations: 91.36 kB / 459.4 MB, free: 44.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.359, allocations: 2.849 MB / 462.2 MB, free: 43.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.3593, allocations: 0.8517 MB / 463.1 MB, free: 43.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.3595, allocations: 59.84 kB / 463.1 MB, free: 43.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.3596, allocations: 111.9 kB / 463.2 MB, free: 43 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3596, allocations: 0 / 463.2 MB, free: 43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.3816, allocations: 11.06 MB / 474.3 MB, free: 42.02 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/0.3818, allocations: 237.2 kB / 474.5 MB, free: 41.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.068/2.45, allocations: 0 / 474.5 MB, free: 41.78 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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_res.mat does not exist to compare? outputFormat=mat