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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001905/0.001905, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.63/1.63, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001001/0.001001, allocations: 102.8 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3879/0.3879, allocations: 45.23 MB / 394.7 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003201, allocations: 8 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4382, allocations: 63.24 MB / 0.5193 GB, free: 43.8 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/0.5786, allocations: 101.6 MB / 0.6185 GB, free: 4.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.579, allocations: 99.89 kB / 0.6186 GB, free: 3.926 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06604/0.645, allocations: 24.82 MB / 0.6428 GB, free: 10.96 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6451, allocations: 4 kB / 0.6428 GB, free: 10.96 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.6451, allocations: 4 kB / 0.6428 GB, free: 10.96 MB / 458.7 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.001326/0.6464, allocations: 0.772 MB / 0.6436 GB, free: 10.13 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.6465, allocations: 8.031 kB / 0.6436 GB, free: 10.12 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.6466, allocations: 106.5 kB / 0.6437 GB, free: 10.01 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004258/0.6471, allocations: 99.27 kB / 0.6438 GB, free: 9.914 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.6476, allocations: 306.8 kB / 0.6441 GB, free: 9.574 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.6476, allocations: 41.31 kB / 0.6441 GB, free: 9.535 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.02e-05/0.6477, allocations: 52 kB / 0.6442 GB, free: 9.484 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.6489, allocations: 0.7813 MB / 0.6449 GB, free: 8.684 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.649, allocations: 4 kB / 0.6449 GB, free: 8.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/0.649, allocations: 24 kB / 0.6449 GB, free: 8.656 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.065e-05/0.6491, allocations: 21.31 kB / 0.645 GB, free: 8.637 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.6501, allocations: 0.5827 MB / 0.6455 GB, free: 8.055 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.6526, allocations: 1.696 MB / 0.6472 GB, free: 6.293 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/0.6532, allocations: 319.5 kB / 0.6475 GB, free: 5.953 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/0.6533, allocations: 11.94 kB / 0.6475 GB, free: 5.941 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.6533, allocations: 38.56 kB / 0.6475 GB, free: 5.895 MB / 458.7 MB Notification: Performance of pre-optimization done (n=20): time 1.994e-06/0.6533, allocations: 0 / 0.6475 GB, free: 5.895 MB / 458.7 MB Notification: Performance of matching and sorting (n=20): time 0.00151/0.6548, allocations: 0.7717 MB / 0.6483 GB, free: 5.062 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.109e-05/0.6549, allocations: 106.8 kB / 0.6484 GB, free: 4.934 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007036/0.6556, allocations: 0.5759 MB / 0.649 GB, free: 4.348 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.6557, allocations: 29.7 kB / 0.649 GB, free: 4.312 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.6559, allocations: 287.5 kB / 0.6493 GB, free: 4.027 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.701e-05/0.656, allocations: 71 kB / 0.6493 GB, free: 3.957 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.656, allocations: 12 kB / 0.6493 GB, free: 3.945 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.6562, allocations: 366.8 kB / 0.6497 GB, free: 3.578 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/0.6566, allocations: 196.9 kB / 0.6499 GB, free: 3.387 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/0.6573, allocations: 477.4 kB / 0.6503 GB, free: 2.793 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/0.6578, allocations: 274.2 kB / 0.6506 GB, free: 2.527 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.6578, allocations: 7.938 kB / 0.6506 GB, free: 2.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001321/0.6592, allocations: 0.7079 MB / 0.6513 GB, free: 1.805 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6592, allocations: 8 kB / 0.6513 GB, free: 1.797 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-05/0.6593, allocations: 52.03 kB / 0.6514 GB, free: 1.746 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.6593, allocations: 15.95 kB / 0.6514 GB, free: 1.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.6596, allocations: 79.81 kB / 0.6514 GB, free: 1.652 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-05/0.6597, allocations: 19.94 kB / 0.6515 GB, free: 1.633 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004339/0.6601, allocations: 87.25 kB / 0.6516 GB, free: 1.547 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.505e-05/0.6602, allocations: 35.98 kB / 0.6516 GB, free: 1.512 MB / 458.7 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].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * 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.0003/0.6605, allocations: 253.5 kB / 0.6518 GB, free: 1.254 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.6606, allocations: 43.44 kB / 0.6519 GB, free: 1.211 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.6616, allocations: 495.2 kB / 0.6523 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.6616, allocations: 8 kB / 0.6523 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.6616, allocations: 3.953 kB / 0.6524 GB, free: 0.707 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.6616, allocations: 4 kB / 0.6524 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005985/0.6623, allocations: 413.2 kB / 0.6528 GB, free: 256 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.935e-05/0.6623, allocations: 35.97 kB / 0.6528 GB, free: 220 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.6625, allocations: 35.97 kB / 0.6528 GB, free: 184 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.6625, allocations: 0 / 0.6528 GB, free: 184 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.6625, allocations: 15.98 kB / 0.6528 GB, free: 168 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.6625, allocations: 4 kB / 0.6528 GB, free: 164 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6625, allocations: 0 / 0.6528 GB, free: 164 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009553/0.6635, allocations: 0.6712 MB / 0.6535 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.6637, allocations: 132.5 kB / 0.6536 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/0.6637, allocations: 0 / 0.6536 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.6641, allocations: 23.98 kB / 0.6536 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.589e-05/0.6642, allocations: 31.95 kB / 0.6537 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.6642, allocations: 15.92 kB / 0.6537 GB, free: 15.24 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005088/0.6647, allocations: 450.7 kB / 0.6541 GB, free: 14.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6647, allocations: 0 / 0.6541 GB, free: 14.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001025/0.6657, allocations: 219.7 kB / 0.6543 GB, free: 14.59 MB / 474.7 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.001879/0.6676, allocations: 1.536 MB / 0.6558 GB, free: 13.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.6689, allocations: 0.7754 MB / 0.6566 GB, free: 12.18 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6689, allocations: 0 / 0.6566 GB, free: 12.18 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006213/0.6696, allocations: 0.4886 MB / 0.6571 GB, free: 11.61 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/0.6702, allocations: 113 kB / 0.6572 GB, free: 11.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008337/0.6785, allocations: 9.764 MB / 0.6667 GB, free: 1.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/0.6791, allocations: 0.9052 MB / 0.6676 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003445/0.6795, allocations: 128.4 kB / 0.6677 GB, free: 452 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.6797, allocations: 147.3 kB / 0.6679 GB, free: 304 kB / 474.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6797, allocations: 4 kB / 0.6679 GB, free: 300 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/0.7132, allocations: 15.33 MB / 0.6828 GB, free: 1.211 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/0.7135, allocations: 217.6 kB / 0.683 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.626/3.34, allocations: 6.562 kB / 0.683 GB, free: 0.9688 MB / 490.7 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