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/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_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/Complex trunk/package.mo): time 0.001132/0.001132, allocations: 202.7 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.571/1.571, 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.0009171/0.0009167, allocations: 107.6 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4006/0.4006, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003168, allocations: 8 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4059, allocations: 63.25 MB / 0.5193 GB, free: 43.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.5437, allocations: 100.7 MB / 0.6177 GB, free: 4.848 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.544, allocations: 95.91 kB / 0.6178 GB, free: 4.758 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06775/0.6118, allocations: 24.11 MB / 0.6413 GB, free: 12.52 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.538e-06/0.6119, allocations: 0 / 0.6413 GB, free: 12.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.169e-05/0.6119, allocations: 11.94 kB / 0.6413 GB, free: 12.5 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001508/0.6134, allocations: 0.7214 MB / 0.642 GB, free: 11.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.6135, allocations: 8.031 kB / 0.642 GB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001962/0.6137, allocations: 106.5 kB / 0.6421 GB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.6138, allocations: 55.34 kB / 0.6422 GB, free: 11.56 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/0.6143, allocations: 306.3 kB / 0.6425 GB, free: 11.22 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.6144, allocations: 41.3 kB / 0.6425 GB, free: 11.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.265e-05/0.6145, allocations: 52 kB / 0.6426 GB, free: 11.12 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.6157, allocations: 0.7403 MB / 0.6433 GB, free: 10.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.6157, allocations: 3.984 kB / 0.6433 GB, free: 10.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.814e-05/0.6158, allocations: 23.94 kB / 0.6433 GB, free: 10.35 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.695e-05/0.6158, allocations: 49.22 kB / 0.6434 GB, free: 10.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.6171, allocations: 0.8053 MB / 0.6441 GB, free: 9.496 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002679/0.6198, allocations: 1.539 MB / 0.6456 GB, free: 7.898 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000787/0.6206, allocations: 448.5 kB / 0.6461 GB, free: 7.453 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.503e-05/0.6206, allocations: 12.2 kB / 0.6461 GB, free: 7.441 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.6207, allocations: 34.8 kB / 0.6461 GB, free: 7.398 MB / 458.7 MB Notification: Performance of pre-optimization done (n=28): time 2.234e-06/0.6207, allocations: 4 kB / 0.6461 GB, free: 7.395 MB / 458.7 MB Notification: Performance of matching and sorting (n=28): time 0.001147/0.6218, allocations: 0.5502 MB / 0.6467 GB, free: 6.84 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.6219, allocations: 55.41 kB / 0.6467 GB, free: 6.773 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006304/0.6225, allocations: 0.5242 MB / 0.6472 GB, free: 6.242 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.6226, allocations: 29.7 kB / 0.6473 GB, free: 6.207 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.6228, allocations: 275.5 kB / 0.6475 GB, free: 5.934 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.6229, allocations: 102.5 kB / 0.6476 GB, free: 5.832 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.6229, allocations: 12 kB / 0.6476 GB, free: 5.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6231, allocations: 358.8 kB / 0.648 GB, free: 5.461 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.6234, allocations: 196.9 kB / 0.6482 GB, free: 5.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/0.6239, allocations: 429.1 kB / 0.6486 GB, free: 4.738 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.6243, allocations: 276.6 kB / 0.6488 GB, free: 4.469 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.6243, allocations: 4 kB / 0.6488 GB, free: 4.465 MB / 458.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001116/0.6255, allocations: 0.6767 MB / 0.6495 GB, free: 3.781 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.6255, allocations: 8 kB / 0.6495 GB, free: 3.773 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.6255, allocations: 12 kB / 0.6495 GB, free: 3.762 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.6255, allocations: 12 kB / 0.6495 GB, free: 3.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.6266, allocations: 251.6 kB / 0.6498 GB, free: 3.504 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004101/0.6307, allocations: 7.314 MB / 0.6569 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000655/0.6314, allocations: 67.28 kB / 0.657 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.342e-05/0.6315, allocations: 35.98 kB / 0.657 GB, free: 11.81 MB / 474.7 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].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 (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.000445/0.6319, allocations: 276.2 kB / 0.6573 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.11e-05/0.632, allocations: 47.44 kB / 0.6573 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.6332, allocations: 0.5564 MB / 0.6579 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.6332, allocations: 4.062 kB / 0.6579 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6332, allocations: 3.938 kB / 0.6579 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6332, allocations: 4 kB / 0.6579 GB, free: 10.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006831/0.6339, allocations: 433.1 kB / 0.6583 GB, free: 10.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6339, allocations: 4 kB / 0.6583 GB, free: 10.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009627/0.6349, allocations: 207.8 kB / 0.6585 GB, free: 10.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/0.6349, allocations: 0 / 0.6585 GB, free: 10.22 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/0.635, allocations: 15.98 kB / 0.6585 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004058/0.639, allocations: 7.306 MB / 0.6656 GB, free: 2.621 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6391, allocations: 0 / 0.6656 GB, free: 2.621 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007745/0.6398, allocations: 0.5078 MB / 0.6661 GB, free: 2.098 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.6401, allocations: 124.5 kB / 0.6662 GB, free: 1.957 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.072e-05/0.6402, allocations: 4 kB / 0.6662 GB, free: 1.953 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.6404, allocations: 19.94 kB / 0.6663 GB, free: 1.934 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-05/0.6405, allocations: 23.95 kB / 0.6663 GB, free: 1.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.6405, allocations: 16 kB / 0.6663 GB, free: 1.895 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005149/0.6411, allocations: 406.8 kB / 0.6667 GB, free: 1.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6411, allocations: 0 / 0.6667 GB, free: 1.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009556/0.642, allocations: 207.7 kB / 0.6669 GB, free: 1.297 MB / 474.7 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.001807/0.6439, allocations: 1.221 MB / 0.6681 GB, free: 56 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00159/0.6455, allocations: 0.5792 MB / 0.6686 GB, free: 15.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.6455, allocations: 0 / 0.6686 GB, free: 15.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009475/0.6464, allocations: 312.7 kB / 0.6689 GB, free: 15.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/0.647, allocations: 115.2 kB / 0.6691 GB, free: 15.06 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007324/0.6543, allocations: 8.879 MB / 0.6777 GB, free: 5.977 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/0.6549, allocations: 0.9132 MB / 0.6786 GB, free: 5.035 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000436/0.6553, allocations: 172.4 kB / 0.6788 GB, free: 4.867 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.6556, allocations: 147.4 kB / 0.6789 GB, free: 4.723 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/0.6556, allocations: 0 / 0.6789 GB, free: 4.723 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.6892, allocations: 15.42 MB / 0.694 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.6894, allocations: 256.8 kB / 0.6942 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/3.174, allocations: 4 kB / 0.6942 GB, free: 5.246 MB / 0.4948 GB (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