Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_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.0008637/0.0008637, allocations: 97.92 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009662/0.0009667, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1992/0.1992, allocations: 45.92 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002858, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1287, allocations: 63.47 MB / 481.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002211/0.1309, allocations: 1.834 MB / 483.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00279/0.1337, allocations: 1.856 MB / 485.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.459e-05/0.1339, allocations: 0 / 485.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.1341, allocations: 55.7 kB / 485.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.1343, allocations: 83.72 kB / 485.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008776/0.1352, allocations: 363 kB / 485.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000381/0.1355, allocations: 363.2 kB / 486.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1357, allocations: 68.98 kB / 486.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.1359, allocations: 159.2 kB / 486.3 MB, free: 472 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.1362, allocations: 179.2 kB / 486.5 MB, free: 292 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.1362, allocations: 16 kB / 486.5 MB, free: 276 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.1374, allocations: 0.6787 MB / 487.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1375, allocations: 87.64 kB / 487.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.887e-05/0.1376, allocations: 101.4 kB / 487.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006447/0.1383, allocations: 0.5108 MB / 487.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1383, allocations: 0 / 487.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1383, allocations: 0 / 487.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1383, allocations: 0 / 487.9 MB, free: 14.89 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.001248/0.1396, allocations: 0.7643 MB / 488.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1396, allocations: 12.03 kB / 488.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.1397, allocations: 102.5 kB / 488.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004008/0.1402, allocations: 107.2 kB / 488.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.1406, allocations: 322.7 kB / 489.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/0.1406, allocations: 37.31 kB / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-05/0.1407, allocations: 56 kB / 489.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.1418, allocations: 0.7697 MB / 490 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1418, allocations: 0 / 490 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/0.1419, allocations: 24 kB / 490.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.323e-05/0.142, allocations: 29.3 kB / 490.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000986/0.143, allocations: 0.5671 MB / 490.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.1452, allocations: 1.7 MB / 492.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005682/0.1457, allocations: 311.5 kB / 492.7 MB, free: 9.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-05/0.1458, allocations: 15.97 kB / 492.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.1458, allocations: 38.56 kB / 492.7 MB, free: 9.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.422e-06/0.1458, allocations: 0 / 492.7 MB, free: 9.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001357/0.1472, allocations: 0.7678 MB / 493.5 MB, free: 9.004 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.1473, allocations: 106.8 kB / 493.6 MB, free: 8.875 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006706/0.1479, allocations: 0.6392 MB / 494.2 MB, free: 8.227 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.148, allocations: 29.7 kB / 494.3 MB, free: 8.191 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.1482, allocations: 287.4 kB / 494.5 MB, free: 7.906 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.201e-05/0.1483, allocations: 71 kB / 494.6 MB, free: 7.836 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.1483, allocations: 12 kB / 494.6 MB, free: 7.824 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1484, allocations: 362.8 kB / 495 MB, free: 7.461 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003966/0.1488, allocations: 200.9 kB / 495.2 MB, free: 7.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005584/0.1494, allocations: 477.4 kB / 495.6 MB, free: 6.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00049/0.1499, allocations: 271.7 kB / 495.9 MB, free: 6.402 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1499, allocations: 0 / 495.9 MB, free: 6.402 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001393/0.1513, allocations: 0.7134 MB / 496.6 MB, free: 5.684 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.1514, allocations: 11.94 kB / 496.6 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.379e-05/0.1514, allocations: 48.62 kB / 496.7 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.1515, allocations: 16 kB / 496.7 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.1518, allocations: 83.75 kB / 496.8 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.1518, allocations: 19.94 kB / 496.8 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.1522, allocations: 110.9 kB / 496.9 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.1523, allocations: 36 kB / 496.9 MB, free: 5.363 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003086/0.1526, allocations: 257.5 kB / 497.2 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.1527, allocations: 43.44 kB / 497.2 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009298/0.1537, allocations: 493.4 kB / 497.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.1537, allocations: 4 kB / 497.7 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1537, allocations: 7.938 kB / 497.7 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1537, allocations: 4 kB / 497.7 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.1543, allocations: 409.2 kB / 498.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.292e-05/0.1544, allocations: 39.97 kB / 498.2 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.1546, allocations: 27.97 kB / 498.2 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1546, allocations: 0 / 498.2 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.1546, allocations: 15.98 kB / 498.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1546, allocations: 0 / 498.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1546, allocations: 4 kB / 498.2 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009287/0.1556, allocations: 0.6675 MB / 498.9 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.1557, allocations: 132.5 kB / 499 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.1558, allocations: 7.984 kB / 499 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/0.1561, allocations: 23.98 kB / 499 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/0.1562, allocations: 23.97 kB / 499.1 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.1562, allocations: 15.98 kB / 499.1 MB, free: 3.105 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004697/0.1567, allocations: 438.8 kB / 499.5 MB, free: 2.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1567, allocations: 4 kB / 499.5 MB, free: 2.676 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007611/0.1575, allocations: 195.8 kB / 499.7 MB, free: 2.484 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001619/0.1591, allocations: 1.483 MB / 0.4894 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.1604, allocations: 0.7779 MB / 0.4902 GB, free: 120 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1604, allocations: 0 / 0.4902 GB, free: 120 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006184/0.161, allocations: 492.3 kB / 0.4907 GB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.1616, allocations: 118.2 kB / 0.4908 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008266/0.1699, allocations: 9.74 MB / 0.5003 GB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008996/0.1708, allocations: 0.9013 MB / 0.5012 GB, free: 4.531 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004492/0.1713, allocations: 128.4 kB / 0.5013 GB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.1715, allocations: 147.4 kB / 0.5014 GB, free: 4.258 MB / 382.1 MB Notification: Performance of SimCode: time 1.513e-06/0.1715, allocations: 0 / 0.5014 GB, free: 4.258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2618/0.4333, allocations: 14.55 MB / 0.5156 GB, free: 39.82 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/0.4335, allocations: 218.8 kB / 0.5158 GB, free: 39.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/2.615, allocations: 10.16 kB / 0.5159 GB, free: 39.57 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat