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.001677/0.001677, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.615/1.615, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009072, allocations: 94.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2173/0.2173, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003198, allocations: 8 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.122, allocations: 58.85 MB / 490.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3744/0.4964, allocations: 93.87 MB / 0.5705 GB, free: 5.852 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/0.4968, allocations: 99.38 kB / 0.5706 GB, free: 5.793 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03391/0.5307, allocations: 12.28 MB / 0.5826 GB, free: 11.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5307, allocations: 0 / 0.5826 GB, free: 11.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.428e-05/0.5308, allocations: 8 kB / 0.5826 GB, free: 11.01 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.001531/0.5323, allocations: 0.6808 MB / 0.5833 GB, free: 10.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/0.5324, allocations: 8.562 kB / 0.5833 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001785/0.5326, allocations: 92.95 kB / 0.5834 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.5327, allocations: 47.39 kB / 0.5834 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006241/0.5333, allocations: 298 kB / 0.5837 GB, free: 9.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.5334, allocations: 36.5 kB / 0.5838 GB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.5335, allocations: 39.75 kB / 0.5838 GB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.5347, allocations: 0.6626 MB / 0.5844 GB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.5348, allocations: 3.938 kB / 0.5844 GB, free: 9.281 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/0.5348, allocations: 19.31 kB / 0.5845 GB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-05/0.5349, allocations: 25 kB / 0.5845 GB, free: 9.254 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.5359, allocations: 0.4985 MB / 0.585 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002747/0.5387, allocations: 1.538 MB / 0.5865 GB, free: 7.438 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006064/0.5393, allocations: 318 kB / 0.5868 GB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.773e-05/0.5394, allocations: 15.97 kB / 0.5868 GB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.5394, allocations: 38.44 kB / 0.5868 GB, free: 7.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 2.564e-06/0.5394, allocations: 4 kB / 0.5868 GB, free: 7.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001451/0.5409, allocations: 0.7513 MB / 0.5876 GB, free: 6.297 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.541, allocations: 110.9 kB / 0.5877 GB, free: 6.164 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000598/0.5416, allocations: 0.4922 MB / 0.5882 GB, free: 5.754 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.5416, allocations: 29.52 kB / 0.5882 GB, free: 5.723 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.5418, allocations: 231.2 kB / 0.5884 GB, free: 5.559 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.385e-05/0.5419, allocations: 64.41 kB / 0.5885 GB, free: 5.504 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/0.5419, allocations: 2.688 kB / 0.5885 GB, free: 5.504 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.5421, allocations: 353.2 kB / 0.5888 GB, free: 5.168 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000371/0.5425, allocations: 173.5 kB / 0.589 GB, free: 5.012 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/0.5429, allocations: 287.3 kB / 0.5892 GB, free: 4.699 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004086/0.5433, allocations: 208 kB / 0.5894 GB, free: 4.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5434, allocations: 0 / 0.5894 GB, free: 4.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00105/0.5444, allocations: 0.5164 MB / 0.59 GB, free: 4.051 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.5445, allocations: 8.484 kB / 0.59 GB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.888e-05/0.5445, allocations: 47.91 kB / 0.59 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.5446, allocations: 7.938 kB / 0.59 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.5448, allocations: 43.91 kB / 0.5901 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.5448, allocations: 11.98 kB / 0.5901 GB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.5452, allocations: 70.92 kB / 0.5901 GB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.5453, allocations: 27.62 kB / 0.5902 GB, free: 3.848 MB / 394.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 () * Number of clocked 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.0003393/0.5456, allocations: 215.9 kB / 0.5904 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.5458, allocations: 35.53 kB / 0.5904 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009806/0.5467, allocations: 463.4 kB / 0.5908 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.5468, allocations: 4 kB / 0.5908 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.5468, allocations: 4 kB / 0.5908 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.5468, allocations: 3.984 kB / 0.5909 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000743/0.5475, allocations: 392.9 kB / 0.5912 GB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.375e-05/0.5476, allocations: 39.95 kB / 0.5913 GB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.5478, allocations: 31.97 kB / 0.5913 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5478, allocations: 3.938 kB / 0.5913 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.5479, allocations: 11.75 kB / 0.5913 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.5479, allocations: 7.938 kB / 0.5913 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5479, allocations: 0 / 0.5913 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009821/0.5489, allocations: 0.652 MB / 0.592 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.549, allocations: 123.7 kB / 0.5921 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.686e-05/0.5491, allocations: 0 / 0.5921 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/0.5494, allocations: 27.34 kB / 0.5921 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/0.5495, allocations: 27.42 kB / 0.5921 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.5495, allocations: 15.98 kB / 0.5921 GB, free: 1.871 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004511/0.55, allocations: 395.3 kB / 0.5925 GB, free: 1.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.55, allocations: 0 / 0.5925 GB, free: 1.559 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000668/0.5507, allocations: 142.2 kB / 0.5927 GB, free: 1.43 MB / 394.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 () * Number of clocked 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.001628/0.5523, allocations: 1.443 MB / 0.5941 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.5533, allocations: 0.6779 MB / 0.5947 GB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5534, allocations: 4.875 kB / 0.5947 GB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005344/0.5539, allocations: 495.3 kB / 0.5952 GB, free: 14.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005535/0.5545, allocations: 107.1 kB / 0.5953 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006015/0.5605, allocations: 5.659 MB / 0.6008 GB, free: 9.293 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.561, allocations: 0.8752 MB / 0.6017 GB, free: 8.402 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002584/0.5613, allocations: 87.23 kB / 0.6018 GB, free: 8.316 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.5614, allocations: 119.7 kB / 0.6019 GB, free: 8.277 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.5615, allocations: 0 / 0.6019 GB, free: 8.277 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/0.5879, allocations: 12.65 MB / 0.6142 GB, free: 11.68 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.5881, allocations: 216.2 kB / 0.6144 GB, free: 11.45 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/2.899, allocations: 0 / 0.6144 GB, free: 11.45 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