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.00144/0.001446, 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.053/2.053, 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.001104/0.001104, allocations: 84.08 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.2926/0.2926, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.411e-05/2.415e-05, allocations: 8.203 kB / 418.4 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4053, allocations: 58.85 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1737/0.5791, allocations: 91.39 MB / 0.5553 GB, free: 7.805 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003833/0.5796, allocations: 95.94 kB / 0.5554 GB, free: 7.711 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0456/0.6252, allocations: 9.627 MB / 0.5648 GB, free: 14.02 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6252, allocations: 0 / 0.5648 GB, free: 14.02 MB / 411.1 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.6253, allocations: 4 kB / 0.5648 GB, free: 14.02 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001144/0.6264, allocations: 0.5062 MB / 0.5653 GB, free: 13.47 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.6265, allocations: 11.97 kB / 0.5653 GB, free: 13.46 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.818e-05/0.6266, allocations: 28.02 kB / 0.5653 GB, free: 13.43 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.627, allocations: 222.7 kB / 0.5655 GB, free: 13.17 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.6271, allocations: 8 kB / 0.5655 GB, free: 13.16 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.6271, allocations: 8 kB / 0.5655 GB, free: 13.16 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004345/0.6276, allocations: 143.8 kB / 0.5657 GB, free: 13.02 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005286/0.6281, allocations: 224.7 kB / 0.5659 GB, free: 12.78 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.6281, allocations: 0 / 0.5659 GB, free: 12.78 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.6282, allocations: 0 / 0.5659 GB, free: 12.78 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.35e-05/0.6282, allocations: 12 kB / 0.5659 GB, free: 12.77 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.6299, allocations: 0.7116 MB / 0.5666 GB, free: 12.01 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/0.6306, allocations: 195.8 kB / 0.5668 GB, free: 11.79 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.6308, allocations: 70.56 kB / 0.5668 GB, free: 11.71 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.211e-05/0.6309, allocations: 7.953 kB / 0.5668 GB, free: 11.7 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.6309, allocations: 34.56 kB / 0.5669 GB, free: 11.66 MB / 411.1 MB Notification: Performance of pre-optimization done (n=14): time 3.216e-06/0.6309, allocations: 4 kB / 0.5669 GB, free: 11.66 MB / 411.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006095/0.6316, allocations: 165.4 kB / 0.567 GB, free: 11.49 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.6316, allocations: 102.8 kB / 0.5671 GB, free: 11.36 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.6319, allocations: 165.6 kB / 0.5673 GB, free: 11.2 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.6319, allocations: 25.7 kB / 0.5673 GB, free: 11.16 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.6321, allocations: 206.5 kB / 0.5675 GB, free: 10.96 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.721e-05/0.6322, allocations: 43.36 kB / 0.5675 GB, free: 10.91 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.6322, allocations: 8 kB / 0.5676 GB, free: 10.91 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6323, allocations: 318.8 kB / 0.5679 GB, free: 10.59 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.6325, allocations: 51.97 kB / 0.5679 GB, free: 10.54 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.6328, allocations: 93.11 kB / 0.568 GB, free: 10.43 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.633, allocations: 67.94 kB / 0.5681 GB, free: 10.36 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.633, allocations: 0 / 0.5681 GB, free: 10.36 MB / 411.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005464/0.6335, allocations: 189.2 kB / 0.5682 GB, free: 10.17 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.6336, allocations: 4 kB / 0.5682 GB, free: 10.16 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.282e-05/0.6337, allocations: 15.94 kB / 0.5683 GB, free: 10.15 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.6337, allocations: 4 kB / 0.5683 GB, free: 10.14 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.6341, allocations: 40.12 kB / 0.5683 GB, free: 10.11 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.6341, allocations: 3.938 kB / 0.5683 GB, free: 10.1 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.6345, allocations: 31.91 kB / 0.5683 GB, free: 10.07 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.6345, allocations: 4 kB / 0.5683 GB, free: 10.07 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: 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.0001299/0.6347, allocations: 109 kB / 0.5684 GB, free: 9.953 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000559/0.6352, allocations: 169.5 kB / 0.5686 GB, free: 9.781 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.807e-05/0.6353, allocations: 23.86 kB / 0.5686 GB, free: 9.758 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005541/0.6359, allocations: 191.1 kB / 0.5688 GB, free: 9.566 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.6359, allocations: 4 kB / 0.5688 GB, free: 9.562 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.6359, allocations: 0 / 0.5688 GB, free: 9.562 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.636, allocations: 0 / 0.5688 GB, free: 9.562 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005645/0.6365, allocations: 242 kB / 0.569 GB, free: 9.289 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.714e-05/0.6366, allocations: 8 kB / 0.5691 GB, free: 9.281 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.637, allocations: 36.03 kB / 0.5691 GB, free: 9.246 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.637, allocations: 4 kB / 0.5691 GB, free: 9.242 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.637, allocations: 7.938 kB / 0.5691 GB, free: 9.234 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/0.637, allocations: 4 kB / 0.5691 GB, free: 9.23 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.6371, allocations: 3.938 kB / 0.5691 GB, free: 9.227 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006364/0.6377, allocations: 433.2 kB / 0.5695 GB, free: 8.773 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.68e-05/0.6378, allocations: 92.91 kB / 0.5696 GB, free: 8.664 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.6379, allocations: 4 kB / 0.5696 GB, free: 8.66 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.6383, allocations: 23.98 kB / 0.5696 GB, free: 8.637 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/0.6384, allocations: 15.95 kB / 0.5697 GB, free: 8.621 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.6384, allocations: 8 kB / 0.5697 GB, free: 8.613 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.6386, allocations: 128.4 kB / 0.5698 GB, free: 8.488 MB / 411.1 MB Notification: Performance of sort global known variables: time 4e-07/0.6386, allocations: 0 / 0.5698 GB, free: 8.488 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0007472/0.6394, allocations: 87.78 kB / 0.5699 GB, free: 8.402 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.001393/0.6408, allocations: 1.179 MB / 0.571 GB, free: 7.188 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0005565/0.6414, allocations: 213.2 kB / 0.5712 GB, free: 6.961 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.6414, allocations: 4.062 kB / 0.5712 GB, free: 6.957 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.6417, allocations: 153 kB / 0.5714 GB, free: 6.789 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000527/0.6422, allocations: 24.03 kB / 0.5714 GB, free: 6.762 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.6438, allocations: 410 kB / 0.5718 GB, free: 6.312 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.6443, allocations: 0.7587 MB / 0.5725 GB, free: 5.527 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.6445, allocations: 63.41 kB / 0.5726 GB, free: 5.465 MB / 411.1 MB Notification: Performance of SimCode: time 1.302e-06/0.6445, allocations: 0 / 0.5726 GB, free: 5.465 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.462/3.107, allocations: 4.412 MB / 0.5769 GB, free: 1.062 MB / 411.1 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