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_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_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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.001511/0.001511, allocations: 182.8 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.534/1.534, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009143/0.0009144, allocations: 102.8 kB / 270.2 MB, free: 13.36 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.2261/0.2261, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003415, allocations: 8 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1283, allocations: 58.85 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4166/0.5449, allocations: 97.69 MB / 0.5743 GB, free: 1.613 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.5453, allocations: 95.31 kB / 0.5744 GB, free: 1.555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0542/0.5995, allocations: 20.3 MB / 0.5942 GB, free: 92 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5995, allocations: 0 / 0.5942 GB, free: 92 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.5996, allocations: 8 kB / 0.5942 GB, free: 84 kB / 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.001209/0.6008, allocations: 0.6877 MB / 0.5949 GB, free: 15.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.6008, allocations: 8.031 kB / 0.5949 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.601, allocations: 104 kB / 0.595 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.297e-05/0.6011, allocations: 55.28 kB / 0.595 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005313/0.6016, allocations: 304.5 kB / 0.5953 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.6017, allocations: 34.69 kB / 0.5953 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.6017, allocations: 52.88 kB / 0.5954 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.6028, allocations: 0.6865 MB / 0.5961 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.6028, allocations: 4 kB / 0.5961 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.785e-05/0.6029, allocations: 24.73 kB / 0.5961 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.502e-05/0.603, allocations: 41.28 kB / 0.5961 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.6041, allocations: 0.7458 MB / 0.5969 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.6065, allocations: 1.457 MB / 0.5983 GB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007364/0.6072, allocations: 460.7 kB / 0.5987 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.821e-05/0.6073, allocations: 12.2 kB / 0.5987 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.6073, allocations: 33.73 kB / 0.5988 GB, free: 11.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 4.709e-06/0.6073, allocations: 112 / 0.5988 GB, free: 11.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001108/0.6084, allocations: 0.5508 MB / 0.5993 GB, free: 11.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.6085, allocations: 55.41 kB / 0.5994 GB, free: 11.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/0.609, allocations: 487 kB / 0.5998 GB, free: 10.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.609, allocations: 29.52 kB / 0.5998 GB, free: 10.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.6092, allocations: 247 kB / 0.6001 GB, free: 10.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.857e-05/0.6093, allocations: 104.2 kB / 0.6002 GB, free: 10.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.6093, allocations: 3.5 kB / 0.6002 GB, free: 10.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6095, allocations: 360.1 kB / 0.6005 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.6098, allocations: 162.5 kB / 0.6007 GB, free: 10.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.6102, allocations: 304.5 kB / 0.601 GB, free: 9.867 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.6105, allocations: 212.8 kB / 0.6012 GB, free: 9.691 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6105, allocations: 0 / 0.6012 GB, free: 9.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008809/0.6114, allocations: 0.5533 MB / 0.6017 GB, free: 9.195 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.6114, allocations: 4 kB / 0.6017 GB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6115, allocations: 4 kB / 0.6017 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.6115, allocations: 8 kB / 0.6017 GB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009836/0.6125, allocations: 215.3 kB / 0.6019 GB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003789/0.6163, allocations: 7.311 MB / 0.6091 GB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.6167, allocations: 69.08 kB / 0.6091 GB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.6167, allocations: 23.05 kB / 0.6092 GB, free: 1.383 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (46): * Single equations (assignments): 34 * 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.0003055/0.617, allocations: 252 kB / 0.6094 GB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.6171, allocations: 43.44 kB / 0.6094 GB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.6181, allocations: 0.5448 MB / 0.61 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.6181, allocations: 7.938 kB / 0.61 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.6181, allocations: 0 / 0.61 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.6181, allocations: 3.984 kB / 0.61 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.6186, allocations: 423.6 kB / 0.6104 GB, free: 204 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6186, allocations: 0 / 0.6104 GB, free: 204 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00086/0.6195, allocations: 199.3 kB / 0.6106 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.6195, allocations: 0 / 0.6106 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.6196, allocations: 11.42 kB / 0.6106 GB, free: 0 / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003469/0.623, allocations: 7.31 MB / 0.6177 GB, free: 8.488 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6231, allocations: 0 / 0.6177 GB, free: 8.488 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007233/0.6238, allocations: 0.5049 MB / 0.6182 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.624, allocations: 128.5 kB / 0.6184 GB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-05/0.624, allocations: 7.312 kB / 0.6184 GB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.6242, allocations: 19.73 kB / 0.6184 GB, free: 7.848 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.6243, allocations: 23.78 kB / 0.6184 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.6244, allocations: 11.98 kB / 0.6184 GB, free: 7.816 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003882/0.6247, allocations: 385.1 kB / 0.6188 GB, free: 7.512 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6248, allocations: 0 / 0.6188 GB, free: 7.512 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006323/0.6254, allocations: 183.6 kB / 0.619 GB, free: 7.348 MB / 426.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.001371/0.6268, allocations: 1.215 MB / 0.6201 GB, free: 6.164 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.6281, allocations: 0.5082 MB / 0.6206 GB, free: 5.695 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6281, allocations: 0 / 0.6206 GB, free: 5.695 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000902/0.629, allocations: 315 kB / 0.6209 GB, free: 5.406 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.6295, allocations: 77.42 kB / 0.621 GB, free: 5.352 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005179/0.6347, allocations: 5.962 MB / 0.6268 GB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.6352, allocations: 0.903 MB / 0.6277 GB, free: 14.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000337/0.6356, allocations: 136.2 kB / 0.6278 GB, free: 14.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.6357, allocations: 144 kB / 0.628 GB, free: 14.62 MB / 442.7 MB Notification: Performance of SimCode: time 1.532e-06/0.6358, allocations: 0 / 0.628 GB, free: 14.62 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.665, allocations: 13.85 MB / 0.6415 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/0.6653, allocations: 254.3 kB / 0.6417 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/3.083, allocations: 0 / 0.6417 GB, free: 0.4922 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat