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_turbulent.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_turbulent,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",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.002103/0.002103, allocations: 177.8 kB / 8.363 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.116/2.116, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001145/0.001145, allocations: 94.58 kB / 262.1 MB, free: 13.87 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.3017/0.3017, allocations: 43.5 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.1e-05/2.12e-05, allocations: 4 kB / 418.4 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4129, allocations: 58.84 MB / 477.2 MB, free: 5.188 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/0.5921, allocations: 90.1 MB / 0.554 GB, free: 9.117 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003882/0.5926, allocations: 99.41 kB / 0.5541 GB, free: 9.023 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03744/0.63, allocations: 7.566 MB / 0.5615 GB, free: 1.41 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6301, allocations: 0 / 0.5615 GB, free: 1.41 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.6301, allocations: 0 / 0.5615 GB, free: 1.41 MB / 395.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.001205/0.6313, allocations: 486.8 kB / 0.5619 GB, free: 0.8867 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.6314, allocations: 12.03 kB / 0.562 GB, free: 0.875 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.544e-05/0.6315, allocations: 19.72 kB / 0.562 GB, free: 0.8555 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.6319, allocations: 222.7 kB / 0.5622 GB, free: 0.5977 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.6319, allocations: 4 kB / 0.5622 GB, free: 0.5938 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.632, allocations: 12 kB / 0.5622 GB, free: 0.582 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004556/0.6325, allocations: 128.4 kB / 0.5623 GB, free: 464 kB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.633, allocations: 210.5 kB / 0.5625 GB, free: 236 kB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.633, allocations: 0 / 0.5625 GB, free: 236 kB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.6331, allocations: 0 / 0.5625 GB, free: 236 kB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.145e-05/0.6331, allocations: 20.09 kB / 0.5625 GB, free: 216 kB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.6349, allocations: 0.7752 MB / 0.5633 GB, free: 15.39 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.6354, allocations: 160.5 kB / 0.5635 GB, free: 15.2 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.6356, allocations: 70.53 kB / 0.5635 GB, free: 15.12 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.458e-05/0.6356, allocations: 8.109 kB / 0.5635 GB, free: 15.12 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.6357, allocations: 46.55 kB / 0.5636 GB, free: 15.06 MB / 411.1 MB Notification: Performance of pre-optimization done (n=11): time 3.266e-06/0.6357, allocations: 0 / 0.5636 GB, free: 15.06 MB / 411.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006628/0.6364, allocations: 157.3 kB / 0.5637 GB, free: 14.9 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.6365, allocations: 106.8 kB / 0.5638 GB, free: 14.77 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.6368, allocations: 174.6 kB / 0.564 GB, free: 14.59 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.6368, allocations: 29.7 kB / 0.564 GB, free: 14.55 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.637, allocations: 194.4 kB / 0.5642 GB, free: 14.36 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.637, allocations: 43.52 kB / 0.5642 GB, free: 14.32 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.6371, allocations: 0 / 0.5642 GB, free: 14.32 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6372, allocations: 322.8 kB / 0.5646 GB, free: 13.99 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.6374, allocations: 59.95 kB / 0.5646 GB, free: 13.93 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.6377, allocations: 101.1 kB / 0.5647 GB, free: 13.82 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.6379, allocations: 75.92 kB / 0.5648 GB, free: 13.74 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.6379, allocations: 0 / 0.5648 GB, free: 13.74 MB / 411.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006083/0.6386, allocations: 193.4 kB / 0.565 GB, free: 13.55 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.6386, allocations: 4 kB / 0.565 GB, free: 13.54 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-05/0.6387, allocations: 11.98 kB / 0.565 GB, free: 13.53 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.6387, allocations: 0 / 0.565 GB, free: 13.53 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.6392, allocations: 52.05 kB / 0.565 GB, free: 13.48 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.6392, allocations: 4.188 kB / 0.565 GB, free: 13.48 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.6396, allocations: 35.81 kB / 0.5651 GB, free: 13.44 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.6397, allocations: 11.89 kB / 0.5651 GB, free: 13.43 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.0001308/0.6398, allocations: 116.9 kB / 0.5652 GB, free: 13.31 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005591/0.6404, allocations: 161.3 kB / 0.5653 GB, free: 13.14 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.507e-05/0.6405, allocations: 15.8 kB / 0.5654 GB, free: 13.13 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005485/0.6411, allocations: 183.4 kB / 0.5655 GB, free: 12.95 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.6411, allocations: 4 kB / 0.5655 GB, free: 12.94 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.6411, allocations: 3.953 kB / 0.5655 GB, free: 12.94 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.6411, allocations: 7.984 kB / 0.5655 GB, free: 12.93 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005595/0.6417, allocations: 218.1 kB / 0.5658 GB, free: 12.68 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.438e-05/0.6417, allocations: 12.06 kB / 0.5658 GB, free: 12.67 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/0.6421, allocations: 39.95 kB / 0.5658 GB, free: 12.63 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.6422, allocations: 0 / 0.5658 GB, free: 12.63 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.6422, allocations: 4 kB / 0.5658 GB, free: 12.62 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.6422, allocations: 0 / 0.5658 GB, free: 12.62 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.6422, allocations: 7.938 kB / 0.5658 GB, free: 12.62 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006407/0.6429, allocations: 437.2 kB / 0.5662 GB, free: 12.16 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.793e-05/0.643, allocations: 92.86 kB / 0.5663 GB, free: 12.05 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.733e-05/0.6431, allocations: 4 kB / 0.5663 GB, free: 12.05 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.6435, allocations: 31.92 kB / 0.5664 GB, free: 12.02 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.394e-05/0.6436, allocations: 11.98 kB / 0.5664 GB, free: 12 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.6437, allocations: 7.984 kB / 0.5664 GB, free: 12 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001865/0.6439, allocations: 137.2 kB / 0.5665 GB, free: 11.86 MB / 411.1 MB Notification: Performance of sort global known variables: time 2.826e-06/0.6439, allocations: 0 / 0.5665 GB, free: 11.86 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0007172/0.6446, allocations: 79.78 kB / 0.5666 GB, free: 11.79 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.001388/0.646, allocations: 1.167 MB / 0.5677 GB, free: 10.58 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0005881/0.6466, allocations: 220.9 kB / 0.5679 GB, free: 10.35 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.6467, allocations: 4.312 kB / 0.5679 GB, free: 10.34 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.647, allocations: 149 kB / 0.5681 GB, free: 10.18 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.6475, allocations: 24.03 kB / 0.5681 GB, free: 10.15 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.6492, allocations: 402 kB / 0.5685 GB, free: 9.715 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.6497, allocations: 0.7508 MB / 0.5692 GB, free: 8.938 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.6499, allocations: 55.41 kB / 0.5693 GB, free: 8.883 MB / 411.1 MB Notification: Performance of SimCode: time 1.062e-06/0.65, allocations: 0 / 0.5693 GB, free: 8.883 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.615/3.265, allocations: 4.066 MB / 0.5732 GB, free: 4.824 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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_turbulent_res.mat does not exist to compare? outputFormat=mat