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_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_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.00177/0.00177, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001925/0.001925, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2427/0.2427, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.002541/0.002541, allocations: 81.64 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1385, allocations: 62.44 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.003966/0.1425, allocations: 2.141 MB / 482.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.1443, allocations: 0.8918 MB / 483.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.1444, allocations: 8 kB / 483.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.1448, allocations: 67.58 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.1452, allocations: 135.3 kB / 483.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.1455, allocations: 99.62 kB / 483.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006103/0.1462, allocations: 465.8 kB / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1463, allocations: 44.72 kB / 484.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000333/0.1466, allocations: 183.1 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.147, allocations: 211 kB / 484.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.576e-05/0.147, allocations: 15.94 kB / 484.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004301/0.1474, allocations: 255.6 kB / 484.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.1476, allocations: 107.5 kB / 484.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.1478, allocations: 178.8 kB / 485 MB, free: 344 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006856/0.1485, allocations: 0.5373 MB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1485, allocations: 0 / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1485, allocations: 0 / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.1486, allocations: 0 / 485.5 MB, free: 15.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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001283/0.1498, allocations: 0.7215 MB / 486.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1499, allocations: 8.031 kB / 486.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.15, allocations: 94.69 kB / 486.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.361e-05/0.1501, allocations: 52.28 kB / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.1505, allocations: 299.6 kB / 486.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.1505, allocations: 33.38 kB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.367e-05/0.1506, allocations: 47.92 kB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009993/0.1516, allocations: 0.6562 MB / 487.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1516, allocations: 0 / 487.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.499e-05/0.1517, allocations: 19.98 kB / 487.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.276e-05/0.1518, allocations: 53.28 kB / 487.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.153, allocations: 0.696 MB / 488.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.1553, allocations: 1.348 MB / 489.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008477/0.1561, allocations: 456.4 kB / 490 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.1565, allocations: 161.3 kB / 490.1 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.071e-05/0.1565, allocations: 16.16 kB / 490.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.1566, allocations: 30.8 kB / 490.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.914e-06/0.1566, allocations: 4 kB / 490.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001221/0.1578, allocations: 0.5364 MB / 490.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.1579, allocations: 59.41 kB / 490.8 MB, free: 10.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006272/0.1585, allocations: 497.4 kB / 491.3 MB, free: 9.836 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.1586, allocations: 29.7 kB / 491.3 MB, free: 9.801 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.1588, allocations: 208.5 kB / 491.5 MB, free: 9.594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.1589, allocations: 98.5 kB / 491.6 MB, free: 9.496 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.1591, allocations: 94 kB / 491.7 MB, free: 9.398 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.1593, allocations: 354.7 kB / 492 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.1596, allocations: 156.5 kB / 492.2 MB, free: 8.891 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004522/0.1601, allocations: 247.5 kB / 492.4 MB, free: 8.613 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007502/0.1608, allocations: 431.6 kB / 492.9 MB, free: 8.152 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1609, allocations: 0 / 492.9 MB, free: 8.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009242/0.1618, allocations: 492.6 kB / 493.3 MB, free: 7.664 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1618, allocations: 8.375 kB / 493.3 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.1618, allocations: 8 kB / 493.4 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.1619, allocations: 7.938 kB / 493.4 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009171/0.1628, allocations: 203.8 kB / 493.6 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004706/0.1675, allocations: 7.298 MB / 0.4891 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.1679, allocations: 63.36 kB / 0.4892 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/0.168, allocations: 23.98 kB / 0.4892 GB, free: 15.78 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.0003206/0.1683, allocations: 226.2 kB / 0.4894 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.261e-05/0.1684, allocations: 47.45 kB / 0.4895 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.1695, allocations: 0.5249 MB / 0.49 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.1695, allocations: 4 kB / 0.49 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1695, allocations: 0 / 0.49 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.1695, allocations: 7.984 kB / 0.49 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005676/0.1701, allocations: 413.2 kB / 0.4904 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1701, allocations: 0 / 0.4904 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008548/0.171, allocations: 195.9 kB / 0.4906 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.171, allocations: 0 / 0.4906 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/0.171, allocations: 15.98 kB / 0.4906 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004448/0.1755, allocations: 7.294 MB / 0.4977 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.1755, allocations: 7.875 kB / 0.4977 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009558/0.1765, allocations: 0.5039 MB / 0.4982 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.1767, allocations: 120.6 kB / 0.4983 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.216e-05/0.1767, allocations: 11.98 kB / 0.4983 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.177, allocations: 8 kB / 0.4983 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.637e-05/0.1771, allocations: 27.91 kB / 0.4984 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.1771, allocations: 15.98 kB / 0.4984 GB, free: 5.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003984/0.1775, allocations: 355.1 kB / 0.4987 GB, free: 5.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1775, allocations: 0 / 0.4987 GB, free: 5.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005006/0.178, allocations: 135.8 kB / 0.4989 GB, free: 5.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 (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.001268/0.1793, allocations: 1.067 MB / 0.4999 GB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.181, allocations: 0.5821 MB / 0.5005 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.181, allocations: 0 / 0.5005 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.182, allocations: 336.5 kB / 0.5008 GB, free: 3.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005779/0.1826, allocations: 117.3 kB / 0.5009 GB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1993/0.3819, allocations: 5.005 MB / 0.5058 GB, free: 42.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.3824, allocations: 0.8713 MB / 0.5066 GB, free: 41.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004053/0.3828, allocations: 146.2 kB / 0.5068 GB, free: 41.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.3829, allocations: 131.1 kB / 0.5069 GB, free: 41.49 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.383, allocations: 2.875 kB / 0.5069 GB, free: 41.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04273/0.4257, allocations: 13.46 MB / 0.52 GB, free: 37.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.35, allocations: 6.766 kB / 0.5201 GB, free: 37.9 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_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_laminar_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1)