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.001396/0.001396, allocations: 183 kB / 13.19 MB, free: 2.129 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.731/1.731, allocations: 205.2 MB / 218.9 MB, free: 9.145 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.0008871/0.0008872, allocations: 94.53 kB / 267.1 MB, free: 9.27 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.4693/0.4693, allocations: 43.46 MB / 358.6 MB, free: 52.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.78e-05/3.812e-05, allocations: 0 / 425.4 MB, free: 8.777 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1693, allocations: 58.84 MB / 484.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5191/0.6884, allocations: 93.17 MB / 0.5639 GB, free: 11.74 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.6888, allocations: 91.34 kB / 0.564 GB, free: 11.65 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03755/0.7263, allocations: 14.41 MB / 0.5781 GB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7264, allocations: 0.8438 kB / 0.5781 GB, free: 13.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.04e-05/0.7265, allocations: 4 kB / 0.5781 GB, free: 13.07 MB / 410.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.0009669/0.7274, allocations: 0.6231 MB / 0.5787 GB, free: 12.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/0.7275, allocations: 12.02 kB / 0.5787 GB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.7276, allocations: 102.5 kB / 0.5788 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.254e-05/0.7277, allocations: 46.88 kB / 0.5788 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004997/0.7283, allocations: 299 kB / 0.5791 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.7283, allocations: 37.31 kB / 0.5792 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.398e-05/0.7284, allocations: 48 kB / 0.5792 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009945/0.7294, allocations: 0.6242 MB / 0.5798 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.7294, allocations: 0 / 0.5798 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.084e-05/0.7295, allocations: 17.38 kB / 0.5798 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-05/0.7296, allocations: 37.3 kB / 0.5799 GB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007593/0.7303, allocations: 0.4931 MB / 0.5803 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002632/0.733, allocations: 1.431 MB / 0.5817 GB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008808/0.7339, allocations: 464.9 kB / 0.5822 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.7341, allocations: 139.9 kB / 0.5823 GB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.927e-05/0.7342, allocations: 11.94 kB / 0.5823 GB, free: 8.562 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.7342, allocations: 34.56 kB / 0.5824 GB, free: 8.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.595e-06/0.7343, allocations: 7.938 kB / 0.5824 GB, free: 8.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007845/0.7351, allocations: 374.3 kB / 0.5827 GB, free: 8.141 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.7351, allocations: 55.78 kB / 0.5828 GB, free: 8.074 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005863/0.7357, allocations: 0.495 MB / 0.5833 GB, free: 7.582 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.7358, allocations: 33.7 kB / 0.5833 GB, free: 7.543 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.7359, allocations: 216.2 kB / 0.5835 GB, free: 7.328 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.932e-05/0.736, allocations: 86.73 kB / 0.5836 GB, free: 7.242 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.7361, allocations: 8 kB / 0.5836 GB, free: 7.234 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.7363, allocations: 358.7 kB / 0.5839 GB, free: 6.875 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.7365, allocations: 152.2 kB / 0.5841 GB, free: 6.723 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.7369, allocations: 264.3 kB / 0.5843 GB, free: 6.422 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.7372, allocations: 194.1 kB / 0.5845 GB, free: 6.234 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.7372, allocations: 0 / 0.5845 GB, free: 6.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008098/0.738, allocations: 0.4909 MB / 0.585 GB, free: 5.738 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.7381, allocations: 12.73 kB / 0.585 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.129e-05/0.7382, allocations: 35.97 kB / 0.585 GB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.7382, allocations: 8 kB / 0.585 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.7384, allocations: 43.84 kB / 0.5851 GB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.7384, allocations: 8.406 kB / 0.5851 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.7387, allocations: 55.38 kB / 0.5851 GB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.7387, allocations: 23.98 kB / 0.5852 GB, free: 5.555 MB / 410.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.0002043/0.7389, allocations: 140.8 kB / 0.5853 GB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.539e-05/0.739, allocations: 43.44 kB / 0.5853 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.7401, allocations: 0.5397 MB / 0.5859 GB, free: 4.824 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.7401, allocations: 4 kB / 0.5859 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.7401, allocations: 0 / 0.5859 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.7401, allocations: 3.984 kB / 0.5859 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006248/0.7407, allocations: 425.2 kB / 0.5863 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.226e-05/0.7408, allocations: 43.95 kB / 0.5863 GB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.741, allocations: 23.98 kB / 0.5864 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.741, allocations: 0 / 0.5864 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.7411, allocations: 12 kB / 0.5864 GB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.7411, allocations: 7.953 kB / 0.5864 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7411, allocations: 4 kB / 0.5864 GB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.7422, allocations: 0.7 MB / 0.5871 GB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.7423, allocations: 128.5 kB / 0.5872 GB, free: 3.402 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.343e-05/0.7424, allocations: 7.984 kB / 0.5872 GB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.7426, allocations: 8 kB / 0.5872 GB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.7427, allocations: 27.86 kB / 0.5872 GB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.7427, allocations: 16 kB / 0.5872 GB, free: 3.344 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00045/0.7432, allocations: 393.2 kB / 0.5876 GB, free: 2.965 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7432, allocations: 4 kB / 0.5876 GB, free: 2.961 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006256/0.7438, allocations: 163.8 kB / 0.5878 GB, free: 2.801 MB / 410.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.001795/0.7456, allocations: 1.346 MB / 0.5891 GB, free: 1.426 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008486/0.7465, allocations: 0.6723 MB / 0.5897 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7465, allocations: 0.8125 kB / 0.5897 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005225/0.747, allocations: 488.2 kB / 0.5902 GB, free: 132 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.7475, allocations: 85.98 kB / 0.5903 GB, free: 48 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.7498, allocations: 0.963 MB / 0.5912 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007809/0.7506, allocations: 0.89 MB / 0.5921 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003171/0.7509, allocations: 120.1 kB / 0.5922 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.7512, allocations: 139.4 kB / 0.5923 GB, free: 13.87 MB / 426.7 MB Notification: Performance of SimCode: time 6.62e-07/0.7512, allocations: 0 / 0.5923 GB, free: 13.87 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03457/0.7858, allocations: 12.53 MB / 0.6046 GB, free: 1.426 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/0.786, allocations: 199.7 kB / 0.6048 GB, free: 1.195 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.52/3.306, allocations: 3.938 kB / 0.6048 GB, free: 1.191 MB / 426.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