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.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,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001612/0.001612, 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.001885/0.001885, 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.488/1.488, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.3051/0.3051, allocations: 46.12 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.002255/0.002255, allocations: 86.3 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1243, allocations: 62.44 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.004337/0.1287, allocations: 2.271 MB / 482.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003949/0.1327, allocations: 2.153 MB / 484.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.1329, allocations: 3.938 kB / 484.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.1332, allocations: 75.52 kB / 484.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.1336, allocations: 107.3 kB / 484.8 MB, free: 492 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.1351, allocations: 445.5 kB / 485.3 MB, free: 48 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007176/0.1359, allocations: 0.5171 MB / 485.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.136, allocations: 65.05 kB / 485.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.1363, allocations: 187 kB / 486 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000321/0.1367, allocations: 214.8 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/0.1367, allocations: 16 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.1379, allocations: 0.6864 MB / 486.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.1381, allocations: 99.47 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.1383, allocations: 206.6 kB / 487.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.1396, allocations: 0.8451 MB / 488.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1396, allocations: 0 / 488.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1396, allocations: 4 kB / 488.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.1396, allocations: 0 / 488.1 MB, free: 13.21 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001443/0.1411, allocations: 0.8424 MB / 488.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1411, allocations: 12.03 kB / 489 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.1412, allocations: 98.69 kB / 489 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004087/0.1416, allocations: 88.25 kB / 489.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.1421, allocations: 327.3 kB / 489.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.1421, allocations: 45.69 kB / 489.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.211e-05/0.1422, allocations: 55.94 kB / 489.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.1434, allocations: 0.7618 MB / 490.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1434, allocations: 0 / 490.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-05/0.1435, allocations: 24 kB / 490.3 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-05/0.1436, allocations: 29.3 kB / 490.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.1446, allocations: 0.5515 MB / 490.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00298/0.1476, allocations: 1.684 MB / 492.6 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006877/0.1483, allocations: 307.5 kB / 492.9 MB, free: 8.191 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/0.1487, allocations: 154.3 kB / 493.1 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.368e-05/0.1488, allocations: 15.98 kB / 493.1 MB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.1489, allocations: 42.48 kB / 493.1 MB, free: 7.965 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.1489, allocations: 0 / 493.1 MB, free: 7.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.00138/0.1503, allocations: 0.5035 MB / 493.6 MB, free: 7.457 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.1504, allocations: 114.7 kB / 493.7 MB, free: 7.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008696/0.1512, allocations: 0.6354 MB / 494.4 MB, free: 6.676 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.1513, allocations: 33.7 kB / 494.4 MB, free: 6.637 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.1516, allocations: 291.3 kB / 494.7 MB, free: 6.348 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.482e-05/0.1517, allocations: 67 kB / 494.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.1519, allocations: 126.1 kB / 494.9 MB, free: 6.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002422/0.1521, allocations: 362.8 kB / 495.2 MB, free: 5.789 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/0.1526, allocations: 192.9 kB / 495.4 MB, free: 5.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006934/0.1533, allocations: 461.4 kB / 495.9 MB, free: 5.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.1545, allocations: 0.677 MB / 496.5 MB, free: 4.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.1545, allocations: 4 kB / 496.5 MB, free: 4.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001433/0.156, allocations: 0.6843 MB / 497.2 MB, free: 3.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.156, allocations: 15.92 kB / 497.2 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-05/0.1561, allocations: 44 kB / 497.3 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.1561, allocations: 19.98 kB / 497.3 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.1564, allocations: 71.83 kB / 497.4 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-05/0.1565, allocations: 15.94 kB / 497.4 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/0.157, allocations: 99.34 kB / 497.5 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/0.1571, allocations: 36 kB / 497.5 MB, free: 3.223 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00031/0.1574, allocations: 257.4 kB / 497.8 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.1575, allocations: 59.28 kB / 497.8 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.1585, allocations: 472.1 kB / 498.3 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.1586, allocations: 4 kB / 498.3 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1586, allocations: 0 / 498.3 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1586, allocations: 3.984 kB / 498.3 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006987/0.1593, allocations: 409.2 kB / 498.7 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.846e-05/0.1594, allocations: 43.98 kB / 498.7 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.1595, allocations: 23.97 kB / 498.8 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/0.1596, allocations: 7.938 kB / 498.8 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.1596, allocations: 15.98 kB / 498.8 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1596, allocations: 3.938 kB / 498.8 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1596, allocations: 0 / 498.8 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009795/0.1606, allocations: 0.6229 MB / 499.4 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.1608, allocations: 132.4 kB / 499.5 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.521e-05/0.1609, allocations: 0 / 499.5 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.1612, allocations: 27.95 kB / 499.6 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.439e-05/0.1613, allocations: 27.92 kB / 499.6 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.1614, allocations: 16 kB / 499.6 MB, free: 1.031 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005772/0.1619, allocations: 450.7 kB / 0.4883 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1619, allocations: 0 / 0.4883 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008714/0.1628, allocations: 191.8 kB / 0.4885 GB, free: 416 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001886/0.1647, allocations: 1.3 MB / 0.4898 GB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.166, allocations: 0.7677 MB / 0.4905 GB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.166, allocations: 0 / 0.4905 GB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006107/0.1667, allocations: 484.3 kB / 0.491 GB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007717/0.1674, allocations: 126.2 kB / 0.4911 GB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.1787, allocations: 6.106 MB / 0.4971 GB, free: 7.121 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007816/0.1796, allocations: 0.8894 MB / 0.498 GB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004911/0.1801, allocations: 128.5 kB / 0.4981 GB, free: 6.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.1803, allocations: 147.4 kB / 0.4982 GB, free: 5.93 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1803, allocations: 0 / 0.4982 GB, free: 5.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2406/0.421, allocations: 15.78 MB / 0.5136 GB, free: 40.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/8.589, allocations: 13 kB / 0.5136 GB, free: 40.92 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_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.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1)