Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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 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_laminar_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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.0009209/0.0009209, allocations: 96.06 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 207.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, 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.2238/0.2238, allocations: 45.92 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002542/0.0002542, allocations: 4 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 63.46 MB / 481.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.002261/0.1294, allocations: 1.728 MB / 483.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.1307, allocations: 0.8187 MB / 484.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.818e-05/0.1308, allocations: 0 / 484.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.131, allocations: 47.8 kB / 484.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.1313, allocations: 103.7 kB / 484.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.1315, allocations: 83.78 kB / 484.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003133/0.1319, allocations: 295.3 kB / 484.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.207e-05/0.1319, allocations: 44.72 kB / 484.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.1322, allocations: 135.4 kB / 484.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.1324, allocations: 171.2 kB / 484.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.1324, allocations: 8 kB / 485 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.1328, allocations: 255.7 kB / 485.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.422e-05/0.1329, allocations: 99.62 kB / 485.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.27e-05/0.133, allocations: 89.45 kB / 485.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.1333, allocations: 327.4 kB / 485.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1334, allocations: 0 / 485.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1334, allocations: 0 / 485.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1334, allocations: 0 / 485.7 MB, free: 1.055 MB / 350.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.0009452/0.1343, allocations: 0.655 MB / 486.4 MB, free: 360 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1344, allocations: 8.031 kB / 486.4 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.535e-05/0.1345, allocations: 94.5 kB / 486.5 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.826e-05/0.1346, allocations: 47.44 kB / 486.5 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.1349, allocations: 294.3 kB / 486.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.135, allocations: 36.92 kB / 486.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.135, allocations: 40 kB / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009329/0.136, allocations: 0.6601 MB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.136, allocations: 0 / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.1361, allocations: 16 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.135e-05/0.1361, allocations: 57.28 kB / 487.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.1372, allocations: 0.7038 MB / 488.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.1392, allocations: 1.379 MB / 489.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007332/0.14, allocations: 453.8 kB / 490.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.14, allocations: 12.2 kB / 490.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.1401, allocations: 42.91 kB / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/0.1401, allocations: 3.938 kB / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001102/0.1412, allocations: 0.5421 MB / 490.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.1412, allocations: 59.36 kB / 490.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.1417, allocations: 489.4 kB / 491.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.1417, allocations: 33.7 kB / 491.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.1419, allocations: 216.4 kB / 491.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/0.142, allocations: 98.53 kB / 491.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.142, allocations: 4 kB / 491.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1421, allocations: 354.8 kB / 492 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.1424, allocations: 160.5 kB / 492.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.1428, allocations: 248.3 kB / 492.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.1431, allocations: 199.8 kB / 492.6 MB, free: 9.941 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1431, allocations: 0 / 492.6 MB, free: 9.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008359/0.144, allocations: 496.6 kB / 493 MB, free: 9.449 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.144, allocations: 8 kB / 493 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.144, allocations: 0 / 493 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.144, allocations: 8 kB / 493.1 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009326/0.145, allocations: 204.1 kB / 493.3 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003974/0.1489, allocations: 7.309 MB / 0.4888 GB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.1493, allocations: 63.56 kB / 0.4889 GB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.1494, allocations: 23.98 kB / 0.4889 GB, free: 1.559 MB / 366.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 (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003234/0.1497, allocations: 226.1 kB / 0.4891 GB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.637e-05/0.1498, allocations: 35.53 kB / 0.4892 GB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.1509, allocations: 0.5447 MB / 0.4897 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.1509, allocations: 7.953 kB / 0.4897 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.1509, allocations: 0 / 0.4897 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.1509, allocations: 3.984 kB / 0.4897 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.1515, allocations: 413.2 kB / 0.4901 GB, free: 284 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1515, allocations: 0 / 0.4901 GB, free: 284 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008821/0.1524, allocations: 191.8 kB / 0.4903 GB, free: 92 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.1524, allocations: 8 kB / 0.4903 GB, free: 84 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.1524, allocations: 11.98 kB / 0.4903 GB, free: 72 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004286/0.1567, allocations: 7.294 MB / 0.4974 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1567, allocations: 0 / 0.4974 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007907/0.1575, allocations: 0.5075 MB / 0.4979 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.1577, allocations: 124.6 kB / 0.498 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.076e-05/0.1578, allocations: 7.938 kB / 0.498 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.158, allocations: 19.94 kB / 0.4981 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.523e-05/0.1581, allocations: 19.97 kB / 0.4981 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.1582, allocations: 15.98 kB / 0.4981 GB, free: 7.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004411/0.1586, allocations: 351.1 kB / 0.4984 GB, free: 7.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1586, allocations: 3.938 kB / 0.4984 GB, free: 7.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000546/0.1592, allocations: 127.8 kB / 0.4986 GB, free: 7.301 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 (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001197/0.1604, allocations: 1.083 MB / 0.4996 GB, free: 6.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.1618, allocations: 0.5315 MB / 0.5001 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1618, allocations: 0 / 0.5001 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.1629, allocations: 351.9 kB / 0.5005 GB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.1634, allocations: 112.3 kB / 0.5006 GB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004838/0.1682, allocations: 4.781 MB / 0.5052 GB, free: 328 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2595/0.4277, allocations: 0.8837 MB / 0.5061 GB, free: 42.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006691/0.4285, allocations: 142 kB / 0.5062 GB, free: 42.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/0.4288, allocations: 131.3 kB / 0.5064 GB, free: 42.35 MB / 382.1 MB Notification: Performance of SimCode: time 1.714e-06/0.4288, allocations: 0 / 0.5064 GB, free: 42.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.4587, allocations: 12.18 MB / 0.5183 GB, free: 39.72 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/0.4589, allocations: 259.4 kB / 0.5185 GB, free: 39.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/2.621, allocations: 0 / 0.5185 GB, free: 39.38 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat