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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008569/0.0008568, allocations: 96.78 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000968/0.0009681, allocations: 174 kB / 16.58 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.4 MB / 222.7 MB, free: 5.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.361/0.361, allocations: 43.54 MB / 314.6 MB, free: 8.781 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005852/0.0005853, allocations: 16 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1158, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.002291/0.1182, allocations: 1.856 MB / 444.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002682/0.1209, allocations: 1.891 MB / 446.6 MB, free: 9.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.121, allocations: 4 kB / 446.6 MB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.1212, allocations: 59.66 kB / 446.7 MB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.1215, allocations: 91.42 kB / 446.8 MB, free: 9.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008535/0.1223, allocations: 358.7 kB / 447.1 MB, free: 8.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005633/0.1229, allocations: 0.5445 MB / 447.7 MB, free: 8.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.824e-05/0.123, allocations: 65.31 kB / 447.8 MB, free: 8.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.1232, allocations: 163.1 kB / 447.9 MB, free: 7.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.1235, allocations: 215 kB / 448.1 MB, free: 7.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.1235, allocations: 12 kB / 448.1 MB, free: 7.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008749/0.1244, allocations: 0.6045 MB / 448.7 MB, free: 7.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1245, allocations: 103.4 kB / 448.8 MB, free: 6.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.64e-05/0.1246, allocations: 93.45 kB / 448.9 MB, free: 6.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.1251, allocations: 0.5219 MB / 449.5 MB, free: 6.355 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1252, allocations: 0 / 449.5 MB, free: 6.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1252, allocations: 0 / 449.5 MB, free: 6.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1252, allocations: 0 / 449.5 MB, free: 6.355 MB / 382.1 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.001032/0.1262, allocations: 0.7328 MB / 450.2 MB, free: 5.574 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1263, allocations: 12.03 kB / 450.2 MB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.829e-05/0.1264, allocations: 98.5 kB / 450.3 MB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.1264, allocations: 55.33 kB / 450.3 MB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.1268, allocations: 306.2 kB / 450.6 MB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.1268, allocations: 33 kB / 450.7 MB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.953e-05/0.1269, allocations: 48 kB / 450.7 MB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.1279, allocations: 0.7039 MB / 451.4 MB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1279, allocations: 3.984 kB / 451.4 MB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.128, allocations: 28 kB / 451.5 MB, free: 4.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.128, allocations: 21 kB / 451.5 MB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008368/0.1288, allocations: 0.5193 MB / 452 MB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.1308, allocations: 1.484 MB / 453.5 MB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/0.1314, allocations: 339.7 kB / 453.8 MB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/0.1318, allocations: 166.6 kB / 454 MB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.816e-05/0.1319, allocations: 15.92 kB / 454 MB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.1319, allocations: 38.5 kB / 454 MB, free: 1.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/0.1319, allocations: 0 / 454 MB, free: 1.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001215/0.1331, allocations: 0.5505 MB / 454.6 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.1332, allocations: 106.8 kB / 454.7 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005779/0.1338, allocations: 0.5604 MB / 455.2 MB, free: 304 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.1338, allocations: 29.77 kB / 455.3 MB, free: 268 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.134, allocations: 240.1 kB / 455.5 MB, free: 24 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2061/0.3401, allocations: 68.16 kB / 455.6 MB, free: 46.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.3402, allocations: 3.75 kB / 455.6 MB, free: 46.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.3403, allocations: 358.3 kB / 455.9 MB, free: 45.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.3407, allocations: 165.8 kB / 456.1 MB, free: 45.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.3411, allocations: 264.6 kB / 456.4 MB, free: 45.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.3414, allocations: 193 kB / 456.5 MB, free: 45.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.3415, allocations: 2.906 kB / 456.5 MB, free: 45.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008995/0.3424, allocations: 0.4995 MB / 457 MB, free: 45.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.3424, allocations: 9.016 kB / 457.1 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.483e-05/0.3425, allocations: 47.7 kB / 457.1 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.3425, allocations: 6.531 kB / 457.1 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.3427, allocations: 41.55 kB / 457.1 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.3427, allocations: 10.88 kB / 457.2 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.343, allocations: 72.58 kB / 457.2 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-05/0.3431, allocations: 19.19 kB / 457.2 MB, free: 45.7 MB / 382.1 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 () * Number of clocked 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.0002345/0.3433, allocations: 224 kB / 457.5 MB, free: 45.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.647e-05/0.3434, allocations: 42.52 kB / 457.5 MB, free: 45.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007839/0.3442, allocations: 481.8 kB / 458 MB, free: 45.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.3442, allocations: 5.75 kB / 458 MB, free: 45.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3442, allocations: 0 / 458 MB, free: 45.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3442, allocations: 8.562 kB / 458 MB, free: 45.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.3447, allocations: 407.4 kB / 458.4 MB, free: 45.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.617e-05/0.3448, allocations: 40.16 kB / 458.4 MB, free: 45.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.3449, allocations: 36.61 kB / 458.5 MB, free: 45.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3449, allocations: 0 / 458.5 MB, free: 45.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.345, allocations: 14.67 kB / 458.5 MB, free: 45.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.345, allocations: 2.516 kB / 458.5 MB, free: 45.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.345, allocations: 3.281 kB / 458.5 MB, free: 45.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007494/0.3457, allocations: 0.6464 MB / 459.1 MB, free: 44.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.582e-05/0.3458, allocations: 132.9 kB / 459.3 MB, free: 44.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.3459, allocations: 2.938 kB / 459.3 MB, free: 44.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.3462, allocations: 35.11 kB / 459.3 MB, free: 44.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/0.3463, allocations: 21.67 kB / 459.3 MB, free: 44.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.3463, allocations: 11.53 kB / 459.3 MB, free: 44.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003525/0.3466, allocations: 408.4 kB / 459.7 MB, free: 44.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3467, allocations: 0 / 459.7 MB, free: 44.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006533/0.3473, allocations: 177.8 kB / 459.9 MB, free: 44.77 MB / 382.1 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 () * Number of clocked 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.001323/0.3486, allocations: 1.315 MB / 461.2 MB, free: 43.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008854/0.3495, allocations: 0.6869 MB / 461.9 MB, free: 43.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3496, allocations: 0 / 461.9 MB, free: 43.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004423/0.35, allocations: 497.6 kB / 462.4 MB, free: 43.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/0.3507, allocations: 91.8 kB / 462.5 MB, free: 43.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/0.3549, allocations: 3.319 MB / 465.8 MB, free: 42.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3553, allocations: 0.8822 MB / 466.7 MB, free: 41.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002001/0.3555, allocations: 78.12 kB / 466.8 MB, free: 41.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.3557, allocations: 127.2 kB / 466.9 MB, free: 41.48 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3557, allocations: 4 kB / 466.9 MB, free: 41.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.3804, allocations: 12.97 MB / 479.9 MB, free: 40.37 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/0.3806, allocations: 223.2 kB / 480.1 MB, free: 40.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.167/2.548, allocations: 3.953 kB / 480.1 MB, free: 40.13 MB / 382.1 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) Environment - environmentSimulation: 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