Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.3 MB / 236 MB, free: 2.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001108, allocations: 87.92 kB / 287 MB, free: 188 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2317/0.2317, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.852e-05/3.854e-05, allocations: 4.219 kB / 451.9 MB, free: 9.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1469, allocations: 61.91 MB / 0.5018 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4985/0.6454, allocations: 94.47 MB / 0.5941 GB, free: 10.74 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.6457, allocations: 95.94 kB / 0.5942 GB, free: 10.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03724/0.683, allocations: 14.51 MB / 0.6083 GB, free: 11.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.683, allocations: 0 / 0.6083 GB, free: 11.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.6831, allocations: 12 kB / 0.6084 GB, free: 11.92 MB / 426.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.0009283/0.684, allocations: 0.6273 MB / 0.609 GB, free: 11.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.6841, allocations: 12.02 kB / 0.609 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.6842, allocations: 98.52 kB / 0.6091 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.872e-05/0.6843, allocations: 55.28 kB / 0.6091 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/0.6848, allocations: 306.9 kB / 0.6094 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.6848, allocations: 37.31 kB / 0.6095 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.893e-05/0.6849, allocations: 55.95 kB / 0.6095 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000994/0.6859, allocations: 0.6662 MB / 0.6102 GB, free: 9.961 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.6859, allocations: 3.938 kB / 0.6102 GB, free: 9.957 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.686, allocations: 23.98 kB / 0.6102 GB, free: 9.934 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.353e-05/0.686, allocations: 37.3 kB / 0.6102 GB, free: 9.898 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009786/0.687, allocations: 0.7078 MB / 0.6109 GB, free: 9.191 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.6892, allocations: 1.461 MB / 0.6123 GB, free: 7.668 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006638/0.6899, allocations: 433.7 kB / 0.6127 GB, free: 7.238 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.6902, allocations: 141.2 kB / 0.6129 GB, free: 7.098 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.423e-05/0.6902, allocations: 12.2 kB / 0.6129 GB, free: 7.086 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.6902, allocations: 34.8 kB / 0.6129 GB, free: 7.043 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 2.194e-06/0.6902, allocations: 0 / 0.6129 GB, free: 7.043 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006888/0.6909, allocations: 381.9 kB / 0.6133 GB, free: 6.664 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.691, allocations: 55.41 kB / 0.6133 GB, free: 6.598 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005305/0.6915, allocations: 483 kB / 0.6138 GB, free: 6.121 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.6916, allocations: 33.7 kB / 0.6138 GB, free: 6.082 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.6917, allocations: 232.1 kB / 0.6141 GB, free: 5.848 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.289e-05/0.6918, allocations: 98.64 kB / 0.6142 GB, free: 5.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/0.6919, allocations: 4 kB / 0.6142 GB, free: 5.746 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.692, allocations: 362.8 kB / 0.6145 GB, free: 5.383 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.6923, allocations: 140.5 kB / 0.6146 GB, free: 5.242 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.6926, allocations: 224.4 kB / 0.6149 GB, free: 4.984 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.6929, allocations: 183.7 kB / 0.615 GB, free: 4.805 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.6929, allocations: 4 kB / 0.615 GB, free: 4.801 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007231/0.6936, allocations: 464.9 kB / 0.6155 GB, free: 4.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.6936, allocations: 8 kB / 0.6155 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.6937, allocations: 0 / 0.6155 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.6937, allocations: 8 kB / 0.6155 GB, free: 4.324 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.6947, allocations: 207.8 kB / 0.6157 GB, free: 4.121 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003843/0.6986, allocations: 7.321 MB / 0.6228 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.699, allocations: 59.36 kB / 0.6229 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.699, allocations: 19.98 kB / 0.6229 GB, free: 12.44 MB / 442.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 () * 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.0001585/0.6992, allocations: 139.8 kB / 0.623 GB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.321e-05/0.6993, allocations: 47.62 kB / 0.6231 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00094/0.7002, allocations: 0.5095 MB / 0.6236 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.7002, allocations: 11.89 kB / 0.6236 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.7002, allocations: 0 / 0.6236 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.7003, allocations: 3.984 kB / 0.6236 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005358/0.7008, allocations: 417.2 kB / 0.624 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.7008, allocations: 8 kB / 0.624 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000891/0.7017, allocations: 195.8 kB / 0.6242 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.7017, allocations: 4 kB / 0.6242 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.7018, allocations: 11.98 kB / 0.6242 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003705/0.7055, allocations: 7.317 MB / 0.6314 GB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7055, allocations: 8.031 kB / 0.6314 GB, free: 3.434 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006891/0.7062, allocations: 475.3 kB / 0.6318 GB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.7063, allocations: 124.6 kB / 0.6319 GB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.7064, allocations: 3.938 kB / 0.6319 GB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.7066, allocations: 19.94 kB / 0.632 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/0.7067, allocations: 27.95 kB / 0.632 GB, free: 2.762 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.7067, allocations: 12 kB / 0.632 GB, free: 2.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004254/0.7072, allocations: 385.1 kB / 0.6324 GB, free: 2.379 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7072, allocations: 0 / 0.6324 GB, free: 2.379 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005096/0.7077, allocations: 143.8 kB / 0.6325 GB, free: 2.238 MB / 442.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 () * 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.001113/0.7088, allocations: 1.095 MB / 0.6336 GB, free: 1.121 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.7102, allocations: 460.2 kB / 0.634 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7102, allocations: 4 kB / 0.634 GB, free: 0.668 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009281/0.7111, allocations: 287.6 kB / 0.6343 GB, free: 396 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.7115, allocations: 93.92 kB / 0.6344 GB, free: 304 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.7131, allocations: 0.8387 MB / 0.6352 GB, free: 15.42 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.7137, allocations: 0.9014 MB / 0.6361 GB, free: 14.49 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002904/0.714, allocations: 128.1 kB / 0.6362 GB, free: 14.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.7143, allocations: 139.4 kB / 0.6363 GB, free: 14.23 MB / 458.7 MB Notification: Performance of SimCode: time 4.81e-07/0.7143, allocations: 0 / 0.6363 GB, free: 14.23 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.7436, allocations: 12.72 MB / 0.6488 GB, free: 1.77 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.7439, allocations: 225.8 kB / 0.649 GB, free: 1.543 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/3.14, allocations: 2.812 kB / 0.649 GB, free: 1.543 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat