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.001119/0.001119, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0009263/0.0009261, allocations: 85.27 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2535/0.2535, allocations: 44.14 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.882e-05/2.861e-05, allocations: 4.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1542, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4861/0.6404, allocations: 93.82 MB / 0.5864 GB, free: 2.539 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.6408, allocations: 91.94 kB / 0.5865 GB, free: 2.449 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03744/0.6782, allocations: 14.34 MB / 0.6005 GB, free: 3.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6783, allocations: 0 / 0.6005 GB, free: 3.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.6784, allocations: 4 kB / 0.6005 GB, free: 3.906 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001095/0.6795, allocations: 0.6286 MB / 0.6011 GB, free: 3.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.6795, allocations: 15.98 kB / 0.6011 GB, free: 3.215 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.6796, allocations: 51.34 kB / 0.6012 GB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004067/0.6801, allocations: 306.8 kB / 0.6015 GB, free: 2.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.6801, allocations: 16 kB / 0.6015 GB, free: 2.805 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.969e-05/0.6802, allocations: 28 kB / 0.6015 GB, free: 2.777 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000874/0.681, allocations: 0.631 MB / 0.6021 GB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009287/0.682, allocations: 0.5933 MB / 0.6027 GB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.682, allocations: 4 kB / 0.6027 GB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.682, allocations: 0 / 0.6027 GB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.068e-05/0.6821, allocations: 45.28 kB / 0.6028 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.6844, allocations: 1.288 MB / 0.604 GB, free: 172 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007416/0.6852, allocations: 0.5101 MB / 0.6045 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.6854, allocations: 168.5 kB / 0.6047 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.672e-05/0.6855, allocations: 7.984 kB / 0.6047 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.6855, allocations: 46.55 kB / 0.6047 GB, free: 15.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 2.855e-06/0.6855, allocations: 3.938 kB / 0.6047 GB, free: 15.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.000738/0.6863, allocations: 397.4 kB / 0.6051 GB, free: 15.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.6863, allocations: 55.41 kB / 0.6052 GB, free: 14.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.6865, allocations: 174.5 kB / 0.6053 GB, free: 14.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.6866, allocations: 25.7 kB / 0.6053 GB, free: 14.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.6867, allocations: 244.2 kB / 0.6056 GB, free: 14.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.6868, allocations: 126 kB / 0.6057 GB, free: 14.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.6869, allocations: 0 / 0.6057 GB, free: 14.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.687, allocations: 338.8 kB / 0.606 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.6873, allocations: 156.7 kB / 0.6062 GB, free: 13.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.6876, allocations: 254.2 kB / 0.6064 GB, free: 13.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.6879, allocations: 200.3 kB / 0.6066 GB, free: 13.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6879, allocations: 4 kB / 0.6066 GB, free: 13.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007219/0.6886, allocations: 472.5 kB / 0.6071 GB, free: 12.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.6886, allocations: 8 kB / 0.6071 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.6887, allocations: 0 / 0.6071 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.6887, allocations: 15.92 kB / 0.6071 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.6897, allocations: 216.1 kB / 0.6073 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004177/0.6939, allocations: 7.352 MB / 0.6145 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.6943, allocations: 24.11 kB / 0.6145 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.6943, allocations: 27.98 kB / 0.6145 GB, free: 5 MB / 426.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 (49): * Single equations (assignments): 37 * 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.0001768/0.6945, allocations: 132.7 kB / 0.6146 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006332/0.6951, allocations: 404.6 kB / 0.615 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.6952, allocations: 35.55 kB / 0.6151 GB, free: 4.426 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009676/0.6962, allocations: 0.5359 MB / 0.6156 GB, free: 3.879 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.6962, allocations: 4 kB / 0.6156 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.6962, allocations: 4 kB / 0.6156 GB, free: 3.871 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6962, allocations: 0 / 0.6156 GB, free: 3.871 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006192/0.6969, allocations: 393.5 kB / 0.616 GB, free: 3.449 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6969, allocations: 3.938 kB / 0.616 GB, free: 3.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009408/0.6978, allocations: 207.8 kB / 0.6162 GB, free: 3.242 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.6978, allocations: 0 / 0.6162 GB, free: 3.242 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.6979, allocations: 15.95 kB / 0.6162 GB, free: 3.227 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003936/0.7018, allocations: 7.337 MB / 0.6234 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.7018, allocations: 0 / 0.6234 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007141/0.7026, allocations: 0.5034 MB / 0.6238 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.7027, allocations: 108.8 kB / 0.624 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.7027, allocations: 4 kB / 0.624 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.703, allocations: 7.984 kB / 0.624 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.7031, allocations: 31.95 kB / 0.624 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.7031, allocations: 15.98 kB / 0.624 GB, free: 10.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001403/0.7033, allocations: 128.1 kB / 0.6241 GB, free: 10.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7033, allocations: 0 / 0.6241 GB, free: 10.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007148/0.704, allocations: 155.4 kB / 0.6243 GB, free: 10.63 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 (37): * Single equations (assignments): 25 * 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.001286/0.7053, allocations: 1.135 MB / 0.6254 GB, free: 9.469 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.7067, allocations: 0.4953 MB / 0.6259 GB, free: 8.973 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7068, allocations: 0 / 0.6259 GB, free: 8.973 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009077/0.7077, allocations: 312.3 kB / 0.6262 GB, free: 8.668 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.708, allocations: 20.16 kB / 0.6262 GB, free: 8.648 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.71, allocations: 0.8058 MB / 0.627 GB, free: 7.797 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006317/0.7106, allocations: 0.9125 MB / 0.6279 GB, free: 6.859 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002662/0.7109, allocations: 105.9 kB / 0.628 GB, free: 6.754 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.7111, allocations: 135.4 kB / 0.6281 GB, free: 6.621 MB / 442.7 MB Notification: Performance of SimCode: time 8.61e-07/0.7111, allocations: 4 kB / 0.6281 GB, free: 6.617 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.7394, allocations: 8.121 MB / 0.636 GB, free: 14.52 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.7397, allocations: 190.5 kB / 0.6362 GB, free: 14.32 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/2.887, allocations: 1.406 kB / 0.6362 GB, free: 14.32 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