Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 185.7 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009072/0.000907, allocations: 91.53 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3746/0.3746, allocations: 43.47 MB / 358.6 MB, free: 52.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.406e-05/3.415e-05, allocations: 4 kB / 425.4 MB, free: 8.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1308, allocations: 58.85 MB / 484.3 MB, free: 13.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3733/0.5042, allocations: 93.29 MB / 0.564 GB, free: 11.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.5045, allocations: 98.75 kB / 0.5641 GB, free: 11.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03269/0.5372, allocations: 11.81 MB / 0.5757 GB, free: 15.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.5373, allocations: 0.8438 kB / 0.5757 GB, free: 15.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.478e-05/0.5373, allocations: 8 kB / 0.5757 GB, free: 15.59 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.0009477/0.5383, allocations: 0.6151 MB / 0.5763 GB, free: 14.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.5383, allocations: 8.031 kB / 0.5763 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/0.5385, allocations: 98.5 kB / 0.5764 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.871e-05/0.5385, allocations: 50.88 kB / 0.5764 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.539, allocations: 290.3 kB / 0.5767 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.539, allocations: 33 kB / 0.5767 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-05/0.5391, allocations: 43.98 kB / 0.5768 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009522/0.54, allocations: 0.6234 MB / 0.5774 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.5401, allocations: 4 kB / 0.5774 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.5401, allocations: 20 kB / 0.5774 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.413e-05/0.5402, allocations: 37.3 kB / 0.5774 GB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008992/0.5411, allocations: 0.6609 MB / 0.5781 GB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.5432, allocations: 1.376 MB / 0.5794 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006461/0.5439, allocations: 433.4 kB / 0.5798 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.5441, allocations: 137.2 kB / 0.58 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.5441, allocations: 20.22 kB / 0.58 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.5442, allocations: 30.91 kB / 0.58 GB, free: 10.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.285e-06/0.5442, allocations: 7.875 kB / 0.58 GB, free: 10.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006492/0.5448, allocations: 381.9 kB / 0.5804 GB, free: 10.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.5449, allocations: 55.41 kB / 0.5804 GB, free: 10.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/0.5453, allocations: 438.7 kB / 0.5809 GB, free: 10.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.5454, allocations: 29.7 kB / 0.5809 GB, free: 10.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.5455, allocations: 212.2 kB / 0.5811 GB, free: 9.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.74e-05/0.5456, allocations: 102.5 kB / 0.5812 GB, free: 9.738 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.5457, allocations: 8 kB / 0.5812 GB, free: 9.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5458, allocations: 354.8 kB / 0.5815 GB, free: 9.375 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.546, allocations: 136.5 kB / 0.5817 GB, free: 9.238 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.5463, allocations: 232.3 kB / 0.5819 GB, free: 8.973 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.5466, allocations: 179.7 kB / 0.5821 GB, free: 8.797 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5466, allocations: 0 / 0.5821 GB, free: 8.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000703/0.5473, allocations: 457.2 kB / 0.5825 GB, free: 8.344 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.5474, allocations: 12.03 kB / 0.5825 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5474, allocations: 0 / 0.5825 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.5474, allocations: 8 kB / 0.5825 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009784/0.5484, allocations: 203.7 kB / 0.5827 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/0.5522, allocations: 7.294 MB / 0.5898 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.5526, allocations: 51.38 kB / 0.5899 GB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.5526, allocations: 23.98 kB / 0.5899 GB, free: 488 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * 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.0001473/0.5528, allocations: 140.8 kB / 0.59 GB, free: 340 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.171e-05/0.5528, allocations: 39.44 kB / 0.5901 GB, free: 300 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009467/0.5538, allocations: 0.4938 MB / 0.5906 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.5538, allocations: 11.89 kB / 0.5906 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5538, allocations: 0 / 0.5906 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.5538, allocations: 3.984 kB / 0.5906 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005452/0.5544, allocations: 413 kB / 0.591 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5544, allocations: 0 / 0.591 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009163/0.5553, allocations: 191.8 kB / 0.5912 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.5553, allocations: 0 / 0.5912 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.5554, allocations: 15.98 kB / 0.5912 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00423/0.5596, allocations: 7.294 MB / 0.5983 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.5597, allocations: 5.547 kB / 0.5983 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006648/0.5603, allocations: 476.2 kB / 0.5987 GB, free: 7.059 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.5605, allocations: 120.6 kB / 0.5989 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.5606, allocations: 15.94 kB / 0.5989 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.5608, allocations: 15.94 kB / 0.5989 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.5609, allocations: 23.95 kB / 0.5989 GB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.561, allocations: 19.98 kB / 0.5989 GB, free: 6.848 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005225/0.5615, allocations: 345.1 kB / 0.5993 GB, free: 6.516 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5615, allocations: 0 / 0.5993 GB, free: 6.516 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006234/0.5622, allocations: 135.8 kB / 0.5994 GB, free: 6.383 MB / 426.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 () * 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.001286/0.5635, allocations: 1.084 MB / 0.6005 GB, free: 5.273 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.5648, allocations: 451.4 kB / 0.6009 GB, free: 4.832 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5649, allocations: 0.75 kB / 0.6009 GB, free: 4.832 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009437/0.5658, allocations: 284.6 kB / 0.6012 GB, free: 4.555 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.5664, allocations: 107.9 kB / 0.6013 GB, free: 4.449 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.5679, allocations: 0.782 MB / 0.602 GB, free: 3.633 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/0.5685, allocations: 0.8858 MB / 0.6029 GB, free: 2.719 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003371/0.5688, allocations: 140 kB / 0.603 GB, free: 2.582 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.569, allocations: 127.4 kB / 0.6031 GB, free: 2.457 MB / 426.7 MB Notification: Performance of SimCode: time 1.443e-06/0.569, allocations: 0 / 0.6031 GB, free: 2.457 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.5994, allocations: 12.85 MB / 0.6157 GB, free: 5.691 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/0.5997, allocations: 227.3 kB / 0.6159 GB, free: 5.461 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/2.981, allocations: 0 / 0.6159 GB, free: 5.461 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat