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.001133/0.001134, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.622/1.622, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009722/0.000972, allocations: 94.81 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2256/0.2256, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004249/0.0004249, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1282, allocations: 58.86 MB / 490.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3884/0.5166, allocations: 93.41 MB / 0.5701 GB, free: 6.242 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.5169, allocations: 99.12 kB / 0.5702 GB, free: 6.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0364/0.5534, allocations: 14.09 MB / 0.5839 GB, free: 10.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5534, allocations: 0 / 0.5839 GB, free: 10.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.5534, allocations: 8 kB / 0.584 GB, free: 10.02 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.0009884/0.5544, allocations: 0.6493 MB / 0.5846 GB, free: 9.355 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.5545, allocations: 8.031 kB / 0.5846 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.5546, allocations: 107.1 kB / 0.5847 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.302e-05/0.5547, allocations: 51.34 kB / 0.5847 GB, free: 9.215 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/0.5552, allocations: 311.6 kB / 0.585 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.5552, allocations: 38.94 kB / 0.5851 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.307e-05/0.5553, allocations: 47.25 kB / 0.5851 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009998/0.5563, allocations: 0.6917 MB / 0.5858 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.5563, allocations: 0 / 0.5858 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/0.5564, allocations: 21.75 kB / 0.5858 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-05/0.5564, allocations: 41.28 kB / 0.5859 GB, free: 8.238 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.5575, allocations: 0.7487 MB / 0.5866 GB, free: 7.668 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.5597, allocations: 1.468 MB / 0.588 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/0.5605, allocations: 470.8 kB / 0.5885 GB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.5605, allocations: 8.219 kB / 0.5885 GB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.5605, allocations: 34.05 kB / 0.5885 GB, free: 5.887 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.382e-06/0.5605, allocations: 4 kB / 0.5885 GB, free: 5.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001028/0.5616, allocations: 0.5387 MB / 0.589 GB, free: 5.391 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.5616, allocations: 59.41 kB / 0.5891 GB, free: 5.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004949/0.5621, allocations: 488.3 kB / 0.5896 GB, free: 4.926 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.5622, allocations: 33 kB / 0.5896 GB, free: 4.891 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.5623, allocations: 224.1 kB / 0.5898 GB, free: 4.738 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.835e-05/0.5624, allocations: 106.1 kB / 0.5899 GB, free: 4.648 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.872e-05/0.5624, allocations: 7.438 kB / 0.5899 GB, free: 4.645 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5626, allocations: 355.5 kB / 0.5903 GB, free: 4.309 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.5629, allocations: 161.6 kB / 0.5904 GB, free: 4.164 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/0.5633, allocations: 255.1 kB / 0.5907 GB, free: 3.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.5636, allocations: 193.8 kB / 0.5908 GB, free: 3.738 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5636, allocations: 0 / 0.5908 GB, free: 3.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00082/0.5645, allocations: 0.5032 MB / 0.5913 GB, free: 3.281 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.5645, allocations: 4 kB / 0.5913 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.5645, allocations: 8 kB / 0.5913 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.5645, allocations: 4 kB / 0.5913 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009342/0.5655, allocations: 207.6 kB / 0.5915 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00416/0.5696, allocations: 7.315 MB / 0.5987 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.57, allocations: 66.11 kB / 0.5988 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.5701, allocations: 23.98 kB / 0.5988 GB, free: 11.48 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 () * Number of clocked 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.0003693/0.5705, allocations: 235.3 kB / 0.599 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/0.5706, allocations: 47.39 kB / 0.599 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.5716, allocations: 0.5511 MB / 0.5996 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5716, allocations: 4 kB / 0.5996 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.5716, allocations: 0 / 0.5996 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5716, allocations: 0 / 0.5996 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.5722, allocations: 420.5 kB / 0.6 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5722, allocations: 0 / 0.6 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007869/0.573, allocations: 205.1 kB / 0.6002 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.573, allocations: 4 kB / 0.6002 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.573, allocations: 15.36 kB / 0.6002 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003913/0.577, allocations: 7.3 MB / 0.6073 GB, free: 2.609 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.577, allocations: 8 kB / 0.6073 GB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000742/0.5777, allocations: 0.5086 MB / 0.6078 GB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.5779, allocations: 128.5 kB / 0.608 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.5779, allocations: 11.5 kB / 0.608 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.5782, allocations: 11.62 kB / 0.608 GB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.5782, allocations: 23.95 kB / 0.608 GB, free: 1.941 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.5783, allocations: 15.48 kB / 0.608 GB, free: 1.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004393/0.5787, allocations: 385.5 kB / 0.6084 GB, free: 1.625 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5787, allocations: 0 / 0.6084 GB, free: 1.625 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005108/0.5792, allocations: 133.3 kB / 0.6085 GB, free: 1.504 MB / 410.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 () * Number of clocked 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.001223/0.5805, allocations: 1.161 MB / 0.6096 GB, free: 380 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.5818, allocations: 495 kB / 0.6101 GB, free: 15.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5818, allocations: 0 / 0.6101 GB, free: 15.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008815/0.5827, allocations: 316.6 kB / 0.6104 GB, free: 15.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.5831, allocations: 78.36 kB / 0.6105 GB, free: 15.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004853/0.588, allocations: 5.018 MB / 0.6154 GB, free: 10.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.5885, allocations: 0.908 MB / 0.6163 GB, free: 9.996 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002918/0.5888, allocations: 120.1 kB / 0.6164 GB, free: 9.875 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.589, allocations: 137.8 kB / 0.6165 GB, free: 9.832 MB / 426.7 MB Notification: Performance of SimCode: time 7.61e-07/0.589, allocations: 0 / 0.6165 GB, free: 9.832 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.6159, allocations: 12.75 MB / 0.629 GB, free: 13.14 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000316/0.6163, allocations: 259.1 kB / 0.6292 GB, free: 12.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/3.054, allocations: 0 / 0.6292 GB, free: 12.8 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