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.002429/0.002429, allocations: 181.1 kB / 16.4 MB, free: 5.723 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.18/2.18, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001089/0.001089, allocations: 92.42 kB / 270.9 MB, free: 8.379 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.527/0.527, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005244/0.0005245, allocations: 19.98 kB / 431.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1318, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4778/0.6097, allocations: 92.52 MB / 0.5692 GB, free: 10.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003943/0.6101, allocations: 98.38 kB / 0.5693 GB, free: 9.914 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04523/0.6554, allocations: 9.114 MB / 0.5782 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6554, allocations: 3.938 kB / 0.5782 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.6555, allocations: 8 kB / 0.5782 GB, free: 0.7891 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.001348/0.6568, allocations: 0.5095 MB / 0.5787 GB, free: 236 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.6569, allocations: 12.56 kB / 0.5787 GB, free: 224 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.851e-05/0.657, allocations: 46.55 kB / 0.5788 GB, free: 168 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.802e-05/0.6571, allocations: 27.16 kB / 0.5788 GB, free: 144 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.6575, allocations: 222.7 kB / 0.579 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.6575, allocations: 4.234 kB / 0.579 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.6576, allocations: 12 kB / 0.579 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009116/0.6585, allocations: 274.6 kB / 0.5793 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.6585, allocations: 3.938 kB / 0.5793 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.6586, allocations: 11.98 kB / 0.5793 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.908e-05/0.6586, allocations: 13.2 kB / 0.5793 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.6597, allocations: 248.5 kB / 0.5795 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.6616, allocations: 0.8265 MB / 0.5803 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000719/0.6624, allocations: 207.6 kB / 0.5805 GB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.271e-05/0.6624, allocations: 8 kB / 0.5805 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.6625, allocations: 34.69 kB / 0.5806 GB, free: 14.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 2.966e-06/0.6625, allocations: 0 / 0.5806 GB, free: 14.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001782/0.6643, allocations: 361.2 kB / 0.5809 GB, free: 13.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/0.6644, allocations: 102.8 kB / 0.581 GB, free: 13.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.6649, allocations: 232.1 kB / 0.5812 GB, free: 13.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.6649, allocations: 29.7 kB / 0.5813 GB, free: 13.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.6651, allocations: 194.8 kB / 0.5815 GB, free: 13.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.723e-05/0.6652, allocations: 43.44 kB / 0.5815 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.6652, allocations: 0 / 0.5815 GB, free: 13.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.6653, allocations: 314.8 kB / 0.5818 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005193/0.6659, allocations: 107.9 kB / 0.5819 GB, free: 12.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005317/0.6664, allocations: 137 kB / 0.582 GB, free: 12.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005443/0.667, allocations: 123.8 kB / 0.5821 GB, free: 12.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.667, allocations: 0 / 0.5821 GB, free: 12.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001284/0.6683, allocations: 289.3 kB / 0.5824 GB, free: 12.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.6684, allocations: 8 kB / 0.5824 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/0.6684, allocations: 4 kB / 0.5824 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.6685, allocations: 4 kB / 0.5824 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.6689, allocations: 52.02 kB / 0.5825 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.669, allocations: 7.953 kB / 0.5825 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/0.6694, allocations: 47.75 kB / 0.5825 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.6695, allocations: 4 kB / 0.5825 GB, free: 12.05 MB / 410.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.000227/0.6697, allocations: 145.8 kB / 0.5827 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.6698, allocations: 15.81 kB / 0.5827 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008839/0.6707, allocations: 230.8 kB / 0.5829 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.6708, allocations: 4.078 kB / 0.5829 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.6708, allocations: 11.88 kB / 0.5829 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.6708, allocations: 11.89 kB / 0.5829 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000625/0.6715, allocations: 249.5 kB / 0.5832 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.249e-05/0.6715, allocations: 8 kB / 0.5832 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.6719, allocations: 31.97 kB / 0.5832 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.6719, allocations: 7.984 kB / 0.5832 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.672, allocations: 0 / 0.5832 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.672, allocations: 4 kB / 0.5832 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.672, allocations: 0 / 0.5832 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.6733, allocations: 0.5167 MB / 0.5837 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.6735, allocations: 104.8 kB / 0.5838 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/0.6735, allocations: 12 kB / 0.5838 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.674, allocations: 23.94 kB / 0.5839 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.506e-05/0.6741, allocations: 15.97 kB / 0.5839 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.6742, allocations: 8 kB / 0.5839 GB, free: 10.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003227/0.6745, allocations: 188.4 kB / 0.5841 GB, free: 10.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6745, allocations: 3.938 kB / 0.5841 GB, free: 10.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007279/0.6753, allocations: 99.86 kB / 0.5842 GB, free: 10.27 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.00225/0.6775, allocations: 1.32 MB / 0.5855 GB, free: 8.918 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.6788, allocations: 308.8 kB / 0.5858 GB, free: 8.598 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.6789, allocations: 4.312 kB / 0.5858 GB, free: 8.594 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005847/0.6795, allocations: 189 kB / 0.5859 GB, free: 8.391 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005768/0.68, allocations: 46.77 kB / 0.586 GB, free: 8.348 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00505/0.6851, allocations: 2.299 MB / 0.5882 GB, free: 5.969 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.6856, allocations: 0.7478 MB / 0.589 GB, free: 5.195 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.6859, allocations: 51.41 kB / 0.589 GB, free: 5.145 MB / 410.7 MB Notification: Performance of SimCode: time 1.402e-06/0.6859, allocations: 0 / 0.589 GB, free: 5.145 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.6/3.286, allocations: 4.944 MB / 0.5938 GB, free: 232 kB / 410.7 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