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.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,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",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.001456/0.001456, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001/0.001001, allocations: 91.97 kB / 261.8 MB, free: 1.672 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.2359/0.2359, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.303e-05/2.267e-05, allocations: 4 kB / 418.4 MB, free: 28.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1507, allocations: 58.86 MB / 477.2 MB, free: 1.52 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5417/0.6925, allocations: 92.51 MB / 0.5564 GB, free: 2.539 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/0.6929, allocations: 98.47 kB / 0.5565 GB, free: 2.484 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03519/0.7281, allocations: 14.22 MB / 0.5704 GB, free: 6.461 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.897e-06/0.7282, allocations: 4 kB / 0.5704 GB, free: 6.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.251e-05/0.7282, allocations: 11.94 kB / 0.5704 GB, free: 6.445 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001016/0.7292, allocations: 0.6175 MB / 0.571 GB, free: 5.812 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.704e-05/0.7293, allocations: 12.03 kB / 0.571 GB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.7294, allocations: 43.44 kB / 0.571 GB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.73, allocations: 297.1 kB / 0.5713 GB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.73, allocations: 16 kB / 0.5713 GB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.7301, allocations: 28 kB / 0.5714 GB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006538/0.7308, allocations: 432.3 kB / 0.5718 GB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008314/0.7316, allocations: 0.5495 MB / 0.5723 GB, free: 4.625 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.7316, allocations: 7.938 kB / 0.5723 GB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.7317, allocations: 0 / 0.5723 GB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-05/0.7318, allocations: 33.3 kB / 0.5723 GB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.7344, allocations: 1.251 MB / 0.5736 GB, free: 3.457 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009709/0.7354, allocations: 432.1 kB / 0.574 GB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.7356, allocations: 130.6 kB / 0.5741 GB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-05/0.7357, allocations: 15.97 kB / 0.5741 GB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.7357, allocations: 33.31 kB / 0.5742 GB, free: 2.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.276e-06/0.7358, allocations: 4 kB / 0.5742 GB, free: 2.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008463/0.7366, allocations: 346.3 kB / 0.5745 GB, free: 2.574 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.7367, allocations: 55.41 kB / 0.5745 GB, free: 2.508 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.737, allocations: 180.4 kB / 0.5747 GB, free: 2.344 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.737, allocations: 29.69 kB / 0.5747 GB, free: 2.309 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.7372, allocations: 248.9 kB / 0.575 GB, free: 2.082 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.874e-05/0.7373, allocations: 83.44 kB / 0.5751 GB, free: 2.012 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.7374, allocations: 3.938 kB / 0.5751 GB, free: 2.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.7375, allocations: 332.8 kB / 0.5754 GB, free: 1.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.7377, allocations: 147.7 kB / 0.5755 GB, free: 1.555 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.7381, allocations: 235 kB / 0.5757 GB, free: 1.309 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.7384, allocations: 188.6 kB / 0.5759 GB, free: 1.148 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7384, allocations: 4 kB / 0.5759 GB, free: 1.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008411/0.7393, allocations: 451.9 kB / 0.5764 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.7393, allocations: 11.44 kB / 0.5764 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.34e-05/0.7394, allocations: 35.97 kB / 0.5764 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/0.7394, allocations: 8.406 kB / 0.5764 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.7397, allocations: 43.86 kB / 0.5765 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.7397, allocations: 8 kB / 0.5765 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.7399, allocations: 15.75 kB / 0.5765 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.248e-05/0.74, allocations: 27.17 kB / 0.5765 GB, free: 0.5977 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.000308/0.7403, allocations: 120.8 kB / 0.5766 GB, free: 488 kB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007109/0.741, allocations: 345.7 kB / 0.5769 GB, free: 164 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.7411, allocations: 15.81 kB / 0.577 GB, free: 148 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.7422, allocations: 499.2 kB / 0.5774 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.7422, allocations: 8 kB / 0.5774 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.7423, allocations: 4 kB / 0.5774 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.7423, allocations: 3.984 kB / 0.5775 GB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00076/0.7431, allocations: 377.3 kB / 0.5778 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.611e-05/0.7431, allocations: 43.94 kB / 0.5779 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.7433, allocations: 35.86 kB / 0.5779 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.7434, allocations: 4 kB / 0.5779 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.63e-05/0.7434, allocations: 8 kB / 0.5779 GB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.7434, allocations: 0 / 0.5779 GB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/0.7434, allocations: 3.953 kB / 0.5779 GB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.7447, allocations: 0.6574 MB / 0.5785 GB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.7448, allocations: 96.89 kB / 0.5786 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.7449, allocations: 3.984 kB / 0.5786 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.745, allocations: 4 kB / 0.5786 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.7451, allocations: 27.98 kB / 0.5787 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.7452, allocations: 15.38 kB / 0.5787 GB, free: 14.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001511/0.7453, allocations: 156.7 kB / 0.5788 GB, free: 14.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7453, allocations: 0 / 0.5788 GB, free: 14.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008464/0.7462, allocations: 174.2 kB / 0.579 GB, free: 14.19 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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: 12 * 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.002203/0.7484, allocations: 1.312 MB / 0.5803 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009447/0.7494, allocations: 0.648 MB / 0.5809 GB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.7494, allocations: 256 / 0.5809 GB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006444/0.75, allocations: 482.8 kB / 0.5814 GB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.7504, allocations: 27.91 kB / 0.5814 GB, free: 11.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.7529, allocations: 0.8849 MB / 0.5823 GB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/0.7535, allocations: 0.8912 MB / 0.5831 GB, free: 9.918 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002251/0.7537, allocations: 73.98 kB / 0.5832 GB, free: 9.848 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.7539, allocations: 123.6 kB / 0.5833 GB, free: 9.816 MB / 394.7 MB Notification: Performance of SimCode: time 9.61e-07/0.7539, allocations: 0 / 0.5833 GB, free: 9.816 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04004/0.794, allocations: 7.558 MB / 0.5907 GB, free: 2.258 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/0.7943, allocations: 190.5 kB / 0.5909 GB, free: 2.059 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.757, allocations: 0 / 0.5909 GB, free: 2.059 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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_res.mat does not exist to compare? outputFormat=mat