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.001467/0.001467, allocations: 180.9 kB / 8.006 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.872/1.872, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0008421/0.0008422, allocations: 82.64 kB / 261.7 MB, free: 1.684 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.2429/0.2429, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.94e-05, allocations: 0 / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.1997, allocations: 58.86 MB / 477.2 MB, free: 1.52 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5854/0.7852, allocations: 97.55 MB / 0.5613 GB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.7855, allocations: 100.7 kB / 0.5614 GB, free: 13.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05534/0.8409, allocations: 21.06 MB / 0.582 GB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.841, allocations: 0 / 0.582 GB, free: 11.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.841, allocations: 8 kB / 0.582 GB, free: 11.79 MB / 394.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.001251/0.8422, allocations: 0.7176 MB / 0.5827 GB, free: 11.06 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.8423, allocations: 8.031 kB / 0.5827 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.497e-05/0.8424, allocations: 55.3 kB / 0.5827 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.8428, allocations: 293.3 kB / 0.583 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.8429, allocations: 16 kB / 0.583 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.891e-05/0.8429, allocations: 28 kB / 0.5831 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005967/0.8435, allocations: 408.2 kB / 0.5834 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008182/0.8444, allocations: 0.5973 MB / 0.584 GB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.8444, allocations: 0 / 0.584 GB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.8444, allocations: 0 / 0.584 GB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.794e-05/0.8445, allocations: 21.31 kB / 0.5841 GB, free: 9.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.8464, allocations: 1.352 MB / 0.5854 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/0.8468, allocations: 275.3 kB / 0.5856 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.847, allocations: 126.5 kB / 0.5858 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.088e-05/0.8471, allocations: 15.92 kB / 0.5858 GB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.8471, allocations: 45.56 kB / 0.5858 GB, free: 8.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=23): time 3.667e-06/0.8471, allocations: 3.984 kB / 0.5858 GB, free: 8.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006375/0.8478, allocations: 290.1 kB / 0.5861 GB, free: 7.895 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.8479, allocations: 112.9 kB / 0.5862 GB, free: 7.762 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.8481, allocations: 198.7 kB / 0.5864 GB, free: 7.586 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.8481, allocations: 25.7 kB / 0.5864 GB, free: 7.555 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.8483, allocations: 250.6 kB / 0.5867 GB, free: 7.336 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/0.8484, allocations: 81.66 kB / 0.5867 GB, free: 7.266 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.8484, allocations: 0 / 0.5867 GB, free: 7.266 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.8486, allocations: 333.4 kB / 0.5871 GB, free: 6.941 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.8488, allocations: 109.8 kB / 0.5872 GB, free: 6.848 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.849, allocations: 223.1 kB / 0.5874 GB, free: 6.609 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.8493, allocations: 147.1 kB / 0.5875 GB, free: 6.484 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.8493, allocations: 0 / 0.5875 GB, free: 6.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006141/0.8499, allocations: 385.2 kB / 0.5879 GB, free: 6.137 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.85, allocations: 8 kB / 0.5879 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.58e-05/0.85, allocations: 35.97 kB / 0.5879 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.8501, allocations: 11.95 kB / 0.5879 GB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.8503, allocations: 51.64 kB / 0.588 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.8503, allocations: 4 kB / 0.588 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.8506, allocations: 35.81 kB / 0.588 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.8506, allocations: 16 kB / 0.588 GB, free: 5.98 MB / 394.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.0001345/0.8508, allocations: 128.1 kB / 0.5882 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005562/0.8513, allocations: 295.2 kB / 0.5884 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.526e-05/0.8514, allocations: 19.77 kB / 0.5885 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007705/0.8522, allocations: 420.6 kB / 0.5889 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.8522, allocations: 4 kB / 0.5889 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.8522, allocations: 4 kB / 0.5889 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.8522, allocations: 64 / 0.5889 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/0.8528, allocations: 365.5 kB / 0.5892 GB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.426e-05/0.8529, allocations: 31.97 kB / 0.5892 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.853, allocations: 35.91 kB / 0.5893 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.853, allocations: 0 / 0.5893 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.8531, allocations: 11.98 kB / 0.5893 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.8531, allocations: 7.953 kB / 0.5893 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8531, allocations: 0 / 0.5893 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/0.8537, allocations: 0.5643 MB / 0.5898 GB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.8538, allocations: 104.8 kB / 0.5899 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.8538, allocations: 0 / 0.5899 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.8541, allocations: 23.98 kB / 0.59 GB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.8542, allocations: 19.97 kB / 0.59 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.8542, allocations: 19.67 kB / 0.59 GB, free: 4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.8544, allocations: 147.6 kB / 0.5901 GB, free: 3.875 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8544, allocations: 0 / 0.5901 GB, free: 3.875 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008772/0.8552, allocations: 206.4 kB / 0.5903 GB, free: 3.68 MB / 394.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.001438/0.8567, allocations: 1.419 MB / 0.5917 GB, free: 2.266 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006668/0.8574, allocations: 0.5937 MB / 0.5923 GB, free: 1.633 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8574, allocations: 0 / 0.5923 GB, free: 1.633 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004037/0.8578, allocations: 457.5 kB / 0.5927 GB, free: 1.133 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.8582, allocations: 20.16 kB / 0.5928 GB, free: 1.117 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.8601, allocations: 0.8048 MB / 0.5936 GB, free: 320 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.8607, allocations: 0.8906 MB / 0.5944 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.8608, allocations: 37.81 kB / 0.5945 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.861, allocations: 131.4 kB / 0.5946 GB, free: 15.33 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.861, allocations: 0 / 0.5946 GB, free: 15.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/0.8929, allocations: 8.351 MB / 0.6027 GB, free: 6.977 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003115/0.8933, allocations: 184.1 kB / 0.6029 GB, free: 6.785 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/2.959, allocations: 2.406 kB / 0.6029 GB, free: 6.785 MB / 410.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