Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 221.5 MB / 230.7 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008842/0.0008843, allocations: 100.5 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1813/0.1813, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.402e-05/1.405e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1339, allocations: 61.91 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4407/0.5746, allocations: 94.25 MB / 0.5868 GB, free: 2.195 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/0.575, allocations: 95.94 kB / 0.5869 GB, free: 2.102 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03207/0.6071, allocations: 12.47 MB / 0.5991 GB, free: 5.457 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6072, allocations: 0 / 0.5991 GB, free: 5.457 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.6072, allocations: 8 kB / 0.5991 GB, free: 5.449 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001108/0.6083, allocations: 0.6508 MB / 0.5997 GB, free: 4.754 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.531e-05/0.6084, allocations: 12.83 kB / 0.5998 GB, free: 4.742 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.6085, allocations: 51.42 kB / 0.5998 GB, free: 4.691 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.609, allocations: 290.4 kB / 0.6001 GB, free: 4.367 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.609, allocations: 16 kB / 0.6001 GB, free: 4.352 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.609, allocations: 24 kB / 0.6001 GB, free: 4.328 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005561/0.6096, allocations: 390.2 kB / 0.6005 GB, free: 3.945 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007505/0.6104, allocations: 0.5642 MB / 0.601 GB, free: 3.363 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.6104, allocations: 0 / 0.601 GB, free: 3.363 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.6104, allocations: 4 kB / 0.6011 GB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/0.6105, allocations: 25.25 kB / 0.6011 GB, free: 3.332 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.6123, allocations: 1.371 MB / 0.6024 GB, free: 1.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.6127, allocations: 263.6 kB / 0.6027 GB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.6129, allocations: 118.5 kB / 0.6028 GB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.547e-05/0.613, allocations: 11.94 kB / 0.6028 GB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.613, allocations: 34.56 kB / 0.6028 GB, free: 1.445 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.613, allocations: 4 kB / 0.6028 GB, free: 1.441 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005624/0.6136, allocations: 285.4 kB / 0.6031 GB, free: 1.156 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.6136, allocations: 110.8 kB / 0.6032 GB, free: 1.023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.6138, allocations: 215.8 kB / 0.6034 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.6139, allocations: 25.7 kB / 0.6034 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.614, allocations: 243.6 kB / 0.6037 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.6141, allocations: 67.02 kB / 0.6037 GB, free: 472 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.6141, allocations: 0 / 0.6037 GB, free: 472 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.6142, allocations: 330.8 kB / 0.604 GB, free: 132 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.6144, allocations: 132.1 kB / 0.6042 GB, free: 15.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.6147, allocations: 243.3 kB / 0.6044 GB, free: 15.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.6149, allocations: 161 kB / 0.6046 GB, free: 15.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.6149, allocations: 0 / 0.6046 GB, free: 15.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006145/0.6156, allocations: 398.4 kB / 0.6049 GB, free: 15.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.6156, allocations: 11.94 kB / 0.6049 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.829e-05/0.6157, allocations: 39.95 kB / 0.605 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.6157, allocations: 8 kB / 0.605 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.6159, allocations: 47.91 kB / 0.605 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.616, allocations: 7.984 kB / 0.605 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.6162, allocations: 40.02 kB / 0.6051 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.6163, allocations: 23.98 kB / 0.6051 GB, free: 14.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (33): * Single equations (assignments): 21 * 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.0001115/0.6164, allocations: 120.8 kB / 0.6052 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004981/0.6169, allocations: 298.5 kB / 0.6055 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.526e-05/0.617, allocations: 15.81 kB / 0.6055 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006666/0.6176, allocations: 409.6 kB / 0.6059 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.6177, allocations: 4 kB / 0.6059 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.6177, allocations: 0 / 0.6059 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6177, allocations: 0 / 0.6059 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.6182, allocations: 345.8 kB / 0.6062 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.906e-05/0.6183, allocations: 39.91 kB / 0.6063 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.6184, allocations: 35.97 kB / 0.6063 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.6184, allocations: 0 / 0.6063 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.6185, allocations: 12 kB / 0.6063 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.6185, allocations: 0 / 0.6063 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.6185, allocations: 4 kB / 0.6063 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005748/0.6191, allocations: 0.5464 MB / 0.6069 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.568e-05/0.6192, allocations: 100.8 kB / 0.607 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.6192, allocations: 3.953 kB / 0.607 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.6195, allocations: 19.98 kB / 0.607 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.136e-05/0.6196, allocations: 23.97 kB / 0.607 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.6196, allocations: 19.98 kB / 0.607 GB, free: 12.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.6198, allocations: 164.5 kB / 0.6072 GB, free: 12.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6198, allocations: 0 / 0.6072 GB, free: 12.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006989/0.6205, allocations: 159.4 kB / 0.6073 GB, free: 12.59 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.001161/0.6216, allocations: 1.33 MB / 0.6086 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006735/0.6223, allocations: 0.5976 MB / 0.6092 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6223, allocations: 0 / 0.6092 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.6227, allocations: 448.3 kB / 0.6096 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.623, allocations: 29.78 kB / 0.6097 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.6248, allocations: 0.7429 MB / 0.6104 GB, free: 9.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.6253, allocations: 0.888 MB / 0.6113 GB, free: 8.312 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.6255, allocations: 45.97 kB / 0.6113 GB, free: 8.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.6256, allocations: 107.4 kB / 0.6114 GB, free: 8.164 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/0.6256, allocations: 0 / 0.6114 GB, free: 8.164 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.6541, allocations: 7.407 MB / 0.6186 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/0.6543, allocations: 177.7 kB / 0.6188 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.481, allocations: 3.938 kB / 0.6188 GB, free: 0.5938 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat