Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",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.001519/0.001524, allocations: 181.3 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.084/2.084, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001157/0.001156, allocations: 98.62 kB / 267.5 MB, free: 14.04 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.4327/0.4327, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.752e-05/3.784e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1231, allocations: 58.85 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4903/0.6134, allocations: 92.04 MB / 0.5628 GB, free: 11.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003716/0.6139, allocations: 107.3 kB / 0.5629 GB, free: 11.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04499/0.6589, allocations: 9.713 MB / 0.5724 GB, free: 3.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6589, allocations: 0 / 0.5724 GB, free: 3.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.659, allocations: 0 / 0.5724 GB, free: 3.07 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001096/0.6601, allocations: 0.5087 MB / 0.5729 GB, free: 2.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.6601, allocations: 12.03 kB / 0.5729 GB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.186e-05/0.6602, allocations: 53.47 kB / 0.5729 GB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.061e-05/0.6603, allocations: 28.02 kB / 0.573 GB, free: 2.441 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.6607, allocations: 218.4 kB / 0.5732 GB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.6607, allocations: 11.25 kB / 0.5732 GB, free: 2.188 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-05/0.6608, allocations: 19.55 kB / 0.5732 GB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005953/0.6614, allocations: 254.9 kB / 0.5734 GB, free: 1.957 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.6614, allocations: 3.938 kB / 0.5734 GB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.6615, allocations: 7.625 kB / 0.5735 GB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-05/0.6615, allocations: 8 kB / 0.5735 GB, free: 1.941 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004722/0.662, allocations: 170.6 kB / 0.5736 GB, free: 1.816 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.6637, allocations: 0.7772 MB / 0.5744 GB, free: 1.055 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006979/0.6644, allocations: 204.3 kB / 0.5746 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.6646, allocations: 69.98 kB / 0.5746 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.996e-05/0.6647, allocations: 7.953 kB / 0.5747 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.6647, allocations: 42.22 kB / 0.5747 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 3.647e-06/0.6648, allocations: 0 / 0.5747 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006769/0.6654, allocations: 177.5 kB / 0.5749 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/0.6655, allocations: 106.9 kB / 0.575 GB, free: 448 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004218/0.666, allocations: 244.5 kB / 0.5752 GB, free: 228 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.666, allocations: 29.7 kB / 0.5752 GB, free: 192 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.6662, allocations: 191.4 kB / 0.5754 GB, free: 24 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.84e-05/0.6663, allocations: 50 kB / 0.5755 GB, free: 15.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.6663, allocations: 4 kB / 0.5755 GB, free: 15.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6665, allocations: 318.5 kB / 0.5758 GB, free: 15.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.6667, allocations: 62.2 kB / 0.5758 GB, free: 15.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.6669, allocations: 98.42 kB / 0.5759 GB, free: 15.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.6672, allocations: 66 kB / 0.576 GB, free: 15.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6672, allocations: 0 / 0.576 GB, free: 15.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006037/0.6678, allocations: 206.1 kB / 0.5762 GB, free: 15.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.6678, allocations: 4 kB / 0.5762 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.587e-05/0.6679, allocations: 8 kB / 0.5762 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.6679, allocations: 4 kB / 0.5762 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/0.6684, allocations: 43.89 kB / 0.5762 GB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.6684, allocations: 160 / 0.5762 GB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.6688, allocations: 43.33 kB / 0.5763 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.6688, allocations: 11.98 kB / 0.5763 GB, free: 15.17 MB / 394.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: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * 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.669, allocations: 115.3 kB / 0.5764 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.6691, allocations: 23.67 kB / 0.5764 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006187/0.6697, allocations: 208.4 kB / 0.5766 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.6698, allocations: 3.984 kB / 0.5766 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.822e-06/0.6698, allocations: 0 / 0.5766 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.6698, allocations: 4 kB / 0.5766 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/0.6704, allocations: 258.7 kB / 0.5769 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.702e-05/0.6704, allocations: 11.98 kB / 0.5769 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.6708, allocations: 35.91 kB / 0.5769 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.6708, allocations: 4 kB / 0.5769 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.6709, allocations: 11.64 kB / 0.5769 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.6709, allocations: 11.92 kB / 0.5769 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6709, allocations: 0 / 0.5769 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006513/0.6716, allocations: 450.5 kB / 0.5774 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.6717, allocations: 100.8 kB / 0.5775 GB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.6718, allocations: 3.984 kB / 0.5775 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.6722, allocations: 23.3 kB / 0.5775 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.427e-05/0.6723, allocations: 15.92 kB / 0.5775 GB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/0.6723, allocations: 11.55 kB / 0.5775 GB, free: 13.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003009/0.6727, allocations: 195.3 kB / 0.5777 GB, free: 13.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6727, allocations: 4 kB / 0.5777 GB, free: 13.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006436/0.6733, allocations: 79.81 kB / 0.5778 GB, free: 13.65 MB / 394.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.001385/0.6747, allocations: 1.188 MB / 0.5789 GB, free: 12.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005941/0.6754, allocations: 226.5 kB / 0.5792 GB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.6754, allocations: 0 / 0.5792 GB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.6757, allocations: 158.1 kB / 0.5793 GB, free: 12.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.6763, allocations: 46.75 kB / 0.5794 GB, free: 12.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.6778, allocations: 428.1 kB / 0.5798 GB, free: 11.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.6783, allocations: 0.7665 MB / 0.5805 GB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.6785, allocations: 61.23 kB / 0.5806 GB, free: 10.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/0.6785, allocations: 0 / 0.5806 GB, free: 10.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.508/3.187, allocations: 4.864 MB / 0.5853 GB, free: 5.957 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat does not exist to compare? outputFormat=mat