Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_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.00225/0.002249, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 98.81 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3007/0.3007, allocations: 43.49 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.088e-05, allocations: 4 kB / 418.4 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4125, allocations: 58.84 MB / 477.2 MB, free: 5.285 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/0.5825, allocations: 89.24 MB / 0.5532 GB, free: 10.04 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003994/0.583, allocations: 103.4 kB / 0.5533 GB, free: 9.938 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03143/0.6144, allocations: 6.676 MB / 0.5598 GB, free: 3.223 MB / 395.1 MB Notification: Performance of FrontEnd: time 6.662e-06/0.6145, allocations: 0 / 0.5598 GB, free: 3.223 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.6145, allocations: 15.88 kB / 0.5598 GB, free: 3.207 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007874/0.6153, allocations: 411.1 kB / 0.5602 GB, free: 2.762 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.6154, allocations: 15.97 kB / 0.5602 GB, free: 2.746 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.6154, allocations: 11.81 kB / 0.5602 GB, free: 2.734 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.6158, allocations: 210.7 kB / 0.5604 GB, free: 2.488 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.6158, allocations: 4 kB / 0.5604 GB, free: 2.484 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.6158, allocations: 8 kB / 0.5604 GB, free: 2.477 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000329/0.6162, allocations: 123.9 kB / 0.5605 GB, free: 2.355 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.6165, allocations: 129.6 kB / 0.5607 GB, free: 2.223 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.6166, allocations: 4 kB / 0.5607 GB, free: 2.219 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.6166, allocations: 3.984 kB / 0.5607 GB, free: 2.215 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/0.6167, allocations: 8 kB / 0.5607 GB, free: 2.207 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.6178, allocations: 452.7 kB / 0.5611 GB, free: 1.727 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004795/0.6183, allocations: 134.5 kB / 0.5612 GB, free: 1.586 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.6184, allocations: 44.88 kB / 0.5613 GB, free: 1.539 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.6185, allocations: 0 / 0.5613 GB, free: 1.539 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.6185, allocations: 30.75 kB / 0.5613 GB, free: 1.5 MB / 395.1 MB Notification: Performance of pre-optimization done (n=9): time 1.924e-06/0.6185, allocations: 3.938 kB / 0.5613 GB, free: 1.496 MB / 395.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004103/0.619, allocations: 121.5 kB / 0.5614 GB, free: 1.371 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.619, allocations: 51.41 kB / 0.5615 GB, free: 1.309 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.6192, allocations: 124.8 kB / 0.5616 GB, free: 1.18 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.6193, allocations: 25.7 kB / 0.5616 GB, free: 1.148 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.6194, allocations: 186.1 kB / 0.5618 GB, free: 0.9648 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.6194, allocations: 31.55 kB / 0.5618 GB, free: 0.9336 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.6195, allocations: 0 / 0.5618 GB, free: 0.9336 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6196, allocations: 318.8 kB / 0.5621 GB, free: 0.6133 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.6197, allocations: 43.91 kB / 0.5622 GB, free: 0.5703 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.6199, allocations: 58.55 kB / 0.5622 GB, free: 0.5039 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.62, allocations: 39.95 kB / 0.5623 GB, free: 476 kB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6201, allocations: 96 / 0.5623 GB, free: 476 kB / 395.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003663/0.6204, allocations: 125.5 kB / 0.5624 GB, free: 344 kB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.6205, allocations: 8 kB / 0.5624 GB, free: 336 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.6205, allocations: 4.062 kB / 0.5624 GB, free: 332 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.6205, allocations: 0 / 0.5624 GB, free: 332 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.621, allocations: 51.89 kB / 0.5625 GB, free: 280 kB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.6221, allocations: 1.231 MB / 0.5637 GB, free: 15 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.6223, allocations: 15.89 kB / 0.5637 GB, free: 14.98 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.6224, allocations: 4 kB / 0.5637 GB, free: 14.98 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * 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): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.6225, allocations: 105 kB / 0.5638 GB, free: 14.87 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000327/0.6229, allocations: 121.4 kB / 0.5639 GB, free: 14.74 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.6229, allocations: 7.906 kB / 0.5639 GB, free: 14.73 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004936/0.6234, allocations: 150.3 kB / 0.564 GB, free: 14.58 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.6234, allocations: 4.062 kB / 0.564 GB, free: 14.58 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.6235, allocations: 4 kB / 0.5641 GB, free: 14.57 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.6235, allocations: 0 / 0.5641 GB, free: 14.57 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.6238, allocations: 194.2 kB / 0.5642 GB, free: 14.35 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6238, allocations: 4 kB / 0.5642 GB, free: 14.34 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.6243, allocations: 39.97 kB / 0.5643 GB, free: 14.3 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.6243, allocations: 3.953 kB / 0.5643 GB, free: 14.3 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.6243, allocations: 7.984 kB / 0.5643 GB, free: 14.29 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009601/0.6253, allocations: 1.223 MB / 0.5655 GB, free: 13.02 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.515e-06/0.6253, allocations: 3.953 kB / 0.5655 GB, free: 13.02 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.6257, allocations: 215.5 kB / 0.5657 GB, free: 12.79 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.521e-05/0.6258, allocations: 85.2 kB / 0.5658 GB, free: 12.69 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.6259, allocations: 11.94 kB / 0.5658 GB, free: 12.68 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.6261, allocations: 7.984 kB / 0.5658 GB, free: 12.67 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.6262, allocations: 11.92 kB / 0.5658 GB, free: 12.66 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.6262, allocations: 7.953 kB / 0.5658 GB, free: 12.65 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.6263, allocations: 103.3 kB / 0.5659 GB, free: 12.55 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6263, allocations: 0 / 0.5659 GB, free: 12.55 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0004654/0.6268, allocations: 39.94 kB / 0.5659 GB, free: 12.51 MB / 411.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009916/0.6278, allocations: 0.793 MB / 0.5667 GB, free: 11.7 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.00061/0.6285, allocations: 107.9 kB / 0.5668 GB, free: 11.59 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6285, allocations: 0 / 0.5668 GB, free: 11.59 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003495/0.6288, allocations: 67.89 kB / 0.5669 GB, free: 11.52 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.6292, allocations: 19.92 kB / 0.5669 GB, free: 11.5 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009963/0.6302, allocations: 287.8 kB / 0.5672 GB, free: 11.18 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.6307, allocations: 0.7314 MB / 0.5679 GB, free: 10.42 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.6308, allocations: 35.42 kB / 0.5679 GB, free: 10.39 MB / 411.1 MB Notification: Performance of SimCode: time 1.412e-06/0.6308, allocations: 480 / 0.5679 GB, free: 10.39 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.775/3.406, allocations: 3.841 MB / 0.5717 GB, free: 6.551 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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.Channel.kc_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat