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.0009998/0.0009998, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001045/0.001045, allocations: 87.12 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2168/0.2168, allocations: 45.14 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.71e-05/1.714e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4273/0.5447, allocations: 100.8 MB / 0.603 GB, free: 1.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.5451, allocations: 98.8 kB / 0.603 GB, free: 1.422 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06699/0.6121, allocations: 24.58 MB / 0.6271 GB, free: 12.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.6121, allocations: 0 / 0.6271 GB, free: 12.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.834e-05/0.6122, allocations: 4 kB / 0.6271 GB, free: 12.79 MB / 426.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.001185/0.6134, allocations: 0.7479 MB / 0.6278 GB, free: 12.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.6134, allocations: 16.02 kB / 0.6278 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003979/0.6138, allocations: 99.27 kB / 0.6279 GB, free: 11.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.6142, allocations: 308.9 kB / 0.6282 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.6143, allocations: 16 kB / 0.6282 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.658e-05/0.6143, allocations: 32 kB / 0.6282 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006316/0.615, allocations: 452.5 kB / 0.6287 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008878/0.6159, allocations: 0.659 MB / 0.6293 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.6159, allocations: 4 kB / 0.6293 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.6159, allocations: 0 / 0.6293 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-05/0.616, allocations: 33.2 kB / 0.6294 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.6181, allocations: 1.522 MB / 0.6308 GB, free: 9.281 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.6185, allocations: 266.1 kB / 0.6311 GB, free: 9.023 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.6187, allocations: 123.1 kB / 0.6312 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/0.6187, allocations: 7.938 kB / 0.6312 GB, free: 8.898 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.6188, allocations: 45.97 kB / 0.6313 GB, free: 8.848 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.6188, allocations: 0 / 0.6313 GB, free: 8.848 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005997/0.6194, allocations: 294 kB / 0.6315 GB, free: 8.574 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.6195, allocations: 110.1 kB / 0.6316 GB, free: 8.445 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.6198, allocations: 304.3 kB / 0.6319 GB, free: 8.191 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.6198, allocations: 25.7 kB / 0.632 GB, free: 8.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.62, allocations: 301.6 kB / 0.6322 GB, free: 7.898 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/0.6201, allocations: 73 kB / 0.6323 GB, free: 7.836 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.6201, allocations: 0 / 0.6323 GB, free: 7.836 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.6202, allocations: 339.9 kB / 0.6326 GB, free: 7.508 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.6205, allocations: 153.7 kB / 0.6328 GB, free: 7.383 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/0.6209, allocations: 416.9 kB / 0.6332 GB, free: 6.883 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.6212, allocations: 232 kB / 0.6334 GB, free: 6.688 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.6212, allocations: 0 / 0.6334 GB, free: 6.688 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008606/0.6221, allocations: 0.5442 MB / 0.6339 GB, free: 6.188 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.6221, allocations: 8 kB / 0.6339 GB, free: 6.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/0.6222, allocations: 55.47 kB / 0.634 GB, free: 6.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/0.6223, allocations: 12 kB / 0.634 GB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.6226, allocations: 78.89 kB / 0.6341 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.21e-05/0.6227, allocations: 23.88 kB / 0.6341 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.623, allocations: 55.66 kB / 0.6342 GB, free: 5.965 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.6231, allocations: 35.25 kB / 0.6342 GB, free: 5.934 MB / 426.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 () * 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.0001473/0.6232, allocations: 143.2 kB / 0.6343 GB, free: 5.793 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005251/0.6238, allocations: 294.3 kB / 0.6346 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.6239, allocations: 27.72 kB / 0.6346 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007745/0.6246, allocations: 424.8 kB / 0.635 GB, free: 5.109 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.6247, allocations: 7.953 kB / 0.6351 GB, free: 5.102 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6247, allocations: 0 / 0.6351 GB, free: 5.102 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.6247, allocations: 0 / 0.6351 GB, free: 5.102 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005836/0.6253, allocations: 371.5 kB / 0.6354 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-05/0.6254, allocations: 43.97 kB / 0.6354 GB, free: 4.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.6255, allocations: 35.34 kB / 0.6355 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.6255, allocations: 4 kB / 0.6355 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.6256, allocations: 11.98 kB / 0.6355 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.6256, allocations: 3.938 kB / 0.6355 GB, free: 4.652 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.6256, allocations: 0 / 0.6355 GB, free: 4.652 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005767/0.6262, allocations: 0.56 MB / 0.636 GB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-05/0.6263, allocations: 104.8 kB / 0.6361 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.6263, allocations: 0 / 0.6361 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.6266, allocations: 27.97 kB / 0.6362 GB, free: 3.945 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.008e-05/0.6267, allocations: 27.47 kB / 0.6362 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.6267, allocations: 12 kB / 0.6362 GB, free: 3.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000192/0.6269, allocations: 218.3 kB / 0.6364 GB, free: 3.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6269, allocations: 0 / 0.6364 GB, free: 3.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009161/0.6279, allocations: 223.9 kB / 0.6366 GB, free: 3.52 MB / 426.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 () * 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.001435/0.6293, allocations: 1.439 MB / 0.638 GB, free: 2.086 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007921/0.6301, allocations: 0.6664 MB / 0.6387 GB, free: 1.391 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.6301, allocations: 0 / 0.6387 GB, free: 1.391 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.6305, allocations: 450.2 kB / 0.6391 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.6309, allocations: 28.27 kB / 0.6391 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.633, allocations: 0.8741 MB / 0.64 GB, free: 8 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.6336, allocations: 0.9024 MB / 0.6409 GB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002566/0.6339, allocations: 95.11 kB / 0.641 GB, free: 14.99 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.634, allocations: 131.6 kB / 0.6411 GB, free: 14.96 MB / 442.7 MB Notification: Performance of SimCode: time 8.11e-07/0.634, allocations: 0 / 0.6411 GB, free: 14.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.6658, allocations: 9.807 MB / 0.6507 GB, free: 5.188 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.666, allocations: 191.1 kB / 0.6509 GB, free: 4.988 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/2.718, allocations: 0 / 0.6509 GB, free: 4.988 MB / 442.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