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.StraightPipe.kc_overall_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.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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_1_0-beta_om_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 trunk/package.mo): time 0.001316/0.001316, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246.8 MB, free: 10.49 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.2301/0.2301, allocations: 46.12 MB / 344.2 MB, free: 11.52 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.002334/0.002334, allocations: 77.25 kB / 417.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1263, allocations: 62.46 MB / 480.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.004284/0.1307, allocations: 2.192 MB / 482.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003149/0.1338, allocations: 1.834 MB / 484.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.134, allocations: 4 kB / 484.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.1344, allocations: 75.58 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004578/0.1349, allocations: 147.2 kB / 484.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009621/0.1358, allocations: 349.4 kB / 484.8 MB, free: 480 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005736/0.1364, allocations: 489.6 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1365, allocations: 72.97 kB / 485.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.1368, allocations: 187 kB / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.1371, allocations: 222.9 kB / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.1372, allocations: 12 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.1382, allocations: 0.6045 MB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.1383, allocations: 111.5 kB / 486.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.1386, allocations: 202.6 kB / 486.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.1396, allocations: 0.7788 MB / 487.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1396, allocations: 0 / 487.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1396, allocations: 0 / 487.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.1396, allocations: 0 / 487.5 MB, free: 13.8 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001289/0.1409, allocations: 0.8114 MB / 488.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.141, allocations: 8.031 kB / 488.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.1411, allocations: 106.7 kB / 488.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.1412, allocations: 56.28 kB / 488.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.1416, allocations: 319.3 kB / 488.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.1416, allocations: 37.69 kB / 488.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-05/0.1417, allocations: 59.92 kB / 488.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.1428, allocations: 0.752 MB / 489.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1429, allocations: 0 / 489.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.1429, allocations: 23.98 kB / 489.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.47e-05/0.143, allocations: 53.28 kB / 489.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.1443, allocations: 0.8014 MB / 490.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.1465, allocations: 1.524 MB / 492 MB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007948/0.1474, allocations: 460.4 kB / 492.5 MB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/0.1477, allocations: 153.2 kB / 492.6 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.804e-05/0.1477, allocations: 16.2 kB / 492.6 MB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.1478, allocations: 38.8 kB / 492.7 MB, free: 8.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.433e-06/0.1478, allocations: 0 / 492.7 MB, free: 8.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001196/0.149, allocations: 0.5403 MB / 493.2 MB, free: 7.883 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.149, allocations: 59.34 kB / 493.3 MB, free: 7.812 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006799/0.1497, allocations: 0.5797 MB / 493.8 MB, free: 7.223 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/0.1498, allocations: 29.7 kB / 493.9 MB, free: 7.188 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.15, allocations: 279.4 kB / 494.1 MB, free: 6.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.972e-05/0.1501, allocations: 106.5 kB / 494.2 MB, free: 6.805 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.1503, allocations: 122.1 kB / 494.4 MB, free: 6.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1505, allocations: 362.8 kB / 494.7 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.1509, allocations: 192.9 kB / 494.9 MB, free: 6.129 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006784/0.1516, allocations: 429.1 kB / 495.3 MB, free: 5.594 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.1527, allocations: 0.66 MB / 496 MB, free: 4.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1527, allocations: 0 / 496 MB, free: 4.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001264/0.154, allocations: 0.6845 MB / 496.7 MB, free: 4.129 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.154, allocations: 11.94 kB / 496.7 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.154, allocations: 8 kB / 496.7 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.1541, allocations: 12 kB / 496.7 MB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.1551, allocations: 255.8 kB / 497 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004704/0.1598, allocations: 7.314 MB / 0.4924 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/0.1603, allocations: 90.91 kB / 0.4925 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/0.1604, allocations: 35.98 kB / 0.4926 GB, free: 12.13 MB / 382.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 (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.0003627/0.1608, allocations: 261.4 kB / 0.4928 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-05/0.1609, allocations: 55.33 kB / 0.4929 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.1621, allocations: 0.545 MB / 0.4934 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.1621, allocations: 4 kB / 0.4934 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1621, allocations: 0 / 0.4934 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1621, allocations: 7.938 kB / 0.4934 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005855/0.1627, allocations: 441.1 kB / 0.4938 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1627, allocations: 0 / 0.4938 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008793/0.1636, allocations: 207.8 kB / 0.494 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1636, allocations: 0 / 0.494 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.1637, allocations: 19.98 kB / 0.4941 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004583/0.1683, allocations: 7.294 MB / 0.5012 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1683, allocations: 0 / 0.5012 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008712/0.1692, allocations: 0.5114 MB / 0.5017 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.1694, allocations: 128.5 kB / 0.5018 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.966e-05/0.1695, allocations: 12.03 kB / 0.5018 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.1697, allocations: 11.98 kB / 0.5018 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.85e-05/0.1698, allocations: 27.95 kB / 0.5018 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.1699, allocations: 15.98 kB / 0.5019 GB, free: 2.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005102/0.1704, allocations: 410.8 kB / 0.5023 GB, free: 1.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1704, allocations: 0 / 0.5023 GB, free: 1.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007261/0.1711, allocations: 187.8 kB / 0.5024 GB, free: 1.648 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.00166/0.1728, allocations: 1.16 MB / 0.5036 GB, free: 476 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2004/0.3732, allocations: 0.6694 MB / 0.5042 GB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.3733, allocations: 0.6562 kB / 0.5042 GB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.3744, allocations: 354.3 kB / 0.5046 GB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006561/0.3751, allocations: 115.6 kB / 0.5047 GB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007049/0.3821, allocations: 5.839 MB / 0.5104 GB, free: 40.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.3825, allocations: 0.9071 MB / 0.5113 GB, free: 39.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004643/0.383, allocations: 173.6 kB / 0.5114 GB, free: 39.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.3832, allocations: 151 kB / 0.5116 GB, free: 39.81 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3832, allocations: 0 / 0.5116 GB, free: 39.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04594/0.4291, allocations: 16.14 MB / 0.5273 GB, free: 33.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.41, allocations: 5.125 kB / 0.5273 GB, free: 33.68 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1)