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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008055/0.0008118, 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.0009508/0.0009508, allocations: 176.4 kB / 16.58 MB, free: 5.656 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.428/1.428, allocations: 205.4 MB / 222.7 MB, free: 5.621 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.368/0.368, allocations: 43.55 MB / 314.6 MB, free: 8.793 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.0004673/0.0004674, allocations: 20 kB / 384 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1161, allocations: 58.85 MB / 442.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.002085/0.1182, allocations: 1.801 MB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.1205, allocations: 1.649 MB / 446.4 MB, free: 9.457 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.125e-05/0.1206, allocations: 0 / 446.4 MB, free: 9.457 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.1208, allocations: 55.72 kB / 446.4 MB, free: 9.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.1212, allocations: 135.4 kB / 446.5 MB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006036/0.1218, allocations: 271 kB / 446.8 MB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005615/0.1224, allocations: 0.5445 MB / 447.3 MB, free: 8.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.991e-05/0.1225, allocations: 61.05 kB / 447.4 MB, free: 8.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.1227, allocations: 175.1 kB / 447.6 MB, free: 8.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.123, allocations: 223 kB / 447.8 MB, free: 8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.123, allocations: 16 kB / 447.8 MB, free: 7.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007313/0.1237, allocations: 0.5225 MB / 448.3 MB, free: 7.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.1239, allocations: 111.5 kB / 448.4 MB, free: 7.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.908e-05/0.1239, allocations: 89.45 kB / 448.5 MB, free: 7.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004707/0.1244, allocations: 494.7 kB / 449 MB, free: 6.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1244, allocations: 0 / 449 MB, free: 6.773 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1244, allocations: 0 / 449 MB, free: 6.773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1244, allocations: 4 kB / 449 MB, free: 6.77 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001004/0.1255, allocations: 0.6978 MB / 449.7 MB, free: 6.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1255, allocations: 11.97 kB / 449.7 MB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.1256, allocations: 98.52 kB / 449.8 MB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.547e-05/0.1257, allocations: 55.3 kB / 449.9 MB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.1261, allocations: 299 kB / 450.2 MB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.1262, allocations: 33 kB / 450.2 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.316e-05/0.1263, allocations: 47.98 kB / 450.2 MB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.1275, allocations: 0.7147 MB / 451 MB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1275, allocations: 0 / 451 MB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.322e-05/0.1275, allocations: 19.98 kB / 451 MB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.895e-05/0.1276, allocations: 53.28 kB / 451 MB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.1289, allocations: 0.7545 MB / 451.8 MB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.1309, allocations: 1.414 MB / 453.2 MB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007315/0.1317, allocations: 464.4 kB / 453.7 MB, free: 1.961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.132, allocations: 165.3 kB / 453.8 MB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.322e-05/0.1321, allocations: 16.33 kB / 453.8 MB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.1321, allocations: 34.56 kB / 453.9 MB, free: 1.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.403e-06/0.1321, allocations: 0 / 453.9 MB, free: 1.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.00106/0.1332, allocations: 0.5598 MB / 454.4 MB, free: 1.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.1332, allocations: 51.41 kB / 454.5 MB, free: 1.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005881/0.1338, allocations: 0.5329 MB / 455 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.1338, allocations: 33.7 kB / 455 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.134, allocations: 244 kB / 455.3 MB, free: 292 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.042e-05/0.1341, allocations: 94.66 kB / 455.4 MB, free: 196 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.1341, allocations: 4 kB / 455.4 MB, free: 192 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.2065/0.3407, allocations: 365.5 kB / 455.7 MB, free: 45.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.3411, allocations: 161.7 kB / 455.9 MB, free: 45.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.3415, allocations: 296.9 kB / 456.2 MB, free: 45.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.3419, allocations: 221.1 kB / 456.4 MB, free: 45.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3419, allocations: 0 / 456.4 MB, free: 45.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008274/0.3427, allocations: 0.5424 MB / 456.9 MB, free: 45.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3428, allocations: 6.094 kB / 456.9 MB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.3428, allocations: 11.38 kB / 457 MB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/0.3428, allocations: 7.969 kB / 457 MB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008304/0.3436, allocations: 226.4 kB / 457.2 MB, free: 45.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.3459, allocations: 7.313 MB / 464.5 MB, free: 38.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.3463, allocations: 64.75 kB / 464.6 MB, free: 38.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.3463, allocations: 28.44 kB / 464.6 MB, free: 38.73 MB / 382.1 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.0002681/0.3466, allocations: 238.4 kB / 464.8 MB, free: 38.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-05/0.3467, allocations: 45.25 kB / 464.9 MB, free: 38.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009408/0.3476, allocations: 0.5528 MB / 465.4 MB, free: 38.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.3476, allocations: 3.062 kB / 465.4 MB, free: 38.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3476, allocations: 0 / 465.4 MB, free: 38.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3477, allocations: 0 / 465.4 MB, free: 38.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.3482, allocations: 435.4 kB / 465.8 MB, free: 38.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3482, allocations: 3.234 kB / 465.9 MB, free: 38.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007479/0.3489, allocations: 206.7 kB / 466.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3489, allocations: 4 kB / 466.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.349, allocations: 12.91 kB / 466.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/0.3512, allocations: 7.308 MB / 473.4 MB, free: 31.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3512, allocations: 0 / 473.4 MB, free: 31.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000687/0.3519, allocations: 0.515 MB / 473.9 MB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.352, allocations: 124.8 kB / 474 MB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/0.3521, allocations: 6.875 kB / 474 MB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.3523, allocations: 16.73 kB / 474 MB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/0.3524, allocations: 23.53 kB / 474.1 MB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.3524, allocations: 13.56 kB / 474.1 MB, free: 30.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003695/0.3528, allocations: 384.1 kB / 474.4 MB, free: 30.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3528, allocations: 0 / 474.4 MB, free: 30.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005668/0.3534, allocations: 164.7 kB / 474.6 MB, free: 30.88 MB / 382.1 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.001031/0.3544, allocations: 1.174 MB / 475.8 MB, free: 30.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.3557, allocations: 0.5589 MB / 476.3 MB, free: 30.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3557, allocations: 0 / 476.3 MB, free: 30.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000853/0.3566, allocations: 361.2 kB / 476.7 MB, free: 30.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.3571, allocations: 86.56 kB / 476.8 MB, free: 30.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/0.361, allocations: 3.319 MB / 480.1 MB, free: 29.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.3613, allocations: 0.893 MB / 481 MB, free: 28.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003339/0.3616, allocations: 145.4 kB / 481.1 MB, free: 28.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.3618, allocations: 140.1 kB / 481.3 MB, free: 28.42 MB / 382.1 MB Notification: Performance of SimCode: time 1.954e-06/0.3618, allocations: 0 / 481.3 MB, free: 28.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.3901, allocations: 13.45 MB / 494.7 MB, free: 27.34 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/0.3903, allocations: 272.5 kB / 495 MB, free: 26.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/2.594, allocations: 0 / 495 MB, free: 26.97 MB / 382.1 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) 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_KC_res.mat does not exist to compare? outputFormat=mat