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_overall.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_overall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",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.001426/0.001425, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001821/0.001822, allocations: 93.62 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.345/0.345, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.843e-05/2.854e-05, allocations: 4.219 kB / 418.4 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.439, allocations: 58.85 MB / 477.2 MB, free: 5.285 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1934/0.6325, allocations: 91.77 MB / 0.5556 GB, free: 7.504 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/0.6329, allocations: 99.92 kB / 0.5557 GB, free: 7.406 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04484/0.6778, allocations: 9.034 MB / 0.5645 GB, free: 14.33 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.6778, allocations: 0 / 0.5645 GB, free: 14.33 MB / 411.1 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.6779, allocations: 4 kB / 0.5646 GB, free: 14.32 MB / 411.1 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.001152/0.679, allocations: 0.491 MB / 0.565 GB, free: 13.79 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.6791, allocations: 11.97 kB / 0.565 GB, free: 13.77 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.119e-05/0.6792, allocations: 19.72 kB / 0.5651 GB, free: 13.75 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.6795, allocations: 222.7 kB / 0.5653 GB, free: 13.5 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.6796, allocations: 4 kB / 0.5653 GB, free: 13.49 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.6796, allocations: 8 kB / 0.5653 GB, free: 13.48 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003968/0.68, allocations: 128.4 kB / 0.5654 GB, free: 13.36 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.6806, allocations: 218.5 kB / 0.5656 GB, free: 13.12 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.6806, allocations: 0 / 0.5656 GB, free: 13.12 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.6806, allocations: 0 / 0.5656 GB, free: 13.12 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.644e-05/0.6807, allocations: 16.22 kB / 0.5656 GB, free: 13.11 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.6823, allocations: 0.7673 MB / 0.5664 GB, free: 12.29 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.6827, allocations: 163.7 kB / 0.5665 GB, free: 12.11 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.6829, allocations: 70.53 kB / 0.5666 GB, free: 12.03 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.51e-05/0.6829, allocations: 4 kB / 0.5666 GB, free: 12.02 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.683, allocations: 34.56 kB / 0.5666 GB, free: 11.98 MB / 411.1 MB Notification: Performance of pre-optimization done (n=11): time 3.466e-06/0.683, allocations: 0 / 0.5666 GB, free: 11.98 MB / 411.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005928/0.6836, allocations: 161.5 kB / 0.5668 GB, free: 11.82 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.6837, allocations: 110.9 kB / 0.5669 GB, free: 11.68 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.6839, allocations: 182.5 kB / 0.5671 GB, free: 11.49 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.684, allocations: 25.7 kB / 0.5671 GB, free: 11.46 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.6841, allocations: 198.4 kB / 0.5673 GB, free: 11.26 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.6842, allocations: 35.45 kB / 0.5673 GB, free: 11.23 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.6842, allocations: 0 / 0.5673 GB, free: 11.23 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.6844, allocations: 322.8 kB / 0.5676 GB, free: 10.9 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.6846, allocations: 59.95 kB / 0.5677 GB, free: 10.84 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.6848, allocations: 104.9 kB / 0.5678 GB, free: 10.73 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.6851, allocations: 75.86 kB / 0.5679 GB, free: 10.65 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6851, allocations: 0 / 0.5679 GB, free: 10.65 MB / 411.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005967/0.6857, allocations: 189.4 kB / 0.568 GB, free: 10.46 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.6857, allocations: 11.98 kB / 0.5681 GB, free: 10.45 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-05/0.6858, allocations: 8 kB / 0.5681 GB, free: 10.44 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.6858, allocations: 4 kB / 0.5681 GB, free: 10.44 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.6863, allocations: 43.95 kB / 0.5681 GB, free: 10.39 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.6863, allocations: 4.094 kB / 0.5681 GB, free: 10.39 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.6867, allocations: 39.81 kB / 0.5681 GB, free: 10.35 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.6868, allocations: 11.95 kB / 0.5682 GB, free: 10.34 MB / 411.1 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 () * 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.0001157/0.6869, allocations: 104.9 kB / 0.5683 GB, free: 10.23 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005105/0.6874, allocations: 169.3 kB / 0.5684 GB, free: 10.06 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.555e-05/0.6875, allocations: 19.88 kB / 0.5684 GB, free: 10.04 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005429/0.6881, allocations: 183.4 kB / 0.5686 GB, free: 9.855 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.6881, allocations: 4 kB / 0.5686 GB, free: 9.852 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.6881, allocations: 7.953 kB / 0.5686 GB, free: 9.844 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.6881, allocations: 3.984 kB / 0.5686 GB, free: 9.84 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005343/0.6887, allocations: 226.1 kB / 0.5688 GB, free: 9.582 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.832e-05/0.6887, allocations: 4 kB / 0.5689 GB, free: 9.578 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.6891, allocations: 43.89 kB / 0.5689 GB, free: 9.535 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.6891, allocations: 4 kB / 0.5689 GB, free: 9.531 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.6892, allocations: 8 kB / 0.5689 GB, free: 9.523 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.6892, allocations: 0 / 0.5689 GB, free: 9.523 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6892, allocations: 0 / 0.5689 GB, free: 9.523 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000602/0.6898, allocations: 441.1 kB / 0.5693 GB, free: 9.062 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.825e-05/0.6899, allocations: 96.86 kB / 0.5694 GB, free: 8.949 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.69, allocations: 0 / 0.5694 GB, free: 8.949 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004411/0.6904, allocations: 27.92 kB / 0.5694 GB, free: 8.922 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/0.6905, allocations: 19.92 kB / 0.5695 GB, free: 8.902 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.6906, allocations: 7.984 kB / 0.5695 GB, free: 8.895 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001775/0.6908, allocations: 137.2 kB / 0.5696 GB, free: 8.762 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6908, allocations: 0 / 0.5696 GB, free: 8.762 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0007135/0.6915, allocations: 103.8 kB / 0.5697 GB, free: 8.66 MB / 411.1 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 (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.001423/0.6929, allocations: 1.217 MB / 0.5709 GB, free: 7.406 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0005876/0.6935, allocations: 224.9 kB / 0.5711 GB, free: 7.168 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6935, allocations: 320 / 0.5711 GB, free: 7.168 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.6938, allocations: 153 kB / 0.5712 GB, free: 7 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.6943, allocations: 32.02 kB / 0.5713 GB, free: 6.965 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.696, allocations: 401.9 kB / 0.5717 GB, free: 6.527 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.6964, allocations: 0.751 MB / 0.5724 GB, free: 5.75 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.6966, allocations: 55.34 kB / 0.5724 GB, free: 5.695 MB / 411.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6966, allocations: 0 / 0.5724 GB, free: 5.695 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.601/3.298, allocations: 4.526 MB / 0.5769 GB, free: 1.172 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.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_overall_res.mat does not exist to compare? outputFormat=mat