Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_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.0009851/0.0009852, allocations: 101.8 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.001178/0.001178, allocations: 206.1 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.365/1.365, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2234/0.2234, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 4 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1417, allocations: 63.47 MB / 481.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.002762/0.1445, allocations: 1.771 MB / 483.3 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002582/0.1471, allocations: 1.614 MB / 484.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1472, allocations: 0 / 484.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.1475, allocations: 63.64 kB / 485 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.1478, allocations: 103.7 kB / 485.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007248/0.1485, allocations: 298.6 kB / 485.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000367/0.1489, allocations: 315.3 kB / 485.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.149, allocations: 64.98 kB / 485.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.1493, allocations: 151.3 kB / 485.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.1495, allocations: 167.2 kB / 486.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.1495, allocations: 8 kB / 486.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008753/0.1504, allocations: 0.6007 MB / 486.7 MB, free: 84 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.1506, allocations: 99.72 kB / 486.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.229e-05/0.1506, allocations: 101.4 kB / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.1512, allocations: 475 kB / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.1512, allocations: 3.938 kB / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1512, allocations: 0 / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1512, allocations: 0 / 487.3 MB, free: 15.41 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001074/0.1523, allocations: 0.7214 MB / 488.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.1524, allocations: 12.03 kB / 488.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/0.1525, allocations: 110.5 kB / 488.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.728e-05/0.1526, allocations: 51.34 kB / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.153, allocations: 322.1 kB / 488.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.153, allocations: 37.31 kB / 488.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.845e-05/0.1531, allocations: 55.98 kB / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.1542, allocations: 0.7481 MB / 489.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1542, allocations: 4 kB / 489.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/0.1543, allocations: 23.98 kB / 489.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.777e-05/0.1543, allocations: 53.28 kB / 489.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.1556, allocations: 0.8053 MB / 490.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002381/0.1579, allocations: 1.539 MB / 491.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/0.1587, allocations: 453.8 kB / 492.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.1587, allocations: 12.22 kB / 492.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.1588, allocations: 38.78 kB / 492.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.743e-06/0.1588, allocations: 4 kB / 492.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001079/0.1599, allocations: 0.5536 MB / 492.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.1599, allocations: 63.34 kB / 492.9 MB, free: 9.633 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005996/0.1605, allocations: 0.5757 MB / 493.5 MB, free: 9.047 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.1606, allocations: 29.7 kB / 493.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.1608, allocations: 279.4 kB / 493.8 MB, free: 8.734 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.255e-05/0.1608, allocations: 102.6 kB / 493.9 MB, free: 8.633 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.1609, allocations: 8 kB / 493.9 MB, free: 8.625 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.161, allocations: 366.8 kB / 494.3 MB, free: 8.258 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.1614, allocations: 188.9 kB / 494.5 MB, free: 8.074 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004807/0.1619, allocations: 433.1 kB / 494.9 MB, free: 7.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.1623, allocations: 279.6 kB / 495.2 MB, free: 7.262 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1623, allocations: 4 kB / 495.2 MB, free: 7.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001086/0.1634, allocations: 0.6801 MB / 495.8 MB, free: 6.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.1634, allocations: 8 kB / 495.8 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.1634, allocations: 8 kB / 495.8 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.1635, allocations: 12 kB / 495.9 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.1645, allocations: 240.3 kB / 496.1 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003812/0.1684, allocations: 7.317 MB / 0.4916 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.1689, allocations: 99.2 kB / 0.4917 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.1689, allocations: 35.98 kB / 0.4917 GB, free: 14.58 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (64): * Single equations (assignments): 52 * 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.0003811/0.1693, allocations: 257.5 kB / 0.492 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.177e-05/0.1694, allocations: 47.34 kB / 0.492 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.1705, allocations: 0.5802 MB / 0.4926 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.1705, allocations: 11.95 kB / 0.4926 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1705, allocations: 0 / 0.4926 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1705, allocations: 0 / 0.4926 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005373/0.1711, allocations: 433.2 kB / 0.493 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.1711, allocations: 3.984 kB / 0.493 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009114/0.172, allocations: 207.8 kB / 0.4932 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.172, allocations: 0 / 0.4932 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.1721, allocations: 15.98 kB / 0.4932 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003682/0.1758, allocations: 7.298 MB / 0.5004 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1758, allocations: 0 / 0.5004 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008147/0.1766, allocations: 0.5154 MB / 0.5009 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.1768, allocations: 128.5 kB / 0.501 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.144e-05/0.1768, allocations: 4 kB / 0.501 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.1771, allocations: 23.95 kB / 0.501 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.059e-05/0.1772, allocations: 27.95 kB / 0.501 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.1772, allocations: 11.98 kB / 0.5011 GB, free: 4.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004793/0.1777, allocations: 406.8 kB / 0.5014 GB, free: 4.258 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1777, allocations: 0 / 0.5014 GB, free: 4.258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007337/0.1785, allocations: 183.8 kB / 0.5016 GB, free: 4.078 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.001365/0.1798, allocations: 1.165 MB / 0.5028 GB, free: 2.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.1815, allocations: 0.6384 MB / 0.5034 GB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1815, allocations: 0 / 0.5034 GB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.1826, allocations: 355.5 kB / 0.5037 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.1831, allocations: 113.7 kB / 0.5038 GB, free: 1.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2281/0.4112, allocations: 8.877 MB / 0.5125 GB, free: 36.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.4118, allocations: 0.9111 MB / 0.5134 GB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005532/0.4124, allocations: 170.3 kB / 0.5136 GB, free: 35.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/0.4127, allocations: 148.8 kB / 0.5137 GB, free: 35.82 MB / 382.1 MB Notification: Performance of SimCode: time 2.194e-06/0.4127, allocations: 0 / 0.5137 GB, free: 35.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.4463, allocations: 14.79 MB / 0.5281 GB, free: 31.6 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/0.4465, allocations: 256.2 kB / 0.5284 GB, free: 31.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.211/2.657, allocations: 0 / 0.5284 GB, free: 31.26 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat