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.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,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001351/0.001351, 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.001574/0.001574, 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.458/1.458, 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.2315/0.2315, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.002276/0.002276, allocations: 84.72 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1353, allocations: 62.44 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003644/0.139, allocations: 2.23 MB / 482.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.141, allocations: 1.176 MB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.1412, allocations: 4 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.1415, allocations: 71.53 kB / 483.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.1418, allocations: 103.2 kB / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.1423, allocations: 187.3 kB / 484 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005801/0.1429, allocations: 493.8 kB / 484.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1431, allocations: 61.05 kB / 484.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002967/0.1434, allocations: 179 kB / 484.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.1437, allocations: 199 kB / 484.9 MB, free: 440 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.1437, allocations: 12 kB / 484.9 MB, free: 428 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005218/0.1442, allocations: 343.4 kB / 485.2 MB, free: 84 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.1444, allocations: 91.59 kB / 485.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.1446, allocations: 190.6 kB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007051/0.1453, allocations: 0.5842 MB / 486.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1453, allocations: 0 / 486.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1453, allocations: 0 / 486.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.1453, allocations: 0 / 486.1 MB, free: 15.22 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001335/0.1467, allocations: 0.7564 MB / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1467, allocations: 16.02 kB / 486.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.1468, allocations: 82.72 kB / 487 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004307/0.1473, allocations: 84.33 kB / 487 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/0.1477, allocations: 299.5 kB / 487.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.1478, allocations: 37.38 kB / 487.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/0.1479, allocations: 47.92 kB / 487.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.149, allocations: 0.6636 MB / 488.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.149, allocations: 0 / 488.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/0.149, allocations: 20 kB / 488.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.427e-05/0.1491, allocations: 21 kB / 488.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009461/0.1501, allocations: 487.5 kB / 488.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.1523, allocations: 1.511 MB / 490.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000608/0.1529, allocations: 299.5 kB / 490.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/0.1533, allocations: 150.6 kB / 490.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-05/0.1534, allocations: 15.97 kB / 490.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.1534, allocations: 34.56 kB / 490.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/0.1534, allocations: 0 / 490.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001335/0.1548, allocations: 0.4995 MB / 491.1 MB, free: 9.996 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.056e-05/0.1549, allocations: 106.8 kB / 491.2 MB, free: 9.867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007/0.1556, allocations: 0.5447 MB / 491.7 MB, free: 9.316 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.1556, allocations: 29.7 kB / 491.8 MB, free: 9.281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.1558, allocations: 224 kB / 492 MB, free: 9.059 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.1559, allocations: 75.05 kB / 492.1 MB, free: 8.984 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.1561, allocations: 85.88 kB / 492.2 MB, free: 8.891 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.1563, allocations: 354.8 kB / 492.5 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.1566, allocations: 152.1 kB / 492.6 MB, free: 8.387 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004768/0.1571, allocations: 287.5 kB / 492.9 MB, free: 8.051 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009/0.158, allocations: 445.2 kB / 493.4 MB, free: 7.562 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.1581, allocations: 4 kB / 493.4 MB, free: 7.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001117/0.1592, allocations: 0.4964 MB / 493.9 MB, free: 7.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.1592, allocations: 8 kB / 493.9 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.982e-05/0.1593, allocations: 47.92 kB / 493.9 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.1593, allocations: 8.469 kB / 493.9 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.1596, allocations: 43.95 kB / 494 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.1596, allocations: 7.938 kB / 494 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.16, allocations: 71.27 kB / 494 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.16, allocations: 23.98 kB / 494.1 MB, free: 6.848 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (33): * Single equations (assignments): 21 * 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.0002633/0.1603, allocations: 209.6 kB / 494.3 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.1604, allocations: 43.44 kB / 494.3 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009333/0.1614, allocations: 449.1 kB / 494.8 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.1614, allocations: 4 kB / 494.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1614, allocations: 0 / 494.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1614, allocations: 3.938 kB / 494.8 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006942/0.1621, allocations: 393.2 kB / 495.1 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.323e-05/0.1622, allocations: 36 kB / 495.2 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.1623, allocations: 27.97 kB / 495.2 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1623, allocations: 0 / 495.2 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.1624, allocations: 19.92 kB / 495.2 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.1624, allocations: 4 kB / 495.2 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1624, allocations: 0 / 495.2 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009857/0.1634, allocations: 0.6073 MB / 495.8 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.1635, allocations: 128.5 kB / 496 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.714e-05/0.1636, allocations: 7.938 kB / 496 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.1639, allocations: 19.97 kB / 496 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.403e-05/0.164, allocations: 19.98 kB / 496 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.164, allocations: 19.98 kB / 496 MB, free: 4.781 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004605/0.1645, allocations: 403 kB / 496.4 MB, free: 4.395 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1645, allocations: 0 / 496.4 MB, free: 4.395 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000588/0.1651, allocations: 131.8 kB / 496.6 MB, free: 4.266 MB / 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.001524/0.1666, allocations: 1.198 MB / 497.8 MB, free: 3.039 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.1678, allocations: 0.692 MB / 498.4 MB, free: 2.273 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1678, allocations: 4.188 kB / 498.4 MB, free: 2.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005889/0.1684, allocations: 484.2 kB / 498.9 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007189/0.1691, allocations: 116.9 kB / 499 MB, free: 1.609 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007813/0.177, allocations: 5.292 MB / 0.4925 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/0.1775, allocations: 0.866 MB / 0.4934 GB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002517/0.1778, allocations: 83.36 kB / 0.4934 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.178, allocations: 119.4 kB / 0.4935 GB, free: 11.02 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.178, allocations: 0 / 0.4935 GB, free: 11.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2495/0.4275, allocations: 12.95 MB / 0.5062 GB, free: 42.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.284/8.711, allocations: 8.016 kB / 0.5062 GB, free: 42.61 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1)