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.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,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 183.5 kB / 13.19 MB, free: 2.129 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.625/1.625, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008481/0.0008481, allocations: 82.61 kB / 267 MB, free: 9.285 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.4082/0.4082, allocations: 43.46 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.473e-05/3.491e-05, allocations: 4 kB / 425.4 MB, free: 8.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1356, allocations: 58.84 MB / 484.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.412/0.5476, allocations: 93.77 MB / 0.5645 GB, free: 11.74 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.548, allocations: 96.56 kB / 0.5646 GB, free: 11.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02813/0.5761, allocations: 12.3 MB / 0.5766 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5762, allocations: 0 / 0.5766 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.5762, allocations: 6.344 kB / 0.5766 GB, free: 0.9414 MB / 394.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.0008401/0.577, allocations: 0.6656 MB / 0.5773 GB, free: 272 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.5771, allocations: 8.031 kB / 0.5773 GB, free: 264 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.535e-05/0.5772, allocations: 92.02 kB / 0.5774 GB, free: 192 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.5772, allocations: 43.44 kB / 0.5774 GB, free: 148 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.5777, allocations: 296 kB / 0.5777 GB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.5777, allocations: 29.62 kB / 0.5777 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/0.5778, allocations: 49 kB / 0.5778 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008887/0.5787, allocations: 0.619 MB / 0.5784 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.5787, allocations: 0 / 0.5784 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.5787, allocations: 17.62 kB / 0.5784 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.052e-05/0.5788, allocations: 24.94 kB / 0.5784 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006082/0.5794, allocations: 424.1 kB / 0.5788 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.5815, allocations: 1.549 MB / 0.5803 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/0.582, allocations: 272.3 kB / 0.5806 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.5822, allocations: 120.2 kB / 0.5807 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.477e-05/0.5822, allocations: 7.984 kB / 0.5807 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.5823, allocations: 41.62 kB / 0.5807 GB, free: 13.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.914e-06/0.5823, allocations: 0 / 0.5807 GB, free: 13.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006455/0.5829, allocations: 313.6 kB / 0.581 GB, free: 12.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.583, allocations: 110.8 kB / 0.5811 GB, free: 12.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005261/0.5835, allocations: 488.5 kB / 0.5816 GB, free: 12.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.5836, allocations: 29.7 kB / 0.5816 GB, free: 12.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.5837, allocations: 236 kB / 0.5819 GB, free: 12.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.5838, allocations: 64.45 kB / 0.5819 GB, free: 12.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.5838, allocations: 6.812 kB / 0.5819 GB, free: 12.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.584, allocations: 362.5 kB / 0.5823 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.5842, allocations: 119.2 kB / 0.5824 GB, free: 11.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.5846, allocations: 257.6 kB / 0.5826 GB, free: 11.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.5848, allocations: 159.3 kB / 0.5828 GB, free: 11.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.5849, allocations: 0 / 0.5828 GB, free: 11.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007116/0.5856, allocations: 441.9 kB / 0.5832 GB, free: 10.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.5856, allocations: 11.94 kB / 0.5832 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.957e-05/0.5857, allocations: 40.48 kB / 0.5833 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.5857, allocations: 12 kB / 0.5833 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.586, allocations: 47.47 kB / 0.5833 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.586, allocations: 7.984 kB / 0.5833 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.5863, allocations: 70.94 kB / 0.5834 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.5864, allocations: 32.92 kB / 0.5834 GB, free: 10.57 MB / 410.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.0001209/0.5865, allocations: 127.7 kB / 0.5835 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.5866, allocations: 43.44 kB / 0.5836 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007794/0.5874, allocations: 433.7 kB / 0.584 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.5874, allocations: 4 kB / 0.584 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5875, allocations: 0 / 0.584 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5875, allocations: 3.984 kB / 0.584 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.588, allocations: 394.1 kB / 0.5844 GB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.451e-05/0.5881, allocations: 42.14 kB / 0.5844 GB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.5882, allocations: 27.97 kB / 0.5845 GB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.5883, allocations: 4 kB / 0.5845 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.5883, allocations: 15.17 kB / 0.5845 GB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5883, allocations: 0 / 0.5845 GB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5883, allocations: 0 / 0.5845 GB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006478/0.589, allocations: 0.5782 MB / 0.585 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.5891, allocations: 124.5 kB / 0.5852 GB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.878e-05/0.5892, allocations: 7.5 kB / 0.5852 GB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/0.5895, allocations: 27.61 kB / 0.5852 GB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.5896, allocations: 19.97 kB / 0.5852 GB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.5896, allocations: 19.67 kB / 0.5852 GB, free: 8.758 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004189/0.59, allocations: 385.9 kB / 0.5856 GB, free: 8.457 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5901, allocations: 0 / 0.5856 GB, free: 8.457 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000639/0.5907, allocations: 135.2 kB / 0.5857 GB, free: 8.332 MB / 410.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.001524/0.5922, allocations: 1.366 MB / 0.5871 GB, free: 6.973 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007459/0.593, allocations: 0.6028 MB / 0.5876 GB, free: 6.332 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.593, allocations: 3.938 kB / 0.5876 GB, free: 6.328 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000377/0.5934, allocations: 448.3 kB / 0.5881 GB, free: 5.832 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.5939, allocations: 110.8 kB / 0.5882 GB, free: 5.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.5958, allocations: 0.8316 MB / 0.589 GB, free: 4.938 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.5962, allocations: 0.8755 MB / 0.5898 GB, free: 4.047 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002781/0.5965, allocations: 87.33 kB / 0.5899 GB, free: 3.957 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.5967, allocations: 120.5 kB / 0.59 GB, free: 3.918 MB / 410.7 MB Notification: Performance of SimCode: time 4.1e-07/0.5967, allocations: 0 / 0.59 GB, free: 3.918 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.6222, allocations: 12.6 MB / 0.6024 GB, free: 7.398 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.6225, allocations: 185.6 kB / 0.6025 GB, free: 7.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/2.81, allocations: 0 / 0.6025 GB, free: 7.18 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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_res.mat does not exist to compare? outputFormat=mat