Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",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.002138/0.002137, 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.184/2.184, 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.001108/0.001108, allocations: 94.39 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.2995/0.2995, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.71e-05/2.709e-05, allocations: 224 / 418.3 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4184, allocations: 58.86 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1758/0.5943, allocations: 93.31 MB / 0.5571 GB, free: 5.871 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004044/0.5947, allocations: 95.92 kB / 0.5572 GB, free: 5.777 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06043/0.6552, allocations: 13.55 MB / 0.5705 GB, free: 8.09 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.594e-06/0.6552, allocations: 0 / 0.5705 GB, free: 8.09 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.6553, allocations: 4 kB / 0.5705 GB, free: 8.086 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001388/0.6567, allocations: 0.6275 MB / 0.5711 GB, free: 7.414 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.6567, allocations: 8.031 kB / 0.5711 GB, free: 7.406 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.6569, allocations: 47.47 kB / 0.5711 GB, free: 7.359 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.6574, allocations: 275.4 kB / 0.5714 GB, free: 7.047 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.6574, allocations: 15.98 kB / 0.5714 GB, free: 7.031 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.341e-05/0.6575, allocations: 27.98 kB / 0.5714 GB, free: 7.004 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008435/0.6584, allocations: 317.9 kB / 0.5718 GB, free: 6.695 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.6595, allocations: 485.7 kB / 0.5722 GB, free: 6.207 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.6596, allocations: 0 / 0.5722 GB, free: 6.207 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/0.6596, allocations: 0 / 0.5722 GB, free: 6.207 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-05/0.6597, allocations: 20.73 kB / 0.5722 GB, free: 6.188 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/0.6624, allocations: 1.155 MB / 0.5734 GB, free: 4.984 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006209/0.663, allocations: 255.7 kB / 0.5736 GB, free: 4.707 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.6633, allocations: 122.4 kB / 0.5737 GB, free: 4.578 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.304e-05/0.6634, allocations: 23.95 kB / 0.5737 GB, free: 4.555 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.6635, allocations: 42.56 kB / 0.5738 GB, free: 4.504 MB / 411.1 MB Notification: Performance of pre-optimization done (n=17): time 2.365e-06/0.6635, allocations: 0 / 0.5738 GB, free: 4.504 MB / 411.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009142/0.6644, allocations: 285.2 kB / 0.5741 GB, free: 4.219 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.6645, allocations: 102.8 kB / 0.5742 GB, free: 4.094 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.6648, allocations: 208.5 kB / 0.5744 GB, free: 3.875 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.6648, allocations: 25.7 kB / 0.5744 GB, free: 3.844 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.665, allocations: 286.3 kB / 0.5747 GB, free: 3.562 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.769e-05/0.6651, allocations: 51.2 kB / 0.5747 GB, free: 3.512 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.6652, allocations: 4 kB / 0.5747 GB, free: 3.508 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6653, allocations: 318.8 kB / 0.575 GB, free: 3.188 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.6657, allocations: 108.1 kB / 0.5751 GB, free: 3.078 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/0.6661, allocations: 190.7 kB / 0.5753 GB, free: 2.855 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.6665, allocations: 143.8 kB / 0.5754 GB, free: 2.715 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.6665, allocations: 0 / 0.5754 GB, free: 2.715 MB / 411.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009326/0.6674, allocations: 329.5 kB / 0.5757 GB, free: 2.387 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.6675, allocations: 8.031 kB / 0.5758 GB, free: 2.379 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/0.6676, allocations: 31.97 kB / 0.5758 GB, free: 2.348 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.6676, allocations: 4 kB / 0.5758 GB, free: 2.344 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/0.668, allocations: 43.84 kB / 0.5758 GB, free: 2.301 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.668, allocations: 4 kB / 0.5758 GB, free: 2.297 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.6684, allocations: 39.81 kB / 0.5759 GB, free: 2.258 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/0.6684, allocations: 19.95 kB / 0.5759 GB, free: 2.238 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001533/0.6686, allocations: 116.9 kB / 0.576 GB, free: 2.117 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008306/0.6695, allocations: 285.1 kB / 0.5763 GB, free: 1.832 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.6696, allocations: 15.81 kB / 0.5763 GB, free: 1.816 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.6707, allocations: 386.8 kB / 0.5767 GB, free: 1.438 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.6708, allocations: 4 kB / 0.5767 GB, free: 1.434 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.6708, allocations: 3.953 kB / 0.5767 GB, free: 1.43 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.6708, allocations: 3.984 kB / 0.5767 GB, free: 1.426 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007871/0.6716, allocations: 337.9 kB / 0.577 GB, free: 1.059 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001058/0.6717, allocations: 31.97 kB / 0.577 GB, free: 1.027 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.672, allocations: 31.91 kB / 0.5771 GB, free: 0.9961 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.672, allocations: 0 / 0.5771 GB, free: 0.9961 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/0.6721, allocations: 15.98 kB / 0.5771 GB, free: 0.9805 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.6721, allocations: 0 / 0.5771 GB, free: 0.9805 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.6721, allocations: 4 kB / 0.5771 GB, free: 0.9766 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009299/0.673, allocations: 0.5404 MB / 0.5776 GB, free: 416 kB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.551e-05/0.6732, allocations: 112.7 kB / 0.5777 GB, free: 284 kB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.6732, allocations: 0 / 0.5777 GB, free: 284 kB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/0.6737, allocations: 23.94 kB / 0.5777 GB, free: 260 kB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.6738, allocations: 27.91 kB / 0.5778 GB, free: 232 kB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.313e-05/0.6738, allocations: 8 kB / 0.5778 GB, free: 224 kB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002218/0.6741, allocations: 160.5 kB / 0.5779 GB, free: 68 kB / 411.1 MB Notification: Performance of sort global known variables: time 4e-07/0.6741, allocations: 7.938 kB / 0.5779 GB, free: 60 kB / 411.1 MB Notification: Performance of remove unused functions: time 0.0009697/0.6751, allocations: 139.5 kB / 0.5781 GB, free: 15.92 MB / 427.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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001777/0.6769, allocations: 1.334 MB / 0.5794 GB, free: 14.55 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0009573/0.6778, allocations: 495 kB / 0.5798 GB, free: 14.02 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6779, allocations: 0 / 0.5798 GB, free: 14.02 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005489/0.6784, allocations: 371.9 kB / 0.5802 GB, free: 13.6 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.6789, allocations: 27.59 kB / 0.5802 GB, free: 13.57 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.6812, allocations: 0.6703 MB / 0.5809 GB, free: 12.86 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006293/0.6818, allocations: 0.8489 MB / 0.5817 GB, free: 11.98 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.6821, allocations: 113.6 kB / 0.5818 GB, free: 11.87 MB / 427.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6821, allocations: 0 / 0.5818 GB, free: 11.87 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.576/3.258, allocations: 7.801 MB / 0.5894 GB, free: 4.07 MB / 427.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat does not exist to compare? outputFormat=mat