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.0008518/0.0008518, allocations: 105 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000865/0.0008652, allocations: 192.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.3 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2104/0.2104, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002772/0.0002772, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 63.47 MB / 481.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002255/0.1298, allocations: 1.896 MB / 483.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.1324, allocations: 1.941 MB / 485.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.1325, allocations: 4 kB / 485.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.1327, allocations: 55.66 kB / 485.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.1329, allocations: 95.42 kB / 485.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009087/0.1338, allocations: 354.8 kB / 486 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005492/0.1344, allocations: 0.556 MB / 486.5 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.742e-05/0.1345, allocations: 61.05 kB / 486.6 MB, free: 268 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.1348, allocations: 175.1 kB / 486.8 MB, free: 92 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.1351, allocations: 219.1 kB / 487 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.1351, allocations: 12 kB / 487 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000982/0.1361, allocations: 0.6474 MB / 487.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.1362, allocations: 103.4 kB / 487.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.077e-05/0.1363, allocations: 93.45 kB / 487.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000618/0.1369, allocations: 0.5727 MB / 488.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.137, allocations: 0 / 488.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.137, allocations: 0 / 488.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.137, allocations: 0 / 488.4 MB, free: 14.44 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.001251/0.1382, allocations: 0.7605 MB / 489.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.1383, allocations: 12.03 kB / 489.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.1384, allocations: 102.5 kB / 489.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004006/0.1388, allocations: 103.2 kB / 489.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.1392, allocations: 326.7 kB / 489.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.1393, allocations: 41.31 kB / 489.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.1393, allocations: 48 kB / 489.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.1405, allocations: 0.7736 MB / 490.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.1405, allocations: 7.969 kB / 490.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.1405, allocations: 20 kB / 490.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.119e-05/0.1406, allocations: 29.31 kB / 490.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.1416, allocations: 0.5749 MB / 491.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.1438, allocations: 1.665 MB / 492.9 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005504/0.1444, allocations: 319.5 kB / 493.2 MB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.1447, allocations: 170.4 kB / 493.3 MB, free: 9.293 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-05/0.1448, allocations: 15.97 kB / 493.4 MB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.1448, allocations: 34.56 kB / 493.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 2.284e-06/0.1448, allocations: 0 / 493.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001254/0.1461, allocations: 0.5322 MB / 493.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.1462, allocations: 110.7 kB / 494 MB, free: 8.562 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007016/0.1469, allocations: 0.6353 MB / 494.7 MB, free: 7.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.1469, allocations: 29.7 kB / 494.7 MB, free: 7.883 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.1471, allocations: 291.5 kB / 495 MB, free: 7.594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/0.1472, allocations: 75 kB / 495.1 MB, free: 7.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.1472, allocations: 4 kB / 495.1 MB, free: 7.516 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1474, allocations: 366.8 kB / 495.4 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.1478, allocations: 204.9 kB / 495.6 MB, free: 6.949 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/0.1484, allocations: 465.4 kB / 496.1 MB, free: 6.363 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.1489, allocations: 281.7 kB / 496.3 MB, free: 6.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.549e-05/0.1489, allocations: 4 kB / 496.4 MB, free: 6.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001259/0.1502, allocations: 0.7118 MB / 497.1 MB, free: 5.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1502, allocations: 8 kB / 497.1 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.373e-05/0.1503, allocations: 47.98 kB / 497.1 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.1503, allocations: 16 kB / 497.1 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.1506, allocations: 75.83 kB / 497.2 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.1506, allocations: 23.86 kB / 497.2 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003979/0.151, allocations: 115 kB / 497.3 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.1511, allocations: 32 kB / 497.4 MB, free: 5.055 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.0002726/0.1514, allocations: 265.4 kB / 497.6 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.1515, allocations: 43.44 kB / 497.7 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009247/0.1524, allocations: 488.6 kB / 498.2 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.1524, allocations: 7.984 kB / 498.2 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1524, allocations: 0 / 498.2 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1525, allocations: 4 kB / 498.2 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000644/0.1531, allocations: 405.2 kB / 498.6 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.964e-05/0.1532, allocations: 43.92 kB / 498.6 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.1534, allocations: 31.97 kB / 498.6 MB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1534, allocations: 4 kB / 498.6 MB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.1534, allocations: 15.98 kB / 498.7 MB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.1534, allocations: 7.938 kB / 498.7 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1534, allocations: 0 / 498.7 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000952/0.1544, allocations: 0.6344 MB / 499.3 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.1545, allocations: 136.5 kB / 499.4 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.1546, allocations: 7.953 kB / 499.4 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.1549, allocations: 27.97 kB / 499.5 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.647e-05/0.155, allocations: 23.98 kB / 499.5 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.155, allocations: 11.98 kB / 499.5 MB, free: 2.828 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005002/0.1555, allocations: 442.8 kB / 499.9 MB, free: 2.398 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1555, allocations: 7.938 kB / 499.9 MB, free: 2.391 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007692/0.1563, allocations: 191.8 kB / 0.4884 GB, free: 2.203 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.001592/0.1579, allocations: 1.32 MB / 0.4897 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.159, allocations: 0.7746 MB / 0.4905 GB, free: 8 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.159, allocations: 0 / 0.4905 GB, free: 8 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005335/0.1596, allocations: 492.2 kB / 0.4909 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007235/0.1603, allocations: 124.9 kB / 0.491 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/0.1659, allocations: 3.621 MB / 0.4946 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.1664, allocations: 0.8857 MB / 0.4954 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003107/0.1667, allocations: 132.4 kB / 0.4956 GB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.1669, allocations: 143.4 kB / 0.4957 GB, free: 10.35 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1669, allocations: 0 / 0.4957 GB, free: 10.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2776/0.4445, allocations: 14.8 MB / 0.5102 GB, free: 40.83 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/0.4447, allocations: 222.2 kB / 0.5104 GB, free: 40.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/2.592, allocations: 0 / 0.5104 GB, free: 40.59 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