Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.Plate.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_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.001645/0.001645, allocations: 186.3 kB / 16.41 MB, free: 5.727 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.084/2.084, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001101/0.001101, allocations: 92.33 kB / 270.9 MB, free: 8.359 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.5693/0.5693, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007359/0.0007362, allocations: 16 kB / 431.5 MB, free: 6.039 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1423, allocations: 58.84 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4865/0.6288, allocations: 90.72 MB / 0.5674 GB, free: 11.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004928/0.6294, allocations: 99.92 kB / 0.5675 GB, free: 11.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04096/0.6703, allocations: 6.29 MB / 0.5737 GB, free: 5.391 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6704, allocations: 4 kB / 0.5737 GB, free: 5.387 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.23e-05/0.6704, allocations: 4 kB / 0.5737 GB, free: 5.383 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001588/0.672, allocations: 0.4977 MB / 0.5742 GB, free: 4.836 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.459e-05/0.6721, allocations: 12.56 kB / 0.5742 GB, free: 4.824 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001416/0.6723, allocations: 57.36 kB / 0.5742 GB, free: 4.762 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.297e-05/0.6724, allocations: 23.16 kB / 0.5743 GB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.6729, allocations: 210.8 kB / 0.5745 GB, free: 4.496 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.6729, allocations: 12.17 kB / 0.5745 GB, free: 4.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.313e-05/0.673, allocations: 12 kB / 0.5745 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.6742, allocations: 274.6 kB / 0.5747 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.6743, allocations: 0 / 0.5747 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.111e-05/0.6743, allocations: 11.98 kB / 0.5748 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.693e-05/0.6744, allocations: 9.266 kB / 0.5748 GB, free: 4.164 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.6759, allocations: 256.4 kB / 0.575 GB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.6783, allocations: 0.8256 MB / 0.5758 GB, free: 3.027 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008805/0.6793, allocations: 203.6 kB / 0.576 GB, free: 2.801 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-05/0.6794, allocations: 4 kB / 0.576 GB, free: 2.797 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.6795, allocations: 34.69 kB / 0.5761 GB, free: 2.754 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 4.568e-06/0.6795, allocations: 0 / 0.5761 GB, free: 2.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.002234/0.6817, allocations: 357.2 kB / 0.5764 GB, free: 2.398 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.83e-05/0.6819, allocations: 110.8 kB / 0.5765 GB, free: 2.266 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005504/0.6824, allocations: 232.1 kB / 0.5767 GB, free: 2.039 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.6825, allocations: 33.7 kB / 0.5767 GB, free: 2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.6827, allocations: 190.3 kB / 0.5769 GB, free: 1.812 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.086e-05/0.6828, allocations: 43.44 kB / 0.577 GB, free: 1.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.6828, allocations: 4 kB / 0.577 GB, free: 1.766 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.683, allocations: 314.8 kB / 0.5773 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006873/0.6837, allocations: 107.9 kB / 0.5774 GB, free: 1.344 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006866/0.6844, allocations: 141 kB / 0.5775 GB, free: 1.188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007366/0.6852, allocations: 119.8 kB / 0.5776 GB, free: 1.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.6852, allocations: 0 / 0.5776 GB, free: 1.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001582/0.6868, allocations: 285.2 kB / 0.5779 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.6869, allocations: 8 kB / 0.5779 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.73e-05/0.687, allocations: 4 kB / 0.5779 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.687, allocations: 4.156 kB / 0.5779 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/0.6876, allocations: 55.89 kB / 0.578 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.6876, allocations: 3.953 kB / 0.578 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006643/0.6883, allocations: 39.81 kB / 0.578 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/0.6884, allocations: 8 kB / 0.578 GB, free: 0.6641 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002772/0.6887, allocations: 141.8 kB / 0.5782 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.6889, allocations: 15.81 kB / 0.5782 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.69, allocations: 237.9 kB / 0.5784 GB, free: 272 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.69, allocations: 7.984 kB / 0.5784 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.6901, allocations: 4.094 kB / 0.5784 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.6901, allocations: 7.891 kB / 0.5784 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008928/0.691, allocations: 241.6 kB / 0.5786 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-05/0.6911, allocations: 11.98 kB / 0.5787 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.6916, allocations: 40.59 kB / 0.5787 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/0.6916, allocations: 3.984 kB / 0.5787 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.6917, allocations: 4 kB / 0.5787 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/0.6917, allocations: 8 kB / 0.5787 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.6917, allocations: 4 kB / 0.5787 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.6935, allocations: 0.5273 MB / 0.5792 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.6937, allocations: 96.91 kB / 0.5793 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.027e-05/0.6938, allocations: 4 kB / 0.5793 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/0.6945, allocations: 27.94 kB / 0.5794 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.6946, allocations: 11.97 kB / 0.5794 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.6946, allocations: 4 kB / 0.5794 GB, free: 15.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004283/0.6951, allocations: 196.4 kB / 0.5796 GB, free: 14.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6951, allocations: 0 / 0.5796 GB, free: 14.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001022/0.6961, allocations: 71.94 kB / 0.5796 GB, free: 14.91 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002843/0.699, allocations: 1.265 MB / 0.5809 GB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.7008, allocations: 300.8 kB / 0.5811 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.7008, allocations: 4 kB / 0.5811 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008469/0.7017, allocations: 197.2 kB / 0.5813 GB, free: 13.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000818/0.7025, allocations: 36.86 kB / 0.5814 GB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006711/0.7093, allocations: 2.299 MB / 0.5836 GB, free: 10.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.7099, allocations: 0.7556 MB / 0.5844 GB, free: 9.891 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/0.7102, allocations: 55.41 kB / 0.5844 GB, free: 9.836 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7102, allocations: 3.938 kB / 0.5844 GB, free: 9.832 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.57/3.281, allocations: 4.465 MB / 0.5888 GB, free: 5.398 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.Plate.kc_laminar_res.mat does not exist to compare? outputFormat=mat