Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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_1_0-beta_om_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 trunk/package.mo): time 0.001243/0.001243, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2318/0.2318, allocations: 46.11 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 80.64 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.124, allocations: 62.45 MB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.003815/0.1279, allocations: 2.184 MB / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.1296, allocations: 0.9307 MB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1297, allocations: 4 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.13, allocations: 67.58 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.1304, allocations: 139.3 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.1307, allocations: 91.64 kB / 483.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005129/0.1312, allocations: 485.7 kB / 484.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1313, allocations: 69.02 kB / 484.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.1316, allocations: 199 kB / 484.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.1319, allocations: 218.9 kB / 484.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.189e-05/0.1319, allocations: 16 kB / 484.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.1323, allocations: 187.7 kB / 484.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.1324, allocations: 107.5 kB / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.1326, allocations: 190.7 kB / 485.1 MB, free: 228 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006639/0.1333, allocations: 0.5332 MB / 485.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1333, allocations: 0 / 485.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1333, allocations: 0 / 485.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1333, allocations: 4 kB / 485.6 MB, free: 15.68 MB / 366.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.001344/0.1347, allocations: 0.7526 MB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.1347, allocations: 12.03 kB / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.1349, allocations: 94.7 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.1351, allocations: 52.28 kB / 486.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.1355, allocations: 318.8 kB / 486.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.1356, allocations: 29 kB / 486.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.1356, allocations: 47.98 kB / 486.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.1368, allocations: 0.7186 MB / 487.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.1369, allocations: 0 / 487.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-05/0.137, allocations: 19.98 kB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.1371, allocations: 53.28 kB / 487.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.1385, allocations: 0.7466 MB / 488.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.141, allocations: 1.438 MB / 489.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009355/0.142, allocations: 460.4 kB / 490.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/0.1423, allocations: 161.2 kB / 490.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.427e-05/0.1424, allocations: 8.219 kB / 490.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.1424, allocations: 34.8 kB / 490.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.074e-06/0.1424, allocations: 0 / 490.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001501/0.1439, allocations: 0.5482 MB / 491.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.144, allocations: 55.34 kB / 491.1 MB, free: 9.965 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007088/0.1447, allocations: 0.529 MB / 491.7 MB, free: 9.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.1447, allocations: 29.7 kB / 491.7 MB, free: 9.395 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.1449, allocations: 232.5 kB / 491.9 MB, free: 9.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.145, allocations: 102.5 kB / 492 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.1452, allocations: 82.02 kB / 492.1 MB, free: 8.973 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.1454, allocations: 358.8 kB / 492.4 MB, free: 8.613 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.1457, allocations: 160.5 kB / 492.6 MB, free: 8.457 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.1461, allocations: 240.3 kB / 492.8 MB, free: 8.184 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009534/0.1471, allocations: 439.5 kB / 493.3 MB, free: 7.715 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.1471, allocations: 4 kB / 493.3 MB, free: 7.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009169/0.148, allocations: 0.4927 MB / 493.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1481, allocations: 4 kB / 493.8 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.1481, allocations: 4 kB / 493.8 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.1481, allocations: 4 kB / 493.8 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.1491, allocations: 216.1 kB / 494 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004745/0.1539, allocations: 7.317 MB / 0.4896 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.1543, allocations: 59.36 kB / 0.4896 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.1543, allocations: 20 kB / 0.4896 GB, free: 15.31 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 (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003172/0.1547, allocations: 234.5 kB / 0.4899 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-05/0.1548, allocations: 43.44 kB / 0.4899 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.1559, allocations: 0.5407 MB / 0.4904 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1559, allocations: 4 kB / 0.4904 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1559, allocations: 0 / 0.4904 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.1559, allocations: 11.98 kB / 0.4904 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000574/0.1565, allocations: 429.1 kB / 0.4908 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1565, allocations: 0 / 0.4908 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008529/0.1574, allocations: 199.9 kB / 0.491 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.1574, allocations: 4 kB / 0.491 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.1574, allocations: 15.92 kB / 0.4911 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004664/0.1621, allocations: 7.31 MB / 0.4982 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1621, allocations: 0 / 0.4982 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009826/0.1631, allocations: 0.5075 MB / 0.4987 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.1634, allocations: 128.7 kB / 0.4988 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.316e-05/0.1634, allocations: 8 kB / 0.4988 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.1637, allocations: 11.98 kB / 0.4988 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.1638, allocations: 31.84 kB / 0.4989 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/0.1639, allocations: 19.98 kB / 0.4989 GB, free: 5.457 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005662/0.1644, allocations: 387 kB / 0.4993 GB, free: 5.082 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1644, allocations: 0 / 0.4993 GB, free: 5.082 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005477/0.165, allocations: 127.8 kB / 0.4994 GB, free: 4.957 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 (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001522/0.1665, allocations: 1.09 MB / 0.5004 GB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.1682, allocations: 0.5782 MB / 0.501 GB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1682, allocations: 0 / 0.501 GB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.1693, allocations: 348.5 kB / 0.5013 GB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.17, allocations: 101.8 kB / 0.5014 GB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1824/0.3524, allocations: 5.395 MB / 0.5067 GB, free: 41.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.3529, allocations: 0.8921 MB / 0.5076 GB, free: 40.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005658/0.3535, allocations: 124.8 kB / 0.5077 GB, free: 40.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/0.3538, allocations: 145 kB / 0.5078 GB, free: 40.87 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3538, allocations: 1.875 kB / 0.5078 GB, free: 40.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.043/0.3968, allocations: 13.3 MB / 0.5208 GB, free: 37.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.58, allocations: 7.797 kB / 0.5208 GB, free: 37.27 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1)