Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001538/0.001542, allocations: 186.1 kB / 16.4 MB, free: 5.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.00112/0.00112, allocations: 91.02 kB / 270.9 MB, free: 8.363 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.5172/0.5172, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004944, allocations: 12 kB / 431.5 MB, free: 6.035 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1298, allocations: 58.84 MB / 490.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4819/0.6117, allocations: 93.86 MB / 0.5705 GB, free: 8.645 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003939/0.6122, allocations: 99.91 kB / 0.5706 GB, free: 8.547 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05555/0.6678, allocations: 12.28 MB / 0.5826 GB, free: 12.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6678, allocations: 0 / 0.5826 GB, free: 12.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.081e-05/0.6679, allocations: 4 kB / 0.5826 GB, free: 12.12 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.001586/0.6695, allocations: 0.6859 MB / 0.5833 GB, free: 11.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.862e-05/0.6695, allocations: 8.031 kB / 0.5833 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.6697, allocations: 90.52 kB / 0.5834 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.6699, allocations: 54.88 kB / 0.5834 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005703/0.6705, allocations: 301.2 kB / 0.5837 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.994e-05/0.6705, allocations: 33 kB / 0.5837 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.6706, allocations: 40 kB / 0.5838 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.6725, allocations: 0.6714 MB / 0.5844 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.6725, allocations: 4 kB / 0.5844 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.019e-05/0.6726, allocations: 17.03 kB / 0.5845 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.381e-05/0.6727, allocations: 24.98 kB / 0.5845 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.6744, allocations: 0.4917 MB / 0.585 GB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003734/0.6782, allocations: 1.546 MB / 0.5865 GB, free: 7.996 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.6793, allocations: 319.6 kB / 0.5868 GB, free: 7.656 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.117e-05/0.6794, allocations: 11.92 kB / 0.5868 GB, free: 7.645 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.6795, allocations: 34.56 kB / 0.5868 GB, free: 7.602 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 3.516e-06/0.6795, allocations: 4 kB / 0.5868 GB, free: 7.598 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.002532/0.682, allocations: 0.7518 MB / 0.5876 GB, free: 6.785 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.94e-05/0.6822, allocations: 106.8 kB / 0.5877 GB, free: 6.656 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.6832, allocations: 0.493 MB / 0.5881 GB, free: 6.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.687e-05/0.6833, allocations: 29.7 kB / 0.5882 GB, free: 6.125 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.6835, allocations: 266.6 kB / 0.5884 GB, free: 5.863 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.6836, allocations: 67 kB / 0.5885 GB, free: 5.797 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.6837, allocations: 8 kB / 0.5885 GB, free: 5.789 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6838, allocations: 318.8 kB / 0.5888 GB, free: 5.469 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007288/0.6846, allocations: 172.1 kB / 0.589 GB, free: 5.297 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008044/0.6854, allocations: 281.3 kB / 0.5892 GB, free: 4.969 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008161/0.6862, allocations: 212.9 kB / 0.5894 GB, free: 4.762 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.6862, allocations: 0 / 0.5894 GB, free: 4.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002343/0.6886, allocations: 499.6 kB / 0.5899 GB, free: 4.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.6887, allocations: 8 kB / 0.5899 GB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001843/0.6889, allocations: 35.97 kB / 0.5899 GB, free: 4.227 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.076e-05/0.6889, allocations: 8 kB / 0.59 GB, free: 4.219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006313/0.6896, allocations: 56.2 kB / 0.59 GB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/0.6896, allocations: 4 kB / 0.59 GB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.6907, allocations: 75.34 kB / 0.5901 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.6908, allocations: 23.89 kB / 0.5901 GB, free: 4.062 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 () * 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.0006095/0.6914, allocations: 221.5 kB / 0.5903 GB, free: 3.836 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.6918, allocations: 43.53 kB / 0.5904 GB, free: 3.793 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.6935, allocations: 456.8 kB / 0.5908 GB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.6936, allocations: 8 kB / 0.5908 GB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/0.6936, allocations: 4 kB / 0.5908 GB, free: 3.332 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.6936, allocations: 0 / 0.5908 GB, free: 3.332 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009848/0.6946, allocations: 397.1 kB / 0.5912 GB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001118/0.6947, allocations: 31.97 kB / 0.5912 GB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.6951, allocations: 43.91 kB / 0.5913 GB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.924e-06/0.6951, allocations: 0 / 0.5913 GB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/0.6951, allocations: 11.98 kB / 0.5913 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.6952, allocations: 4 kB / 0.5913 GB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6952, allocations: 4 kB / 0.5913 GB, free: 2.801 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.6969, allocations: 0.6523 MB / 0.5919 GB, free: 2.121 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.6971, allocations: 124.5 kB / 0.592 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.6973, allocations: 0 / 0.592 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005349/0.6978, allocations: 27.97 kB / 0.5921 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.6979, allocations: 31.84 kB / 0.5921 GB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/0.698, allocations: 12 kB / 0.5921 GB, free: 1.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007622/0.6988, allocations: 387 kB / 0.5925 GB, free: 1.531 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6988, allocations: 4 kB / 0.5925 GB, free: 1.527 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009515/0.6998, allocations: 143.8 kB / 0.5926 GB, free: 1.387 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 () * 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.002623/0.7024, allocations: 1.431 MB / 0.594 GB, free: 15.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001838/0.7043, allocations: 0.6881 MB / 0.5947 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.7043, allocations: 0 / 0.5947 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009327/0.7053, allocations: 496.5 kB / 0.5952 GB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009649/0.7062, allocations: 106 kB / 0.5953 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00952/0.7158, allocations: 5.666 MB / 0.6008 GB, free: 8.691 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000649/0.7165, allocations: 0.8662 MB / 0.6016 GB, free: 7.797 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/0.7168, allocations: 127.3 kB / 0.6018 GB, free: 7.672 MB / 426.7 MB Notification: Performance of SimCode: time 9.02e-07/0.7168, allocations: 0 / 0.6018 GB, free: 7.672 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.671/3.388, allocations: 10.61 MB / 0.6121 GB, free: 13.1 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat