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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",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.002406/0.002405, allocations: 182.4 kB / 13.66 MB, free: 1.664 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.186/2.186, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001095/0.001094, allocations: 74.78 kB / 267.5 MB, free: 14.05 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.2864/0.2864, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.209e-05/4.215e-05, allocations: 4 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.125, allocations: 58.85 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5243/0.6494, allocations: 88.73 MB / 0.5596 GB, free: 14.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003596/0.6498, allocations: 93.19 kB / 0.5596 GB, free: 14.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02451/0.6743, allocations: 4.947 MB / 0.5645 GB, free: 10.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6744, allocations: 0 / 0.5645 GB, free: 10.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.6744, allocations: 0 / 0.5645 GB, free: 10.45 MB / 378.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.0008085/0.6752, allocations: 428.2 kB / 0.5649 GB, free: 10 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.6753, allocations: 8.031 kB / 0.5649 GB, free: 9.992 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.773e-05/0.6754, allocations: 52.97 kB / 0.5649 GB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009473/0.6764, allocations: 74.05 kB / 0.565 GB, free: 9.871 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.6768, allocations: 221.2 kB / 0.5652 GB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.6768, allocations: 7.688 kB / 0.5652 GB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.705e-05/0.6768, allocations: 15.25 kB / 0.5652 GB, free: 9.605 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.6775, allocations: 237.5 kB / 0.5655 GB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.6775, allocations: 0 / 0.5655 GB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.6775, allocations: 7.188 kB / 0.5655 GB, free: 9.395 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/0.6776, allocations: 11.98 kB / 0.5655 GB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000683/0.6783, allocations: 220.3 kB / 0.5657 GB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.6803, allocations: 0.6702 MB / 0.5664 GB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005969/0.6809, allocations: 204.2 kB / 0.5666 GB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.6812, allocations: 82.22 kB / 0.5666 GB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/0.6812, allocations: 4 kB / 0.5666 GB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.6813, allocations: 30.56 kB / 0.5667 GB, free: 8.238 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 3.136e-06/0.6813, allocations: 0 / 0.5667 GB, free: 8.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006454/0.6819, allocations: 185.5 kB / 0.5668 GB, free: 8.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.682, allocations: 55.41 kB / 0.5669 GB, free: 8.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.6823, allocations: 203.1 kB / 0.5671 GB, free: 7.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.6824, allocations: 28.52 kB / 0.5671 GB, free: 7.793 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.6825, allocations: 178.9 kB / 0.5673 GB, free: 7.629 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.6826, allocations: 49.94 kB / 0.5673 GB, free: 7.586 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/0.6826, allocations: 0 / 0.5673 GB, free: 7.586 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.6828, allocations: 322.7 kB / 0.5676 GB, free: 7.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.683, allocations: 67.44 kB / 0.5677 GB, free: 7.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.6833, allocations: 108 kB / 0.5678 GB, free: 7.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.6835, allocations: 91.72 kB / 0.5679 GB, free: 7.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6836, allocations: 0 / 0.5679 GB, free: 7.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006355/0.6842, allocations: 216.1 kB / 0.5681 GB, free: 6.824 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.6842, allocations: 4 kB / 0.5681 GB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.6843, allocations: 0 / 0.5681 GB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.6843, allocations: 4 kB / 0.5681 GB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005109/0.6894, allocations: 259.3 kB / 0.5684 GB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/0.702, allocations: 8.375 MB / 0.5765 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004617/0.7025, allocations: 35.45 kB / 0.5766 GB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.7026, allocations: 7.984 kB / 0.5766 GB, free: 13.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.7027, allocations: 115.3 kB / 0.5767 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.7028, allocations: 19.75 kB / 0.5767 GB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000666/0.7035, allocations: 217.6 kB / 0.5769 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.7035, allocations: 8 kB / 0.5769 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.7035, allocations: 0 / 0.5769 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.7035, allocations: 0 / 0.5769 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.704, allocations: 238.5 kB / 0.5771 GB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.704, allocations: 0 / 0.5771 GB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003577/0.7076, allocations: 211 kB / 0.5773 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/0.7076, allocations: 0 / 0.5773 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.7077, allocations: 4.109 kB / 0.5774 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00999/0.7177, allocations: 8.053 MB / 0.5852 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7178, allocations: 0 / 0.5852 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.7183, allocations: 261.7 kB / 0.5855 GB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.7185, allocations: 96.91 kB / 0.5856 GB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.7185, allocations: 3.438 kB / 0.5856 GB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.7189, allocations: 11.98 kB / 0.5856 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.719, allocations: 19.28 kB / 0.5856 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.7191, allocations: 11.92 kB / 0.5856 GB, free: 3.613 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002895/0.7194, allocations: 181.2 kB / 0.5858 GB, free: 3.461 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7194, allocations: 4 kB / 0.5858 GB, free: 3.457 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006363/0.72, allocations: 61.94 kB / 0.5858 GB, free: 3.402 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009965/0.721, allocations: 0.8107 MB / 0.5866 GB, free: 2.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004981/0.726, allocations: 320.4 kB / 0.5869 GB, free: 2.297 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.7261, allocations: 4 kB / 0.5869 GB, free: 2.293 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003287/0.7294, allocations: 215.8 kB / 0.5871 GB, free: 2.094 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.7299, allocations: 34.67 kB / 0.5872 GB, free: 2.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.7329, allocations: 438.2 kB / 0.5876 GB, free: 1.629 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.7333, allocations: 0.7464 MB / 0.5883 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.7335, allocations: 45.3 kB / 0.5884 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of SimCode: time 1.312e-06/0.7335, allocations: 0 / 0.5884 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.98/3.714, allocations: 7.119 MB / 0.5953 GB, free: 9.734 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.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_KC_res.mat does not exist to compare? outputFormat=mat