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_evenGapOverall.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_evenGapOverall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",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.001617/0.001617, 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.967/1.967, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008753/0.000875, allocations: 89.91 kB / 267.1 MB, free: 9.281 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.4263/0.4263, allocations: 43.47 MB / 358.6 MB, free: 52.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.955e-05/4.984e-05, allocations: 4 kB / 425.4 MB, free: 8.758 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1582, allocations: 58.84 MB / 484.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4275/0.5858, allocations: 98.22 MB / 0.5688 GB, free: 6.684 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.5862, allocations: 93.02 kB / 0.5689 GB, free: 6.594 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0575/0.6437, allocations: 21.29 MB / 0.5897 GB, free: 1.152 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6438, allocations: 0 / 0.5897 GB, free: 1.152 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.904e-05/0.6438, allocations: 8 kB / 0.5897 GB, free: 1.145 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001788/0.6456, allocations: 0.7224 MB / 0.5904 GB, free: 392 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.969e-05/0.6457, allocations: 8.031 kB / 0.5904 GB, free: 384 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002029/0.6459, allocations: 94.52 kB / 0.5905 GB, free: 280 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.6461, allocations: 55.28 kB / 0.5906 GB, free: 224 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006229/0.6467, allocations: 298.5 kB / 0.5909 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/0.6468, allocations: 37 kB / 0.5909 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.142e-05/0.6469, allocations: 48 kB / 0.5909 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.648, allocations: 0.6702 MB / 0.5916 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.6481, allocations: 0 / 0.5916 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.6481, allocations: 19.94 kB / 0.5916 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-05/0.6482, allocations: 28.98 kB / 0.5917 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007595/0.6489, allocations: 440 kB / 0.5921 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.6515, allocations: 1.535 MB / 0.5936 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004539/0.6519, allocations: 291.8 kB / 0.5938 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.6522, allocations: 122.7 kB / 0.594 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.119e-05/0.6522, allocations: 15.92 kB / 0.594 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.6523, allocations: 42.5 kB / 0.594 GB, free: 12.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 1.764e-06/0.6523, allocations: 0 / 0.594 GB, free: 12.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007273/0.653, allocations: 331.3 kB / 0.5943 GB, free: 12.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.6531, allocations: 106.8 kB / 0.5944 GB, free: 12.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/0.6537, allocations: 0.4958 MB / 0.5949 GB, free: 11.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.6537, allocations: 25.7 kB / 0.5949 GB, free: 11.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.6539, allocations: 236.4 kB / 0.5952 GB, free: 11.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.654, allocations: 82.83 kB / 0.5953 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.654, allocations: 4 kB / 0.5953 GB, free: 11.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.6542, allocations: 362.8 kB / 0.5956 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.6544, allocations: 119.9 kB / 0.5957 GB, free: 10.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.6547, allocations: 218.9 kB / 0.5959 GB, free: 10.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.6549, allocations: 152.5 kB / 0.5961 GB, free: 10.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.655, allocations: 4 kB / 0.5961 GB, free: 10.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007166/0.6557, allocations: 433.2 kB / 0.5965 GB, free: 9.914 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.6557, allocations: 7.953 kB / 0.5965 GB, free: 9.906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.246e-05/0.6558, allocations: 39.97 kB / 0.5965 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.6558, allocations: 4 kB / 0.5965 GB, free: 9.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.6561, allocations: 39.91 kB / 0.5966 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/0.6561, allocations: 11.98 kB / 0.5966 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.6564, allocations: 75.33 kB / 0.5967 GB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.355e-05/0.6565, allocations: 23.98 kB / 0.5967 GB, free: 9.715 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * 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.0001422/0.6567, allocations: 132.7 kB / 0.5968 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.6568, allocations: 43.44 kB / 0.5968 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000858/0.6577, allocations: 456.9 kB / 0.5973 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.6577, allocations: 4 kB / 0.5973 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6577, allocations: 0 / 0.5973 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.6577, allocations: 0 / 0.5973 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006064/0.6583, allocations: 409.2 kB / 0.5977 GB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-05/0.6584, allocations: 35.97 kB / 0.5977 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.6586, allocations: 27.97 kB / 0.5977 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.6586, allocations: 8 kB / 0.5977 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.6586, allocations: 15.98 kB / 0.5978 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.6586, allocations: 7.891 kB / 0.5978 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6586, allocations: 4 kB / 0.5978 GB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006667/0.6593, allocations: 0.5803 MB / 0.5983 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.6595, allocations: 132.4 kB / 0.5985 GB, free: 7.777 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.387e-05/0.6595, allocations: 7.984 kB / 0.5985 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.6599, allocations: 19.98 kB / 0.5985 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.426e-05/0.66, allocations: 27.97 kB / 0.5985 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.66, allocations: 11.98 kB / 0.5985 GB, free: 7.711 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004559/0.6605, allocations: 405.5 kB / 0.5989 GB, free: 7.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6605, allocations: 4 kB / 0.5989 GB, free: 7.316 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008212/0.6613, allocations: 183.7 kB / 0.5991 GB, free: 7.137 MB / 426.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * 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.001641/0.663, allocations: 1.458 MB / 0.6005 GB, free: 5.648 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007262/0.6637, allocations: 0.5986 MB / 0.6011 GB, free: 4.977 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6637, allocations: 0 / 0.6011 GB, free: 4.977 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.6641, allocations: 461.1 kB / 0.6015 GB, free: 4.453 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005766/0.6647, allocations: 90.09 kB / 0.6016 GB, free: 4.367 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.6667, allocations: 0.869 MB / 0.6025 GB, free: 3.457 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.6671, allocations: 0.8938 MB / 0.6034 GB, free: 2.535 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002196/0.6673, allocations: 71.34 kB / 0.6034 GB, free: 2.465 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.6675, allocations: 131.4 kB / 0.6035 GB, free: 2.336 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6675, allocations: 3.938 kB / 0.6035 GB, free: 2.332 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.6977, allocations: 13.56 MB / 0.6168 GB, free: 4.84 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001011/0.6987, allocations: 195.6 kB / 0.617 GB, free: 4.613 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/3.016, allocations: 0 / 0.617 GB, free: 4.613 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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_evenGapOverall_res.mat does not exist to compare? outputFormat=mat