Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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 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 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) 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.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_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.000936/0.000936, allocations: 95.22 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 181.3 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2136/0.2136, allocations: 44.22 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003467, allocations: 12 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1348, allocations: 61.91 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.002741/0.1376, allocations: 1.762 MB / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.1402, allocations: 1.551 MB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1403, allocations: 4 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.1406, allocations: 47.78 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.1409, allocations: 99.69 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007043/0.1417, allocations: 314.5 kB / 475.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003528/0.142, allocations: 311.2 kB / 475.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1421, allocations: 61.05 kB / 475.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.1423, allocations: 143.3 kB / 475.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.1426, allocations: 175.2 kB / 476 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.1426, allocations: 8 kB / 476 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008765/0.1435, allocations: 0.5812 MB / 476.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.1436, allocations: 99.62 kB / 476.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.771e-05/0.1437, allocations: 101.4 kB / 476.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005855/0.1443, allocations: 471.1 kB / 477.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1443, allocations: 0 / 477.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1443, allocations: 0 / 477.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1443, allocations: 4 kB / 477.3 MB, free: 7.922 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001266/0.1456, allocations: 0.7214 MB / 478 MB, free: 7.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/0.1457, allocations: 8.031 kB / 478 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.1458, allocations: 106.5 kB / 478.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.1459, allocations: 59.33 kB / 478.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.1464, allocations: 310.2 kB / 478.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/0.1465, allocations: 41.27 kB / 478.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-05/0.1466, allocations: 55.98 kB / 478.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.1477, allocations: 0.752 MB / 479.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1477, allocations: 0 / 479.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.374e-05/0.1478, allocations: 23.98 kB / 479.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.474e-05/0.1479, allocations: 57.28 kB / 479.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.1491, allocations: 0.7975 MB / 480.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.1515, allocations: 1.536 MB / 481.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/0.1522, allocations: 464.3 kB / 482.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.1523, allocations: 8.219 kB / 482.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.1523, allocations: 38.8 kB / 482.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.1523, allocations: 4 kB / 482.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001108/0.1534, allocations: 0.5452 MB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.1535, allocations: 63.33 kB / 482.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006223/0.1541, allocations: 0.5796 MB / 483.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.1541, allocations: 37.64 kB / 483.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.1543, allocations: 267.5 kB / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.489e-05/0.1544, allocations: 106.6 kB / 483.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.1545, allocations: 12 kB / 483.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1546, allocations: 362.7 kB / 484.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003293/0.155, allocations: 192.9 kB / 484.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004879/0.1555, allocations: 437.1 kB / 484.8 MB, free: 48 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/0.1559, allocations: 272.6 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1559, allocations: 0 / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001091/0.157, allocations: 0.6844 MB / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.1571, allocations: 8 kB / 485.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.1571, allocations: 8 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.1571, allocations: 12 kB / 485.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009916/0.1581, allocations: 239.7 kB / 486 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003723/0.1618, allocations: 7.321 MB / 493.3 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004971/0.1624, allocations: 91.05 kB / 493.4 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/0.1624, allocations: 39.94 kB / 493.4 MB, free: 7.098 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (64): * Single equations (assignments): 52 * 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.0003694/0.1628, allocations: 268.4 kB / 493.7 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.72e-05/0.1629, allocations: 51.34 kB / 493.8 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.164, allocations: 0.5681 MB / 494.3 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.164, allocations: 4 kB / 494.3 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.164, allocations: 0 / 494.3 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.164, allocations: 0 / 494.3 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005724/0.1646, allocations: 441.1 kB / 494.8 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1646, allocations: 7.938 kB / 494.8 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008722/0.1655, allocations: 203.8 kB / 495 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.477e-06/0.1655, allocations: 4 kB / 495 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.1655, allocations: 12.09 kB / 495 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003606/0.1691, allocations: 7.294 MB / 0.4905 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1692, allocations: 4.031 kB / 0.4905 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007789/0.1699, allocations: 0.5111 MB / 0.491 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.1701, allocations: 128.5 kB / 0.4911 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.216e-05/0.1702, allocations: 11.98 kB / 0.4911 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.1705, allocations: 12 kB / 0.4911 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/0.1705, allocations: 27.95 kB / 0.4912 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.1706, allocations: 15.98 kB / 0.4912 GB, free: 13.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004723/0.1711, allocations: 406.8 kB / 0.4916 GB, free: 12.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1711, allocations: 0 / 0.4916 GB, free: 12.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000706/0.1718, allocations: 183.8 kB / 0.4918 GB, free: 12.6 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.001287/0.1731, allocations: 1.165 MB / 0.4929 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00159/0.1747, allocations: 0.618 MB / 0.4935 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1747, allocations: 448 / 0.4935 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.1757, allocations: 371.5 kB / 0.4938 GB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.1762, allocations: 113.8 kB / 0.494 GB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007032/0.1833, allocations: 8.885 MB / 0.5026 GB, free: 1.223 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006781/0.184, allocations: 0.917 MB / 0.5035 GB, free: 284 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005554/0.1846, allocations: 172.4 kB / 0.5037 GB, free: 108 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2644/0.449, allocations: 151.2 kB / 0.5038 GB, free: 49.2 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.4491, allocations: 0 / 0.5038 GB, free: 49.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0369/0.486, allocations: 14.62 MB / 0.5181 GB, free: 45.42 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.4863, allocations: 261.3 kB / 0.5184 GB, free: 45.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.181/2.668, allocations: 0 / 0.5184 GB, free: 45.08 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat