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.00154/0.00154, 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.01/2.01, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001076/0.001075, allocations: 86.66 kB / 267.5 MB, free: 14.11 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.2857/0.2857, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.984e-05/4.997e-05, allocations: 4 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1349, allocations: 58.85 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5114/0.6464, allocations: 90.64 MB / 0.5614 GB, free: 12.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003758/0.6468, allocations: 93.19 kB / 0.5615 GB, free: 12.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03107/0.6779, allocations: 6.289 MB / 0.5677 GB, free: 7.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.678, allocations: 0 / 0.5677 GB, free: 7.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.678, allocations: 4 kB / 0.5677 GB, free: 7.352 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.00118/0.6792, allocations: 485.3 kB / 0.5681 GB, free: 6.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.6793, allocations: 8.031 kB / 0.5681 GB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.351e-05/0.6794, allocations: 49.42 kB / 0.5682 GB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/0.6795, allocations: 19.72 kB / 0.5682 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.6799, allocations: 222.5 kB / 0.5684 GB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.6799, allocations: 7.297 kB / 0.5684 GB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.68, allocations: 11.12 kB / 0.5684 GB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005965/0.6806, allocations: 239.9 kB / 0.5687 GB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.6806, allocations: 0 / 0.5687 GB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.6806, allocations: 11.62 kB / 0.5687 GB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-05/0.6807, allocations: 8.234 kB / 0.5687 GB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005057/0.6812, allocations: 170.8 kB / 0.5688 GB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.6831, allocations: 0.8254 MB / 0.5696 GB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.6835, allocations: 158.3 kB / 0.5698 GB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.6837, allocations: 73.59 kB / 0.5699 GB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.519e-05/0.6838, allocations: 7.984 kB / 0.5699 GB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.6839, allocations: 38.31 kB / 0.5699 GB, free: 5.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 3.417e-06/0.6839, allocations: 0 / 0.5699 GB, free: 5.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006682/0.6845, allocations: 175.8 kB / 0.5701 GB, free: 4.855 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.6846, allocations: 110.9 kB / 0.5702 GB, free: 4.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/0.685, allocations: 229.8 kB / 0.5704 GB, free: 4.523 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.6851, allocations: 29.39 kB / 0.5704 GB, free: 4.492 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.6852, allocations: 196.2 kB / 0.5706 GB, free: 4.316 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.6853, allocations: 35.02 kB / 0.5707 GB, free: 4.285 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.6853, allocations: 3.75 kB / 0.5707 GB, free: 4.285 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.6855, allocations: 314.3 kB / 0.571 GB, free: 3.973 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.6857, allocations: 67.31 kB / 0.571 GB, free: 3.914 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.686, allocations: 112.5 kB / 0.5711 GB, free: 3.801 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.6863, allocations: 67.12 kB / 0.5712 GB, free: 3.742 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6863, allocations: 0 / 0.5712 GB, free: 3.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006397/0.6869, allocations: 215.1 kB / 0.5714 GB, free: 3.547 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.687, allocations: 8 kB / 0.5714 GB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.002e-05/0.687, allocations: 11.67 kB / 0.5714 GB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.6871, allocations: 4 kB / 0.5714 GB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/0.6876, allocations: 43.95 kB / 0.5715 GB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.6876, allocations: 12.89 kB / 0.5715 GB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004188/0.688, allocations: 39.72 kB / 0.5715 GB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.6881, allocations: 11.55 kB / 0.5715 GB, free: 3.426 MB / 378.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 () * 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.000122/0.6882, allocations: 115.2 kB / 0.5716 GB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.6883, allocations: 15.81 kB / 0.5716 GB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000612/0.689, allocations: 207.7 kB / 0.5718 GB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.689, allocations: 4 kB / 0.5718 GB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.689, allocations: 0 / 0.5718 GB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.689, allocations: 3.953 kB / 0.5719 GB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005864/0.6896, allocations: 262.6 kB / 0.5721 GB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.833e-05/0.6897, allocations: 4 kB / 0.5721 GB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/0.6901, allocations: 39.95 kB / 0.5721 GB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.984e-06/0.6901, allocations: 0 / 0.5721 GB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.6901, allocations: 8 kB / 0.5722 GB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.6902, allocations: 0 / 0.5722 GB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.6902, allocations: 3.938 kB / 0.5722 GB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006933/0.6909, allocations: 450 kB / 0.5726 GB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.691, allocations: 100.8 kB / 0.5727 GB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.6911, allocations: 3.984 kB / 0.5727 GB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/0.6916, allocations: 27.31 kB / 0.5727 GB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.94e-05/0.6917, allocations: 15.97 kB / 0.5727 GB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.6917, allocations: 7.125 kB / 0.5727 GB, free: 2.164 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003031/0.692, allocations: 187.7 kB / 0.5729 GB, free: 2.004 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.692, allocations: 4 kB / 0.5729 GB, free: 2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006211/0.6927, allocations: 78.31 kB / 0.573 GB, free: 1.93 MB / 378.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 () * 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.001426/0.6941, allocations: 1.185 MB / 0.5741 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006458/0.6948, allocations: 225.4 kB / 0.5744 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6948, allocations: 0 / 0.5744 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.6951, allocations: 157.5 kB / 0.5745 GB, free: 360 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/0.6957, allocations: 36.61 kB / 0.5745 GB, free: 336 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.6975, allocations: 415.5 kB / 0.5749 GB, free: 15.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.6979, allocations: 0.7472 MB / 0.5757 GB, free: 15.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.6982, allocations: 57.28 kB / 0.5757 GB, free: 15.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6982, allocations: 0 / 0.5757 GB, free: 15.1 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.595/3.293, allocations: 4.406 MB / 0.58 GB, free: 10.72 MB / 394.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