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_evenGapLaminar_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_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007612/0.0007613, allocations: 88.19 kB / 15.7 MB, free: 460 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.0008709/0.0008711, allocations: 183.5 kB / 16.59 MB, free: 6.84 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.374/1.374, allocations: 205.4 MB / 222.8 MB, free: 5.637 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.3637/0.3637, allocations: 43.55 MB / 314.6 MB, free: 9.031 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.0005405/0.0005407, allocations: 14.97 kB / 384 MB, free: 8.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1262, allocations: 58.86 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.002481/0.1287, allocations: 1.821 MB / 444.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.1305, allocations: 0.8623 MB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.1307, allocations: 4 kB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.131, allocations: 59.66 kB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004606/0.1315, allocations: 135.3 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.1317, allocations: 79.73 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006499/0.1324, allocations: 0.5484 MB / 446.4 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1325, allocations: 57.05 kB / 446.5 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.1328, allocations: 175.1 kB / 446.6 MB, free: 9.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003216/0.1332, allocations: 231 kB / 446.9 MB, free: 9.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.1332, allocations: 8 kB / 446.9 MB, free: 9.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003283/0.1335, allocations: 171.7 kB / 447 MB, free: 9.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.1337, allocations: 111.5 kB / 447.1 MB, free: 8.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1338, allocations: 93.45 kB / 447.2 MB, free: 8.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.1343, allocations: 383.1 kB / 447.6 MB, free: 8.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1343, allocations: 4 kB / 447.6 MB, free: 8.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1343, allocations: 0 / 447.6 MB, free: 8.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.1343, allocations: 0 / 447.6 MB, free: 8.426 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.001185/0.1355, allocations: 0.6704 MB / 448.3 MB, free: 7.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1356, allocations: 8.031 kB / 448.3 MB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.1357, allocations: 102.5 kB / 448.4 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.902e-05/0.1358, allocations: 59.3 kB / 448.5 MB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.1362, allocations: 298.9 kB / 448.7 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.1362, allocations: 33 kB / 448.8 MB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.199e-05/0.1363, allocations: 51.98 kB / 448.8 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.1374, allocations: 0.7031 MB / 449.5 MB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1374, allocations: 0 / 449.5 MB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.544e-05/0.1374, allocations: 23.98 kB / 449.6 MB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-05/0.1375, allocations: 61.2 kB / 449.6 MB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.1387, allocations: 0.7583 MB / 450.4 MB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00239/0.1411, allocations: 1.43 MB / 451.8 MB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000779/0.1419, allocations: 456.5 kB / 452.2 MB, free: 3.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.1423, allocations: 165.2 kB / 452.4 MB, free: 3.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.815e-05/0.1423, allocations: 8.453 kB / 452.4 MB, free: 3.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.1424, allocations: 38.55 kB / 452.5 MB, free: 3.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.375e-06/0.1424, allocations: 4 kB / 452.5 MB, free: 3.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001161/0.1436, allocations: 0.5482 MB / 453 MB, free: 2.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.1436, allocations: 55.41 kB / 453.1 MB, free: 2.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007002/0.1443, allocations: 0.529 MB / 453.6 MB, free: 2.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.1444, allocations: 25.7 kB / 453.6 MB, free: 2.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.1445, allocations: 236.4 kB / 453.8 MB, free: 1.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/0.1446, allocations: 102.5 kB / 453.9 MB, free: 1.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.1447, allocations: 4 kB / 453.9 MB, free: 1.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.1449, allocations: 366.7 kB / 454.3 MB, free: 1.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.1451, allocations: 160.5 kB / 454.5 MB, free: 1.344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.1455, allocations: 256.2 kB / 454.7 MB, free: 1.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.1459, allocations: 203.9 kB / 454.9 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1459, allocations: 0 / 454.9 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008559/0.1467, allocations: 0.4889 MB / 455.4 MB, free: 368 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.1468, allocations: 4 kB / 455.4 MB, free: 364 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1468, allocations: 4 kB / 455.4 MB, free: 360 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.1468, allocations: 11.98 kB / 455.4 MB, free: 348 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.1478, allocations: 207.8 kB / 455.6 MB, free: 140 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2219/0.3698, allocations: 7.325 MB / 462.9 MB, free: 39.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/0.3703, allocations: 53.77 kB / 463 MB, free: 39.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/0.3704, allocations: 22.77 kB / 463 MB, free: 39.29 MB / 382.1 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 () * Number of clocked 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.0003548/0.3708, allocations: 226.2 kB / 463.2 MB, free: 39.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.3708, allocations: 45.41 kB / 463.3 MB, free: 39.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.3719, allocations: 0.5478 MB / 463.8 MB, free: 39.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3719, allocations: 10.75 kB / 463.8 MB, free: 39.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.372, allocations: 7.891 kB / 463.9 MB, free: 39.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.372, allocations: 0 / 463.9 MB, free: 39.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.3725, allocations: 430.5 kB / 464.3 MB, free: 38.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3725, allocations: 6.203 kB / 464.3 MB, free: 38.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007312/0.3732, allocations: 198.7 kB / 464.5 MB, free: 38.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.3732, allocations: 3.234 kB / 464.5 MB, free: 38.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.3733, allocations: 12.84 kB / 464.5 MB, free: 38.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/0.3755, allocations: 7.32 MB / 471.8 MB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3755, allocations: 0.75 kB / 471.8 MB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006378/0.3762, allocations: 0.5162 MB / 472.3 MB, free: 31.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.451e-05/0.3763, allocations: 123.6 kB / 472.4 MB, free: 31.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.3764, allocations: 9.312 kB / 472.5 MB, free: 31.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.3766, allocations: 11.86 kB / 472.5 MB, free: 31.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.3767, allocations: 29.52 kB / 472.5 MB, free: 31.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.3767, allocations: 16.81 kB / 472.5 MB, free: 31.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003669/0.3771, allocations: 389.1 kB / 472.9 MB, free: 31.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3771, allocations: 0 / 472.9 MB, free: 31.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000465/0.3775, allocations: 131.4 kB / 473 MB, free: 31.52 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.001011/0.3786, allocations: 1.102 MB / 474.1 MB, free: 30.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.3798, allocations: 0.5308 MB / 474.7 MB, free: 30.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3798, allocations: 0 / 474.7 MB, free: 30.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008397/0.3807, allocations: 359.8 kB / 475 MB, free: 30.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.3812, allocations: 96.12 kB / 475.1 MB, free: 30.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.385, allocations: 3.284 MB / 478.4 MB, free: 29.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.3853, allocations: 0.9047 MB / 479.3 MB, free: 29.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003244/0.3857, allocations: 131.6 kB / 479.4 MB, free: 29.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.3859, allocations: 150.1 kB / 479.6 MB, free: 29.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.001e-06/0.3859, allocations: 0 / 479.6 MB, free: 29.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0592/0.4451, allocations: 12.23 MB / 491.8 MB, free: 28.18 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.4453, allocations: 264.8 kB / 492.1 MB, free: 27.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/2.515, allocations: 0 / 492.1 MB, free: 27.82 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat