Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.00108/0.00108, allocations: 185.8 kB / 13.2 MB, free: 2.117 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.718/1.718, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009171/0.0009173, allocations: 88.41 kB / 267 MB, free: 9.277 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.4615/0.4615, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.224e-05/4.225e-05, allocations: 3.984 kB / 425.4 MB, free: 8.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1556, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5277/0.6834, allocations: 93.31 MB / 0.564 GB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/0.6838, allocations: 102.1 kB / 0.5641 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03189/0.7158, allocations: 14.13 MB / 0.5779 GB, free: 12 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7158, allocations: 0 / 0.5779 GB, free: 12 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.7158, allocations: 8 kB / 0.5779 GB, free: 4 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001023/0.7169, allocations: 0.642 MB / 0.5786 GB, free: 15.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.7169, allocations: 8.031 kB / 0.5786 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.7171, allocations: 101.3 kB / 0.5787 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.44e-05/0.7172, allocations: 54.78 kB / 0.5787 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.7176, allocations: 297.9 kB / 0.579 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.7177, allocations: 44.05 kB / 0.5791 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/0.7178, allocations: 46.94 kB / 0.5791 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009852/0.7187, allocations: 0.6656 MB / 0.5798 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.7188, allocations: 7.938 kB / 0.5798 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/0.7188, allocations: 25.8 kB / 0.5798 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.192e-05/0.7189, allocations: 49.31 kB / 0.5798 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009852/0.7199, allocations: 0.7069 MB / 0.5805 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.7223, allocations: 1.46 MB / 0.5819 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007246/0.723, allocations: 439 kB / 0.5824 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.7233, allocations: 144.4 kB / 0.5825 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.743e-05/0.7234, allocations: 11.72 kB / 0.5825 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.7234, allocations: 30.8 kB / 0.5825 GB, free: 11.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.7234, allocations: 0 / 0.5825 GB, free: 11.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007491/0.7242, allocations: 374.7 kB / 0.5829 GB, free: 11.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.7242, allocations: 55.41 kB / 0.583 GB, free: 11.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005791/0.7248, allocations: 477.6 kB / 0.5834 GB, free: 11.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.7249, allocations: 33.39 kB / 0.5834 GB, free: 11.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.725, allocations: 244.4 kB / 0.5837 GB, free: 10.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.793e-05/0.7251, allocations: 89.53 kB / 0.5838 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/0.7252, allocations: 7.625 kB / 0.5838 GB, free: 10.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.7253, allocations: 360.4 kB / 0.5841 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.7256, allocations: 139.2 kB / 0.5842 GB, free: 10.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.7259, allocations: 233.3 kB / 0.5845 GB, free: 10.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.7262, allocations: 179.4 kB / 0.5846 GB, free: 9.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.7262, allocations: 0 / 0.5846 GB, free: 9.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007103/0.7269, allocations: 476.4 kB / 0.5851 GB, free: 9.504 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.727, allocations: 4 kB / 0.5851 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.727, allocations: 4 kB / 0.5851 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.727, allocations: 4 kB / 0.5851 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.728, allocations: 211.2 kB / 0.5853 GB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004462/0.7325, allocations: 7.309 MB / 0.5924 GB, free: 1.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.7329, allocations: 62.58 kB / 0.5925 GB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.7329, allocations: 23.55 kB / 0.5925 GB, free: 1.707 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001747/0.7331, allocations: 139.8 kB / 0.5927 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.414e-05/0.7332, allocations: 48.36 kB / 0.5927 GB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00099/0.7342, allocations: 0.5105 MB / 0.5932 GB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.7342, allocations: 0 / 0.5932 GB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.7342, allocations: 0 / 0.5932 GB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.7343, allocations: 7.984 kB / 0.5932 GB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005916/0.7349, allocations: 424.9 kB / 0.5936 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.7349, allocations: 7.891 kB / 0.5936 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009376/0.7358, allocations: 195 kB / 0.5938 GB, free: 472 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.7358, allocations: 4 kB / 0.5938 GB, free: 468 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.7359, allocations: 23.17 kB / 0.5938 GB, free: 448 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004446/0.7403, allocations: 7.304 MB / 0.601 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7403, allocations: 0 / 0.601 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007013/0.7411, allocations: 486.5 kB / 0.6014 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.7412, allocations: 124.5 kB / 0.6016 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.7413, allocations: 11.67 kB / 0.6016 GB, free: 8.336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.7415, allocations: 11.62 kB / 0.6016 GB, free: 8.328 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.06e-05/0.7416, allocations: 27.89 kB / 0.6016 GB, free: 8.301 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.7417, allocations: 15.17 kB / 0.6016 GB, free: 8.289 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004545/0.7421, allocations: 378.2 kB / 0.602 GB, free: 7.996 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7421, allocations: 4 kB / 0.602 GB, free: 7.992 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000592/0.7427, allocations: 141.6 kB / 0.6021 GB, free: 7.867 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001286/0.744, allocations: 1.092 MB / 0.6032 GB, free: 6.793 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001322/0.7454, allocations: 463 kB / 0.6036 GB, free: 6.375 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7454, allocations: 0 / 0.6036 GB, free: 6.375 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009423/0.7463, allocations: 287.3 kB / 0.6039 GB, free: 6.113 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.7468, allocations: 87.53 kB / 0.604 GB, free: 6.055 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.7483, allocations: 0.8401 MB / 0.6048 GB, free: 5.246 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.7489, allocations: 0.8998 MB / 0.6057 GB, free: 4.328 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000279/0.7491, allocations: 124.1 kB / 0.6058 GB, free: 4.203 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.7493, allocations: 144.7 kB / 0.6059 GB, free: 4.156 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.7493, allocations: 0 / 0.6059 GB, free: 4.156 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/0.7795, allocations: 12.74 MB / 0.6184 GB, free: 7.504 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/0.7799, allocations: 222.5 kB / 0.6186 GB, free: 7.281 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/3.216, allocations: 0 / 0.6186 GB, free: 7.281 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat